Attention: Server migration delayed. - Please click [here] to read more! CPAE 2.0 (Last update: Wednesday, 24th of April, 03:40 PM/15:40, UTC+2, Europe)


[C++] Finding, reading and using CSV file in C++.
2016-07-06, 05:37 PM, (This post was last modified: 2016-07-06, 10:21 PM by Lukasz.)
#1
I have to make a program which has to search for a file/files which will meet user requirements (user will tell if he want to make operations from single file or from couple of files which will be from some period of days).

Files got the same name scheme - WYK_KSE_.csv (for example - WYK_KSE_20160611.csv). If any files will be found the program shows information about it and then it should make some calculations based on information from the .csv files and at the end it shows results for a every day which met user requirements.

At this moment all I managed to do is opening a single .csv file and showing the content. If any of you got ideas how to make it, or even, you are willing to help me to write it feel free to contact me here.
Reply
Share This Thread :

2016-08-04, 07:48 PM,
#2
I think I saw video similar to what you need on Youtube,you should look it up there,I think you have detailed instructions,I don't remember what exactly was the video named but I'm sure there is one.
Reply
2016-08-04, 07:55 PM,
#3
Some pseudo code:

For each file:
if file.substring(0, 7).equals("WYK_KSE_") == true:
for each file.line:
file.line.split(",").
Reply
2016-08-05, 05:24 PM,
#4
I've been using C++ for the last year and a half,I had lot of troubles,good thing you had this forum,I didn't even think of any forum I was trying myself,anyway I hope those pseudo codes help you buddy,good luck.
Reply
2016-09-08, 07:05 AM,
#5
maybe you should go with C# as its a bit easier as C++ :)
Reply


Related Threads
Thread Author Replies Views Last Post
  OGads - How to change some words into bold in the file download locker? Lone Wolf 3 979 2018-08-03, 09:17 PM
Last Post: CreateAutomate
  Where can I find the mega_menu you guys using on this forum. Ballchinian 0 564 2018-05-16, 12:38 AM
Last Post: Ballchinian
  ANNOUNCEMENT How To Protect And Secure Your WordPress Websites For Free [HawkEye Guide] CPAElites Team 23 9,020 2018-03-11, 04:58 PM
Last Post: krypton_bleu
  Is There Any Good and Reliable IP Tracking Software? wilhb81 5 1,143 2017-05-02, 09:21 AM
Last Post: wilhb81
  Up to date and innovative themes WealthyHustler 0 593 2017-04-24, 08:57 PM
Last Post: WealthyHustler





About Us | Contact Us | CPA Elites | Advertise | Stats

Copyright © 2013 - 2019 by (company to be announced later)
Temporarily (!) powered by MyBB and enhanced by Charlie Harper (GitHub) aka Charles Francis Harper (Wikipedia)
Return to top
This forum uses Lukasz Tkacz MyBB addons.