If I write:
Code:
#include <iostream>
instead of <iostream.h>
I'll get this:
Code:
Compiling...
regn_overflow.cpp
c:\temporary files\regn_overflow\regn_overflow.cpp(9) : error C2065: 'cout' : undeclared identifier
c:\temporary files\regn_overflow\regn_overflow.cpp(9) : error C2297: '<<' : illegal, right operand has type 'char [13]'
c:\temporary files\regn_overflow\regn_overflow.cpp(9) : error C2065: 'endl' : undeclared identifier
Error executing cl.exe.
regn_overflow.exe - 3 error(s), 0 warning(s)
I have iostream in the
C:\Program Files\Microsoft Visual Studio\VC98\Include directory (837 bytes).
iostream.h is 2.397 bytes
But iostream hasn't got any extention...
In my book it says that an int has a range from:
-32.768 to 32.767
so when I get 60.000 it should get an overflow accordingly.