Storing text files values into a vector, and then do the sum.
Hello. I have to store the text file values into a vector and do the sum, here the text file sample:
Title: Projeto
Company: UMA
Teacher: Joaquim
Duration: 5 months
Keywords: #best_project_ever
Expenses:
Equipment:$300
Food: $50
Consumable expenses: $100
Consulting expenses: $40
Travel: $150
Extras: $500
So I have to store those expenses into a vector and then do the sum of those. I also would like for each title ( one text file can have multiple records) for you to store them into structures so I can know what sums belong to each company.
I need this in 3 max 4 hours...
11 years ago
15
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- task.rar
other Questions(10)
- Langdon Company produced 10,000 units during the past year, but only 9,000 of the units were sold. The following additional information is also available. Direct...
- read carefully
- CIS 515 Technical paper Database Administrator for Department Store
- BUS226
- Your response should be four (4) double-spaced pages; refer to the "Assignment Format" page located on the Course Home page for specific format requirements.
- Planning Proposal
- fix my essay
- Refinishing an Old Armoire
- Journal 1
- FINANCE 401 LASA # 2—Capital Budgeting Techniques