|
-
April 20th, 1999, 12:40 PM
#1
What am I doing wrong
int CSQLEngine::Set_New_Line(CString s_Line)
{
int String_Line_Index = 0;
int stringLen;
char *tmpChar;
do
{
stringLen = strlen(strchr(s_Line , ','));
strncpy(tmpChar, s_Line + stringLen, 2);//
Word_List_Start = Word_List_Start + stringLen + 1;
//String routines
}while( (int)strlen(s_Line) > (int)String_Line_Index );
return(0);
}
the compiler won't let me use the integer in the strchr function. I would like to use it like an offset to start searching from.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|