Click here to Skip to main content
15,881,898 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows 7 Progress / Win32 Pin
Fareed Rizkalla13-Apr-10 15:01
Fareed Rizkalla13-Apr-10 15:01 
QuestionRe: Windows 7 Progress / Win32 Pin
David Crow14-Apr-10 2:11
David Crow14-Apr-10 2:11 
Questioncan scanf retain leading whitespaces Pin
b-rad31113-Apr-10 6:23
b-rad31113-Apr-10 6:23 
AnswerRe: can scanf retain leading whitespaces Pin
David Crow13-Apr-10 6:43
David Crow13-Apr-10 6:43 
GeneralRe: can scanf retain leading whitespaces Pin
b-rad31113-Apr-10 7:45
b-rad31113-Apr-10 7:45 
AnswerRe: can scanf retain leading whitespaces Pin
«_Superman_»13-Apr-10 6:58
professional«_Superman_»13-Apr-10 6:58 
GeneralRe: can scanf retain leading whitespaces Pin
b-rad31113-Apr-10 8:11
b-rad31113-Apr-10 8:11 
Questionusing sscanf in a loop Pin
b-rad31113-Apr-10 5:25
b-rad31113-Apr-10 5:25 
Hi,

How can I advance the sscanf statement to read each word in the sentence? Right now my output is an endless loop of "This".

CString incoming_line="This is my example incoming line.";
CString string_out;
while (sscanf(incoming_line, "%s", string_out )==1)
{
    cout<<string_out<<endl;
}


Thanks!
AnswerRe: using sscanf in a loop Pin
Chris Losinger13-Apr-10 5:31
professionalChris Losinger13-Apr-10 5:31 
GeneralRe: using sscanf in a loop Pin
b-rad31113-Apr-10 5:49
b-rad31113-Apr-10 5:49 
GeneralRe: using sscanf in a loop Pin
Chris Losinger13-Apr-10 5:56
professionalChris Losinger13-Apr-10 5:56 
AnswerRe: using sscanf in a loop Pin
David Crow13-Apr-10 5:52
David Crow13-Apr-10 5:52 
GeneralRe: using sscanf in a loop Pin
b-rad31113-Apr-10 5:53
b-rad31113-Apr-10 5:53 
GeneralRe: using sscanf in a loop Pin
David Crow13-Apr-10 5:58
David Crow13-Apr-10 5:58 
Questionstatic text color and backgroung color Pin
D.Manivelan13-Apr-10 4:14
D.Manivelan13-Apr-10 4:14 
QuestionRe: static text color and backgroung color Pin
David Crow13-Apr-10 4:52
David Crow13-Apr-10 4:52 
QuestionGeting the calling modules names Pin
Mugiwara13-Apr-10 3:39
Mugiwara13-Apr-10 3:39 
AnswerRe: Geting the calling modules names Pin
Eugen Podsypalnikov13-Apr-10 4:40
Eugen Podsypalnikov13-Apr-10 4:40 
GeneralRe: Geting the calling modules names Pin
Mugiwara13-Apr-10 9:15
Mugiwara13-Apr-10 9:15 
GeneralRe: Geting the calling modules names Pin
David Crow13-Apr-10 9:50
David Crow13-Apr-10 9:50 
QuestionIf the data is static, how can you access that data in another file ? Pin
krish_kumar13-Apr-10 2:54
krish_kumar13-Apr-10 2:54 
AnswerRe: If the data is static, how can you access that data in another file ? Pin
Chris Losinger13-Apr-10 3:11
professionalChris Losinger13-Apr-10 3:11 
GeneralRe: If the data is static, how can you access that data in another file ? Pin
krish_kumar13-Apr-10 3:46
krish_kumar13-Apr-10 3:46 
GeneralRe: If the data is static, how can you access that data in another file ? Pin
Chris Losinger13-Apr-10 3:47
professionalChris Losinger13-Apr-10 3:47 
QuestionCRectTracker Pin
shiv@nand13-Apr-10 1:55
shiv@nand13-Apr-10 1:55 

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.