Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Event index out of range Pin
David Crow21-Aug-07 4:05
David Crow21-Aug-07 4:05 
Questionreading a line of text from a txt file without doulble quotes? Pin
SnaKeBeD20-Aug-07 22:51
SnaKeBeD20-Aug-07 22:51 
AnswerRe: reading a line of text from a txt file without doulble quotes? Pin
toxcct20-Aug-07 22:58
toxcct20-Aug-07 22:58 
AnswerRe: reading a line of text from a txt file without doulble quotes? Pin
Iain Clarke, Warrior Programmer21-Aug-07 0:06
Iain Clarke, Warrior Programmer21-Aug-07 0:06 
AnswerRe: reading a line of text from a txt file without doulble quotes? Pin
ThatsAlok21-Aug-07 1:56
ThatsAlok21-Aug-07 1:56 
JokeRe: reading a line of text from a txt file without doulble quotes? Pin
ghle27-Aug-07 5:39
ghle27-Aug-07 5:39 
Questioncan anybody tell me how to read from a .csv file Pin
philiptabraham20-Aug-07 22:12
philiptabraham20-Aug-07 22:12 
AnswerRe: can anybody tell me how to read from a .csv file Pin
jhwurmbach20-Aug-07 22:47
jhwurmbach20-Aug-07 22:47 
a) Read a line from a fstream using getline() into a string.
b) tokenize that string, either by running a loop over it searching for ",", or by using a tokenizer:
strtok would be the most hack-n-slay type function.
boost::tokenizer[^] would be considerably more flexible without being much more complex.

Try it! Then post your code here.



Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

QuestionHow to get complie time. Pin
Max++20-Aug-07 21:24
Max++20-Aug-07 21:24 
AnswerRe: How to get complie time. Pin
Stephen Hewitt20-Aug-07 21:34
Stephen Hewitt20-Aug-07 21:34 
GeneralRe: How to get complie time. Pin
Max++20-Aug-07 22:01
Max++20-Aug-07 22:01 
AnswerRe: How to get complie time. Pin
Stephen Hewitt20-Aug-07 22:01
Stephen Hewitt20-Aug-07 22:01 
AnswerRe: How to get complie time. Pin
cp987620-Aug-07 22:07
cp987620-Aug-07 22:07 
GeneralRe: How to get complie time. Pin
Stephen Hewitt20-Aug-07 22:11
Stephen Hewitt20-Aug-07 22:11 
GeneralRe: How to get complie time. Pin
cp987620-Aug-07 22:23
cp987620-Aug-07 22:23 
AnswerRe: How to get complie time. Pin
David Crow21-Aug-07 4:09
David Crow21-Aug-07 4:09 
Questionconverting VT_DISPATCH into VT_BSTR or CString Pin
Dhiraj kumar Saini20-Aug-07 20:57
Dhiraj kumar Saini20-Aug-07 20:57 
QuestionUsing NULL to Close the DB connection after Close() Pin
ragavan20-Aug-07 20:43
ragavan20-Aug-07 20:43 
QuestionRe: Using NULL to Close the DB connection after Close() Pin
David Crow21-Aug-07 4:12
David Crow21-Aug-07 4:12 
QuestionCOleDateTime Pin
vicky0000020-Aug-07 20:37
vicky0000020-Aug-07 20:37 
AnswerRe: COleDateTime Pin
Hamid_RT20-Aug-07 21:12
Hamid_RT20-Aug-07 21:12 
GeneralRe: COleDateTime Pin
vicky0000021-Aug-07 0:04
vicky0000021-Aug-07 0:04 
GeneralRe: COleDateTime Pin
Hamid_RT21-Aug-07 2:32
Hamid_RT21-Aug-07 2:32 
GeneralRe: COleDateTime Pin
David Crow21-Aug-07 4:19
David Crow21-Aug-07 4:19 
GeneralRe: COleDateTime Pin
Mark Salsbery23-Aug-07 5:20
Mark Salsbery23-Aug-07 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.