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
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 
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 
WREY wrote:
How do I determine a string is empty, coming from the input stream?


You could try writing your own version of the getline function. I've done what I think you are trying to do by doing inputstream.get( char ). You can continue scanning the input until you get a newline character or whatever you want. The only problem is that a carriage return will have to have been pushed for the input to go into the stream. And if you want to keep track of the entire input, you can just keep adding each character to a string. I hope this helps, good luck.


Douglas A. Wright
dawrigh3@kent.edu
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 
AnswerRe: How to get process wise cpu usage? Pin
Dudi Avramov13-Sep-03 21:39
Dudi Avramov13-Sep-03 21:39 
GeneralRe: How to get process wise cpu usage? Pin
apradip14-Sep-03 23:19
apradip14-Sep-03 23:19 

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.