> the compiler will assume
Are you sure? I wouldn't trust it.
> the compiler will assume
Are you sure? I wouldn't trust it.
The world is waiting. I must leave you now.
I suppose that will do.the compiler will assume whatever function you dont include a header for is extern and search the standard headers then headers in the directory your working from for the matching function
>Are you sure? I wouldn't trust it.
Every compiler I know of will do this, but you can never be sure. So it's always best to include the proper headers.
>i dont get how this works can someone explain?
>scanf("%1[1234]c%*c",&choice);
scanf will read one character which can only be within the range of 1 - 4. It will then read the trailing newline in an attempt to clear the buffer.
-Prelude
My best code is written with the delete key.
cheers every1 for you help it is much appreciated and i understand the simple stuff and it has been very useful! Seems like i accidentally started of a bit of a tiff, lol. Cheers guys.