Click here to Skip to main content
16,005,552 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Assertion error in DoModal() Pin
KarstenK6-Jul-06 1:06
mveKarstenK6-Jul-06 1:06 
QuestionRe: Assertion error in DoModal() Pin
David Crow6-Jul-06 3:29
David Crow6-Jul-06 3:29 
Questionstoring strings Pin
Desmo166-Jul-06 0:29
Desmo166-Jul-06 0:29 
AnswerRe: storing strings Pin
Justin Tay6-Jul-06 1:07
Justin Tay6-Jul-06 1:07 
AnswerRe: storing strings Pin
Sarath C6-Jul-06 1:08
Sarath C6-Jul-06 1:08 
AnswerRe: storing strings Pin
KarstenK6-Jul-06 1:10
mveKarstenK6-Jul-06 1:10 
AnswerRe: storing strings Pin
Stephen Hewitt6-Jul-06 1:37
Stephen Hewitt6-Jul-06 1:37 
AnswerRe: storing strings Pin
ThatsAlok6-Jul-06 19:33
ThatsAlok6-Jul-06 19:33 
Desmo16 wrote:
I've got a file containing many lines made up by a string followed by numbers like this:

vector<CString> vecString;
let szTmp of type Char* contain your First line of File...
 then this small code will read all the string in the Vector  string;
     
TCHAR *sztoken=strtok(szTmp," ");
        int iCount=0;
   
        while(sztoken!=NULL)
        {
              vecString.push_back(sztoken);
             sztoken = strtok( NULL, " ");           
        }


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
GeneralRe: storing strings Pin
Stephen Hewitt7-Jul-06 0:13
Stephen Hewitt7-Jul-06 0:13 
GeneralRe: storing strings Pin
ThatsAlok7-Jul-06 0:30
ThatsAlok7-Jul-06 0:30 
GeneralRe: storing strings Pin
Stephen Hewitt7-Jul-06 3:37
Stephen Hewitt7-Jul-06 3:37 
Questiontwo views on single print preview in mfc Pin
RVShetty6-Jul-06 0:16
RVShetty6-Jul-06 0:16 
QuestionRemote Desktop Pin
Sarath C6-Jul-06 0:03
Sarath C6-Jul-06 0:03 
NewsRe: Remote Desktop Pin
KarstenK6-Jul-06 1:02
mveKarstenK6-Jul-06 1:02 
GeneralRe: Remote Desktop Pin
Sarath C6-Jul-06 1:04
Sarath C6-Jul-06 1:04 
QuestionSending keys Pin
Smith#6-Jul-06 0:02
Smith#6-Jul-06 0:02 
AnswerRe: Sending keys Pin
Justin Tay6-Jul-06 0:05
Justin Tay6-Jul-06 0:05 
GeneralRe: Sending keys Pin
Smith#6-Jul-06 0:17
Smith#6-Jul-06 0:17 
GeneralRe: Sending keys [modified] Pin
Justin Tay6-Jul-06 0:46
Justin Tay6-Jul-06 0:46 
GeneralRe: Sending keys Pin
ThatsAlok6-Jul-06 1:22
ThatsAlok6-Jul-06 1:22 
GeneralRe: Sending keys Pin
Smith#6-Jul-06 1:57
Smith#6-Jul-06 1:57 
GeneralRe: Sending keys Pin
ThatsAlok6-Jul-06 2:02
ThatsAlok6-Jul-06 2:02 
AnswerRe: Sending keys Pin
Muhammad Azam6-Jul-06 1:37
Muhammad Azam6-Jul-06 1:37 
GeneralRe: Sending keys Pin
Smith#6-Jul-06 1:58
Smith#6-Jul-06 1:58 
QuestionRe: Sending keys Pin
Smith#6-Jul-06 1:59
Smith#6-Jul-06 1:59 

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.