Click here to Skip to main content
16,019,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: program nt responding--error Pin
coda_x13-Sep-03 2:10
coda_x13-Sep-03 2:10 
GeneralRe: program nt responding--error Pin
PengFeidu13-Sep-03 2:36
PengFeidu13-Sep-03 2:36 
GeneralRe: program nt responding--error Pin
Gary R. Wheeler13-Sep-03 3:34
Gary R. Wheeler13-Sep-03 3:34 
GeneralRe: program nt responding--error Pin
coda_x13-Sep-03 16:50
coda_x13-Sep-03 16:50 
GeneralQues regarding Icon and Button Pin
SatyaDY13-Sep-03 0:19
SatyaDY13-Sep-03 0:19 
GeneralRe: Ques regarding Icon and Button Pin
Larry J. Siddens13-Sep-03 3:39
Larry J. Siddens13-Sep-03 3:39 
General"string" question. Pin
WREY12-Sep-03 23:49
WREY12-Sep-03 23:49 
GeneralRe: "string" question. Pin
Larry J. Siddens13-Sep-03 3:37
Larry J. Siddens13-Sep-03 3:37 
Hi William,

The cin will not return until an EOL or EOF character is entered. This usally is the carriage return. To tell if the string is empty, you can cycle through the string looking for any non-white space characters. Or, strip off the white characters. I have done this before, but I have lost that code.

Hope this helps. (Sorry I cannot give you the exact way, I don't have my STL book at home.)


Larry J. Siddens
Cornerstone Communications

TAME THE DOCUMENT MONSTER
www.unifier.biz



GeneralRe: "string" question. Pin
Joaquín M López Muñoz13-Sep-03 6:13
Joaquín M López Muñoz13-Sep-03 6:13 
GeneralRe: "string" question. Pin
DougW4813-Sep-03 13:56
DougW4813-Sep-03 13:56 
GeneralHandling LVN_ITEMCHANGED message Pin
Md Saleem Navalur12-Sep-03 23:26
Md Saleem Navalur12-Sep-03 23:26 
GeneralRe: Handling LVN_ITEMCHANGED message Pin
Gary R. Wheeler13-Sep-03 3:47
Gary R. Wheeler13-Sep-03 3:47 
GeneralMessage Handlers for Menus in MFC Pin
cberam12-Sep-03 23:11
cberam12-Sep-03 23:11 
GeneralRe: Message Handlers for Menus in MFC Pin
Larry J. Siddens13-Sep-03 3:41
Larry J. Siddens13-Sep-03 3:41 
GeneralRe: Message Handlers for Menus in MFC Pin
Michael Dunn13-Sep-03 5:54
sitebuilderMichael Dunn13-Sep-03 5:54 
QuestionHow to copy strings? Pin
K7magi12-Sep-03 22:08
K7magi12-Sep-03 22:08 
AnswerRe: How to copy strings? Pin
Nish Nishant12-Sep-03 22:14
sitebuilderNish Nishant12-Sep-03 22:14 
GeneralRe: How to copy strings? Pin
Anonymous13-Sep-03 8:28
Anonymous13-Sep-03 8:28 
GeneralRe: How to copy strings? Pin
Steve Mayfield13-Sep-03 22:12
Steve Mayfield13-Sep-03 22:12 
GeneralQues regarding SNMP examples Pin
SatyaDY12-Sep-03 20:18
SatyaDY12-Sep-03 20:18 
GeneralRe: Ques regarding SNMP examples Pin
Scozturk12-Sep-03 21:30
professionalScozturk12-Sep-03 21:30 
GeneralRe: Ques regarding SNMP examples Pin
SatyaDY13-Sep-03 0:07
SatyaDY13-Sep-03 0:07 
QuestionHow to get process wise cpu usage? Pin
apradip12-Sep-03 19:56
apradip12-Sep-03 19:56 
AnswerRe: How to get process wise cpu usage? Pin
apradip12-Sep-03 20:56
apradip12-Sep-03 20:56 
GeneralRe: How to get process wise cpu usage? Pin
Anonymous12-Sep-03 20:28
Anonymous12-Sep-03 20:28 

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.