or is it possible?
thanks...
or is it possible?
thanks...
It depends on how you want to compare them.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
if "text version" of the strings is equal to the "number version" of an int...
like this...
char string[30] = "12345";
int number = 12345;
i want something that would tell that they are equal somehow...
Well, then convert the number to a string, or the string to a number (which may not always be feasible) then compare.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
sorry sis but i really dont know how [converting number to string]...
is it a function or is it? what? T.T
Check out the manpages for atoi, strtol, and sprintf.
thanks dude... and sis...