Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get running OPC servers in the network? Pin
Member 475076128-May-08 4:29
Member 475076128-May-08 4:29 
AnswerRe: How to get running OPC servers in the network? Pin
Rajesh R Subramanian28-May-08 4:40
professionalRajesh R Subramanian28-May-08 4:40 
AnswerRe: How to get running OPC servers in the network? Pin
Randor 28-May-08 5:54
professional Randor 28-May-08 5:54 
QuestionHow to resolve this err. Pin
KASR128-May-08 2:08
KASR128-May-08 2:08 
AnswerRe: How to resolve this err. Pin
Cedric Moonen28-May-08 2:25
Cedric Moonen28-May-08 2:25 
AnswerRe: How to resolve this err. Pin
CPallini28-May-08 2:26
mveCPallini28-May-08 2:26 
AnswerRe: How to resolve this err. Pin
SandipG 28-May-08 2:41
SandipG 28-May-08 2:41 
QuestionAbout Strtok Pin
savitri28-May-08 1:32
savitri28-May-08 1:32 
Hi everybody..

I am doing project on gsm modem.i am reading msg from sim.that read message i want to store into database.for that i have split that sentence so please tell me how to do that.. i am doing like this..
char str[1000];
strcpy(str,m_sResults);
MessageBox(str);
char delims[] = ",";
char* result;
result = strtok( str, delims );

while(result != NULL )
{
MessageBox(result);

result = strtok( NULL, delims );

}
but doing like this is impossible to store the values.so i want to store in different variables.please help me out.
in m_sResults the sentence is
AT+CMGR=1

+CMGR: "REC READ","919860716641","P apu.soni","08/05/22,19:05:34+34",145,4,0,0,"919890081132",145,106
Call me when you reach to your pg... I on the way to room..

OK

please help me.


thanks in advance,
savitriConfused | :confused:
AnswerRe: About Strtok Pin
Nibu babu thomas28-May-08 1:52
Nibu babu thomas28-May-08 1:52 
GeneralRe: About Strtok Pin
Graham Bradshaw28-May-08 13:06
Graham Bradshaw28-May-08 13:06 
GeneralRe: About Strtok Pin
Nibu babu thomas28-May-08 17:01
Nibu babu thomas28-May-08 17:01 
AnswerRe: About Strtok Pin
bob1697228-May-08 2:07
bob1697228-May-08 2:07 
AnswerRe: About Strtok Pin
Jijo.Raj28-May-08 8:55
Jijo.Raj28-May-08 8:55 
QuestionLittle conversion problem Pin
Ritxi28-May-08 1:18
Ritxi28-May-08 1:18 
QuestionRe: Little conversion problem Pin
Nelek28-May-08 1:26
protectorNelek28-May-08 1:26 
AnswerRe: Little conversion problem Pin
Ritxi28-May-08 1:33
Ritxi28-May-08 1:33 
GeneralRe: Little conversion problem Pin
Nibu babu thomas28-May-08 1:34
Nibu babu thomas28-May-08 1:34 
GeneralRe: Little conversion problem Pin
Ritxi28-May-08 3:02
Ritxi28-May-08 3:02 
AnswerRe: Little conversion problem Pin
Cedric Moonen28-May-08 1:36
Cedric Moonen28-May-08 1:36 
GeneralRe: Little conversion problem Pin
Ritxi28-May-08 1:39
Ritxi28-May-08 1:39 
GeneralRe: Little conversion problem Pin
Cedric Moonen28-May-08 1:51
Cedric Moonen28-May-08 1:51 
QuestionRe: Little conversion problem Pin
CPallini28-May-08 2:00
mveCPallini28-May-08 2:00 
AnswerRe: Little conversion problem Pin
Nelek28-May-08 2:44
protectorNelek28-May-08 2:44 
GeneralRe: Little conversion problem Pin
Ritxi28-May-08 2:48
Ritxi28-May-08 2:48 
GeneralRe: Little conversion problem Pin
CPallini28-May-08 2:51
mveCPallini28-May-08 2:51 

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.