Per, Tokra
thanks for the replies.
so I could have something like this...
char* tmp;
while(isalnum(report[index])==TRUE)
{
strcat(tmp, (const char*)report[index]);
index++;
}
I guess though that my problem is that I don't know how big tmp is going to be at the outset so I can't...
thanks for all the help guys - i got it working ok now.
One more question though -
Is it a bad idea to append values to a char*?
I have the following:
char* tmp;
while(isalnum(report[index])==TRUE)
{
*tmp += report[index];
index++;
}
"report" is a character array...
Hi,
I'm new to c++, and am trying to parse a string and find the number of lines...
I am having problems finding all the carriage returns with the following code:
char* tmp;
//skip to the end of the line
while (*tmp != '\n')
tmp++;
Is there a better way of finding this character?
Thanks.
Hi,
I am relatively new to j2ee, and am having problems getting the basics working.
I am using sun's j2ee application server, and sun's deploytool to deploy the application.
The application deploys no problem, but when I run it I get the following error -
Application threw an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.