Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 10
Member Avatar for rdubey_jsr

I am reading a CSV file and parsing its content into tokens. Now i want to know how to check for End of File. I am giving my code to be more clear. [CODE][COLOR=#0000ff]ifstream file(filename); if (file) { char ch ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; …

Member Avatar for WolfPack
1
285
Member Avatar for rdubey_jsr

Hi I need to cast string type variable to LPCTSTR type. How to achieve this. I am inserting my code for yours help.[code] [COLOR=#0000ff] ifstream file(filename); if (file) { char ch='\n' ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; string token; // token decleared string type istringstream iss(tmp); …

Member Avatar for rdubey_jsr
0
163
Member Avatar for rdubey_jsr

Hi friends, Its my first experience to this forum. can any one help me in reading a csv file into an array and then parse each word seperated by commas. I have csv file which contains rows and columns of record. and i have to read the file into an …

Member Avatar for rdubey_jsr
0
4K