Re: [Dev-C++] Strange Behaviour with Short
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ricardo R. <ri...@un...> - 2003-04-04 17:51:39
|
you dont always get your first number as 0...
if you enter a negative number for your first number
then you get -1 for that number in your output!!....
to read short int---> scanf("%hd",&first).
Ricardo.
|