[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.)
#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, 11:18 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, 11:25 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, 08:54 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, 10:35 AM,
#5
maybe you should go with C# as its a bit easier as C++ :)

[Image: IoRrqFZ.jpg]
Reply


Related Threads
Thread Author Replies Views Last Post
  OGads - How to change some words into bold in the file download locker? Lone Wolf 2 389 2018-04-20, 03:38 AM
Last Post: Lone Wolf
  help in file css vip2 1 1,014 2016-11-25, 12:36 AM
Last Post: torothemes
  [HELP] How to Change Cpagrip Url / File locker Favicon ? ashu55 2 1,462 2016-08-24, 06:35 PM
Last Post: ashu55
  CPAgrip File Locker Mobile Friendly Frezer 0 1,033 2016-08-17, 08:37 PM
Last Post: Frezer
  Change file size in files array with JavaScript Heka 1 507 2015-04-08, 12:14 AM
Last Post: SpawnOfdarkness





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

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