Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp to get WIN32_FIND_DATAW FindFileData from FindFirstFilesW into a file Pin
stvprg4-May-05 7:32
stvprg4-May-05 7:32 
GeneralRe: Help to get WIN32_FIND_DATAW FindFileData from FindFirstFilesW into a file Pin
Ryan Binns4-May-05 23:39
Ryan Binns4-May-05 23:39 
GeneralAvailable DLL / C++-SourceCode for 3D-presentation of rectangular solids of different sizes Pin
Roland F.2-May-05 12:26
Roland F.2-May-05 12:26 
GeneralRe: Available DLL / C++-SourceCode for 3D-presentation of rectangular solids of different sizes Pin
Christian Graus2-May-05 13:20
protectorChristian Graus2-May-05 13:20 
Generali still need just a little help Pin
Anonymous2-May-05 11:58
Anonymous2-May-05 11:58 
GeneralRe: i still need just a little help Pin
Christian Graus2-May-05 13:23
protectorChristian Graus2-May-05 13:23 
GeneralRe: i still need just a little help Pin
Anonymous2-May-05 14:25
Anonymous2-May-05 14:25 
GeneralRe: i still need just a little help Pin
Christian Graus2-May-05 14:32
protectorChristian Graus2-May-05 14:32 
d - '0' is a hack. Use atoi(d) instead.

What's going wrong ? Have you tried stepping through the code ? Why are you setting skipws instead of checking what the value of the flag is before you start ( so that you never change the state of the stream ) ? Why are there no brackets in the above code ? I'd expect you to just use a while loop for the entire code, not have the if at the start, and I'd expect all of the above code to be within the while loop, so if the first character is not a digit, none of it would run.

Christian Graus - Microsoft MVP - C++
GeneralRe: i still need just a little help Pin
Anonymous2-May-05 15:06
Anonymous2-May-05 15:06 
GeneralRe: i still need just a little help Pin
Christian Graus2-May-05 15:31
protectorChristian Graus2-May-05 15:31 
QuestionUrgent ! How to instanciate an OCX control in an Office app? Pin
turenne2-May-05 11:50
turenne2-May-05 11:50 
GeneralMenu+Bitmaps recommendation Pin
peterchen2-May-05 11:43
peterchen2-May-05 11:43 
GeneralWMI Pin
Alex_Y2-May-05 8:40
Alex_Y2-May-05 8:40 
QuestionByte Chunker? Pin
OutlawTornNMT2-May-05 7:46
OutlawTornNMT2-May-05 7:46 
AnswerRe: Byte Chunker? Pin
Christian Graus2-May-05 13:24
protectorChristian Graus2-May-05 13:24 
QuestionHow to use "Windows classic" look on XP? Pin
Alan C. Balkany2-May-05 7:44
Alan C. Balkany2-May-05 7:44 
AnswerRe: How to use "Windows classic" look on XP? Pin
Ravi Bhavnani2-May-05 8:15
professionalRavi Bhavnani2-May-05 8:15 
GeneralRe: How to use "Windows classic" look on XP? Pin
Alan C. Balkany2-May-05 8:22
Alan C. Balkany2-May-05 8:22 
GeneralRe: How to use "Windows classic" look on XP? Pin
Ravi Bhavnani2-May-05 8:34
professionalRavi Bhavnani2-May-05 8:34 
GeneralRe: How to use "Windows classic" look on XP? Pin
Alan C. Balkany2-May-05 8:46
Alan C. Balkany2-May-05 8:46 
GeneralPath to user's desktop folder Pin
moredip2-May-05 7:24
moredip2-May-05 7:24 
GeneralRe: Path to user's desktop folder Pin
David Crow2-May-05 7:29
David Crow2-May-05 7:29 
GeneralRe: Path to user's desktop folder Pin
moredip2-May-05 7:33
moredip2-May-05 7:33 
Generalvc.net 2003 custom build question... Pin
Maximilien2-May-05 7:16
Maximilien2-May-05 7:16 
Generalcatching windows... Pin
Yevgeny Efter2-May-05 5:44
Yevgeny Efter2-May-05 5:44 

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.