Write a very simple/short C++ app
$10-30 USD
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
Project ID: #5962847
About the project
Awarded to:
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.
8 freelancers are bidding on average $23 for this job
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
Hi! I am well experienced in C++ programming. I can deliver you 100% correct results in fast time.
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!