Click here to Skip to main content
15,891,744 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: execute insert parametric queries of blob data type Pin
Mushtaque Nizamani7-Sep-06 6:02
Mushtaque Nizamani7-Sep-06 6:02 
GeneralRe: execute insert parametric queries of blob data type Pin
David Crow7-Sep-06 8:03
David Crow7-Sep-06 8:03 
QuestionRemoving Titlebar of the Frame Window Pin
Sarath C7-Sep-06 1:17
Sarath C7-Sep-06 1:17 
AnswerRe: Removing Titlebar of the Frame Window Pin
Rinu_Raj7-Sep-06 1:25
Rinu_Raj7-Sep-06 1:25 
GeneralRe: Removing Titlebar of the Frame Window Pin
Sarath C7-Sep-06 1:31
Sarath C7-Sep-06 1:31 
GeneralRe: Removing Titlebar of the Frame Window Pin
prasad_som7-Sep-06 1:42
prasad_som7-Sep-06 1:42 
GeneralRe: Removing Titlebar of the Frame Window Pin
Sarath C7-Sep-06 1:52
Sarath C7-Sep-06 1:52 

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.