That totally works, thanks for the quick reply.
Type: Posts; User: trnd
That totally works, thanks for the quick reply.
Hey guys I have a question about this function (needs to calculate the number of digits of any integer). My problem is- How do I return 1 in case of the number that is given is 0 since 0 is a 1 digit...
sphynxter I just saw your post.
VS2008 did issue a warning yet by being so annoyed by the fact that the program did not work I didn't know what to do with it.
warning C4033: 'rec' must return a...
Thanks a lot. worked like a charm.
Hey guys I'm new here, I have a problem with this function, can anyone tell me what's wrong?
int rec (char *s, char c);
int main()
{
char s[10]="abra";