[C++] Finding, reading and using CSV file in C++.
2016-07-06, 09:07 PM, (This post was last modified: 2016-07-07, 01:51 AM by Lukasz.)
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.
Share This Thread :

2016-08-04, 11:18 PM,
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.
2016-08-04, 11:25 PM,
Some pseudo code:

For each file:
if file.substring(0, 7).equals("WYK_KSE_") == true:
for each file.line:
2016-08-05, 08:54 PM,
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.
2016-09-08, 10:35 AM,
maybe you should go with C# as its a bit easier as C++ :)

[Image: IoRrqFZ.jpg]

Related Threads
Thread Author Replies Views Last Post
  help in file css vip2 1 955 2016-11-25, 12:36 AM
Last Post: torothemes
  [HELP] How to Change Cpagrip Url / File locker Favicon ? ashu55 2 1,387 2016-08-24, 06:35 PM
Last Post: ashu55
  CPAgrip File Locker Mobile Friendly Frezer 0 919 2016-08-17, 08:37 PM
Last Post: Frezer
  Change file size in files array with JavaScript Heka 1 442 2015-04-08, 12:14 AM
Last Post: SpawnOfdarkness
  [How To] does anybody know how to code a log file? Oparah 13 1,283 2014-06-20, 06:24 PM
Last Post: Lani

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

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top