Write several functions to input the faculty information

Assignment Help Software Engineering
Reference no: EM13334070

1. Introduction

This lab is about file processing, vector, and string.

You need to develop software to automatically generate the personal webpage for every faculty member in a University. All personal webpage should follow the exact format as exampleOutput.htm that is included in this lab. The html file can also be treated as regular text file, you can open it by using the wordpad or Notepad. The personal webpage always use the same "tag" for every part of the page. Like <HTML>, <li> </li>, etc.

2. Your task

You should write several functions to input the faculty information from console input. Then save all those information in string, and vectors. Then generate the webpage like writing the data into a file. So, you need to follow the "Tag" format of the htm file to output the tag information together with the user input information you have.

3. You need to finish following 4 functions

void inputData(string &name, vector<string> &general,

vector<string> &specific, vector<grant> &grants);

void loadgrant(grant &input);

string IntToDollar(int num);

void generateWebpage(string filename, string name,

vector<string> general, vector<string> specific,

vector<grant> grants);

Please read the instructions on main.cpp for each function.

Reference no: EM13334070

Questions Cloud

Estimate the pressure increase required to impart : Estimate the pressure increase required to impart
Communication champion foster strategic conversations : How does leadership communication differ from conventional management communication and how does an effective communication champion foster strategic conversations?
Determine the specific heat capacity of an unknown sample of : Determine the specific heat capacity of an unknown sample of metal.
Estimate the capacitance of the cell : A model of a red blood cell portrays the cell as a spherical capacitor, a positively charged liquid sphere of surface area A separated from the surrounding negatively charged fluid by a membrane of thickness t, Estimate the capacitance of the cell ..
Write several functions to input the faculty information : You should write several functions to input the faculty information from console input. Then save all those information in string, and vectors.
Hangs from the ceiling of a car : A fuzzy die (m = 0.2 kg) hangs from the ceiling of a car
Explain the reaction in an acidic solution : Write a balanced chemical equation for the following reaction in an acidic solution. Cr2O72-(aq)+Br-(aq)>>Cr3+(aq)+Br2(aq)
Compute the normal force acting on block : A 1000N force inclined at 40 degrees with the horizontal is applied to move a block mass 150kg. compute the normal force acting on block
Find out the number of carbon atoms : Assuming the peaks are caused by 12C and 13C isotopes, determine the number of carbon atoms in the compound. Natural abundances: 12C is 98.93% and 13C is 1.07%

Reviews

Write a Review

Software Engineering Questions & Answers

  Compute the crc code word for the information word

Using CRC polynomial 1101 compute the CRC code word for the information word 01001101. Check the Division performed at the receiver.

  Identify the principal for viewpoint hierarchy diagram

Identify the principal viewpoints which might be taken into account in the specification of this system and organize these using a viewpoint hierarchy diagram.

  Create crow-s foot erd for business rules for company

Create Crow's Foot ERD to include the following business rules for the ProdCo company: Each sales representative writes many invoices

  Identifying the tokens

Suppose that we are looking in a programming language that allows underscore in variable names. When a scanner sees a character string such as AB_CD.

  Draw an e-r diagram for hospital staff

Draw an E-R diagram for the following situations. From discussions with hospital staff, reviewing hospital documents and studying existing information systems, the study team developed a list of business rules.

  How artificial intelligence traits incorporated into system

Explain how an expert system is created from utilising the knowledge base and including AI traits.

  Build an entity relationship model for the above scenario

Build an entity relationship model for the above scenario.  Show all attributes and indicate all of your key attributes in red.

  Write business rules that are reflected in erd

Write the business rules that are reflected in the ERD.(Note that the ERD reflects some simplifying assumptions. For example,each book is written by only one author.

  Qiestion about update statement

A table namedPoints varchar(81) has values stored in a column named Point. There are 2-columns in the Points table, X and Y.

  Identify the major design forces affecting the system

Develop a high level component view of your architecture and demonstrate how it will support the CCRD use case with a ‘use case trace'. Show how your architecture will map to the physical deployment environment with a deployment diagram.

  Design a solution algorithm to read the electricity usage

An electricity supply authority records on an electricity usage document the value of electricity that each consumer uses.

  Use steganography to effectively hide one file

Steganography Lab. Create a file on your desktop using Notepad that will be hidden in the image.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd