Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: rdubey_jsr
Forum: C++ Jul 26th, 2006
Replies: 4
Views: 14,503
Posted By 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. ifstream file(filename);
if (file)
{
char ch ;...
Forum: C++ Jul 26th, 2006
Replies: 2
Views: 10,448
Posted By rdubey_jsr
Yes, it working fine for me! Thanks
Forum: C++ Jul 26th, 2006
Replies: 2
Views: 10,448
Posted By 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.

ifstream file(filename);
if (file)
{
char ch='\n' ;
do
{...
Forum: C++ Jul 15th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
Yes, Now its working fine for me. Thanks, for solving my problem........
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
Yes, you have posted a good class but can u give main() function code also, how to call the class and which member function. Means how to read the file (.CSV) and pass in the object of class and get...
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
I am able to read the .csv file into a char array but unable to parse the same.
can u give send me some code how to seperate the contents from commas.
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
I am using C++. Actually after parsing i have to use it to show in a List Control in my MFC application.
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By rdubey_jsr
Extent of CSV format is like
"Ted Morris, 121 street Name, Washington,(123)123344,(12)12322"
"John Peter, 123 Mango, Texas, (232)333523,(23)34355"
.......................................
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,993
Posted By 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...
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC