Click here to Skip to main content
15,914,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to add networking? Pin
Noor Akhter7-Sep-06 1:54
Noor Akhter7-Sep-06 1:54 
AnswerRe: how to add networking? Pin
Programm3r7-Sep-06 1:57
Programm3r7-Sep-06 1:57 
QuestionHow can v increase the speed of game having textures? Pin
Noor Akhter7-Sep-06 1:50
Noor Akhter7-Sep-06 1:50 
AnswerRe: How can v increase the speed of game having textures? Pin
toxcct7-Sep-06 2:20
toxcct7-Sep-06 2:20 
QuestionGrab sound/audio Pin
torbjornweiland7-Sep-06 1:44
torbjornweiland7-Sep-06 1:44 
Questionwriting data to a file on the FTP server. Pin
vijay_aroli7-Sep-06 1:41
vijay_aroli7-Sep-06 1:41 
AnswerRe: writing data to a file on the FTP server. Pin
Programm3r7-Sep-06 1:55
Programm3r7-Sep-06 1:55 
QuestionRe: writing data to a file on the FTP server. Pin
David Crow7-Sep-06 3:11
David Crow7-Sep-06 3:11 
Questionstrtok() argument Pin
Max++7-Sep-06 1:29
Max++7-Sep-06 1:29 
AnswerRe: strtok() argument Pin
Rinu_Raj7-Sep-06 1:32
Rinu_Raj7-Sep-06 1:32 
AnswerRe: strtok() argument Pin
Programm3r7-Sep-06 1:35
Programm3r7-Sep-06 1:35 
AnswerRe: strtok() argument Pin
toxcct7-Sep-06 2:19
toxcct7-Sep-06 2:19 
GeneralRe: strtok() argument Pin
Max++7-Sep-06 2:25
Max++7-Sep-06 2:25 
GeneralRe: strtok() argument Pin
toxcct7-Sep-06 2:32
toxcct7-Sep-06 2:32 
GeneralRe: strtok() argument Pin
Max++7-Sep-06 2:52
Max++7-Sep-06 2:52 
I use Visual c++ 6.0, I don't know why,
I can't call this function.
But I already try follow "Rinu_Raj" and "programm3r" by use
CString::Getbuffer()
as..
char Del[]=",";
char *str,*buff;
CString buffer,data[3];

buffer="aaa,bbb,ccc";
str = buffer.GetBuffer (10);
buffer.ReleaseBuffer ( );
buff = strtok(str,Del);
data[0] = buff;
buff = strtok(NULL,Del);
data[1] = buff;
buff= strtok(NULL,Del);
data[2] = buff;
TRACE("backup[0]=%s\n",data[0]);
TRACE("backup[1]=%s\n",data[1]);
TRACE("backup[2]=%s\n",data[2]);

I confuse the input parameter of Getbuffer().
I try to change it to 1,10,100,1000 it still can use no problem.
How much value I should be use
and
What does this parameter mean?
GeneralRe: strtok() argument Pin
Steve S7-Sep-06 2:59
Steve S7-Sep-06 2:59 
GeneralRe: strtok() argument Pin
prasad_som7-Sep-06 3:10
prasad_som7-Sep-06 3:10 
AnswerRe: strtok() argument Pin
David Crow7-Sep-06 3:12
David Crow7-Sep-06 3:12 
AnswerRe: strtok() argument Pin
Karthikeyan .g7-Sep-06 3:30
Karthikeyan .g7-Sep-06 3:30 
GeneralRe: strtok() argument Pin
toxcct7-Sep-06 3:41
toxcct7-Sep-06 3:41 
QuestionRe: strtok() argument Pin
David Crow7-Sep-06 5:34
David Crow7-Sep-06 5:34 
AnswerRe: strtok() argument Pin
Zac Howland7-Sep-06 5:07
Zac Howland7-Sep-06 5:07 
Questionexecute insert parametric queries of blob data type Pin
Mushtaque Nizamani7-Sep-06 1:22
Mushtaque Nizamani7-Sep-06 1:22 
QuestionRe: execute insert parametric queries of blob data type Pin
David Crow7-Sep-06 3:15
David Crow7-Sep-06 3:15 
AnswerRe: execute insert parametric queries of blob data type Pin
Mushtaque Nizamani7-Sep-06 5:58
Mushtaque Nizamani7-Sep-06 5:58 

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.