Click here to Skip to main content
15,867,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmms Pin
viliam9-Sep-09 10:53
viliam9-Sep-09 10:53 
AnswerRe: mms Pin
Selvam R9-Sep-09 16:56
professionalSelvam R9-Sep-09 16:56 
QuestionPerforming Active scan with flush of old scanned data from the Wireless NIC - how ? Pin
amitalonm9-Sep-09 7:51
amitalonm9-Sep-09 7:51 
GeneralRe: Performing Active scan with flush of old scanned data from the Wireless NIC - how ? Pin
amitalonm9-Sep-09 20:46
amitalonm9-Sep-09 20:46 
GeneralThe relevant code part that I used is attached as well Pin
amitalonm9-Sep-09 20:58
amitalonm9-Sep-09 20:58 
Questionhelp me to cut a CString to many pieces Pin
tucn879-Sep-09 6:53
tucn879-Sep-09 6:53 
AnswerRe: help me to cut a CString to many pieces Pin
CPallini9-Sep-09 7:04
mveCPallini9-Sep-09 7:04 
AnswerRe: help me to cut a CString to many pieces Pin
Maximilien9-Sep-09 7:21
Maximilien9-Sep-09 7:21 
You could use sscanf, or strtok or std::istringstream (or somthing like that, I always forget which one it is).

Me think the easier, but less safe and probably not well accepted today is sscanf:

int iRet = sscanf(input, "%i %i %i", &val1, &val2, &val3);


or maybe
std::istringstream buffer(input);
int val1, val2, val3; 
buffer >> val1 >> val2 >> val3;


and in general, to convert a string to a int, we can use atoi ( or atol)

This signature was proudly tested on animals.

AnswerRe: help me to cut a CString to many pieces Pin
Rajesh R Subramanian9-Sep-09 7:41
professionalRajesh R Subramanian9-Sep-09 7:41 
AnswerRe: help me to cut a CString to many pieces Pin
David Crow9-Sep-09 10:57
David Crow9-Sep-09 10:57 
AnswerRe: help me to cut a CString to many pieces Pin
Joe Woodbury9-Sep-09 13:03
professionalJoe Woodbury9-Sep-09 13:03 
QuestionFeeEnterView.obj : error LNK2019: unresolved external symbol "public: __thiscall ATL::CTime::CTime(void)" [modified] Pin
Vetukuri Raju9-Sep-09 4:55
Vetukuri Raju9-Sep-09 4:55 
QuestionAccessing files which are in JAR Pin
Azghar Hussain9-Sep-09 2:50
professionalAzghar Hussain9-Sep-09 2:50 
AnswerRe: Accessing files which are in JAR Pin
David Crow9-Sep-09 3:16
David Crow9-Sep-09 3:16 
QuestionRe: Accessing files which are in JAR Pin
CPallini9-Sep-09 3:20
mveCPallini9-Sep-09 3:20 
AnswerRe: Accessing files which are in JAR Pin
Michael Schubert9-Sep-09 21:20
Michael Schubert9-Sep-09 21:20 
QuestionVC++ Basic Threading - help Pin
GC1049-Sep-09 1:31
GC1049-Sep-09 1:31 
AnswerRe: VC++ Basic Threading - help Pin
CPallini9-Sep-09 1:59
mveCPallini9-Sep-09 1:59 
AnswerRe: VC++ Basic Threading - help Pin
Selvam R9-Sep-09 2:11
professionalSelvam R9-Sep-09 2:11 
AnswerRe: VC++ Basic Threading - help [Updated] Pin
Nuri Ismail9-Sep-09 2:28
Nuri Ismail9-Sep-09 2:28 
AnswerRe: VC++ Basic Threading - help Pin
GC1049-Sep-09 4:12
GC1049-Sep-09 4:12 
GeneralRe: VC++ Basic Threading - help Pin
Cedric Moonen9-Sep-09 4:20
Cedric Moonen9-Sep-09 4:20 
AnswerRe: VC++ Basic Threading - help Pin
Rajesh R Subramanian9-Sep-09 6:07
professionalRajesh R Subramanian9-Sep-09 6:07 
GeneralRe: VC++ Basic Threading - help Pin
GC10410-Sep-09 23:01
GC10410-Sep-09 23:01 
QuestionHow do I rename Outlook Pst newly created folder 'Personal Folders' programmatically ? Pin
SherTeks9-Sep-09 0:54
SherTeks9-Sep-09 0:54 

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.