Write a very simple/short C++ app

Completed Posted May 19, 2014 Paid on delivery
Completed Paid on delivery

Read in the below file [login to view URL] into a struct called myStruct. Please note the number of rows in this csv file is forever changing but the number of columns is fixed.

myStruct should contain:

int id

string product

string route

int dateFrom

int dateTo

int dateStamp

string username

Once the struct is built a map should be created called myMap. myMap should be the pairing of <id, myStruct> where id is each unique combination of id AND product (in [login to view URL]) and myStruct is the the line in the csv with the latest 'dateStamp' field.

Please provide a method to print all of myMap and myMap(id)

This should be written in C++ for Linux with well commented code.

---myInput.csv---

100,PRODUCTA,ROUTEX,20140519,20140521,20140517,USER

101,PRODUCTB,ROUTEY,20140520,20140521,20140519,USER

123,PRODUCTA,ROUTEX,20140525,20140526,20140519,USER

112,PRODUCTA,ROUTEX,20140519,20140521,20140519,USER

100,PRODUCTA,ROUTEX,20140522,20140524,20140519,USER

100,PRODUCTB,ROUTEX,20140522,20140526,20140518,USER

C++ Programming Linux

Project ID: #5962847

About the project

8 proposals Remote project Active May 19, 2014

Awarded to:

vietcompro

Hi there, I've already read and understood the project description and I'm sure I can complete this one for you. So really hope to have chance to work with you, thanks for your consideration! Regards.

$20 USD in 0 days
(64 Reviews)
5.1

8 freelancers are bidding on average $23 for this job

dobreiiita

Hi, I am C++ expert and can surely help you here with this project. I have a lot of experience in helping students with their assignments and tutoring. Please communicate to discuss further. Thank you. Regards Anshu

$24 USD in 1 day
(173 Reviews)
6.5
TarasKuzyo

Hi! I am well experienced in C++ programming. I can deliver you 100% correct results in fast time.

$30 USD in 1 day
(37 Reviews)
5.1
guvi2105

Hi, I will provide fully documented code with build/run instructions if needed. Question: The map can be used from STL (std::map) or do I have t write my own map? I'm looking forward to working with you!

$15 USD in 1 day
(7 Reviews)
3.4
dpappu131

A proposal has not yet been provided

$30 USD in 1 day
(8 Reviews)
3.3
uditiiita

I have a lot of experience in C++ programming. I have ben coding in C++ for the past 8 years. I can create your code in 1-2 hours only. I am also ready to start right away. You can check my reviews to get an idea of qu More

$30 USD in 0 days
(2 Reviews)
1.4
ahmedray

A proposal has not yet been provided

$15 USD in 1 day
(1 Review)
0.4