Hi
I'm learning C++ from this old book (1998), that was aimed at Turbo users, but it's just basic C++ functions and syntax based on the ANSII standard, working mostly with IOSTREAM.
I writing the exercises then compling them with VC++. It works fine, except, I can't initialise variables inside the int main() function, as is written in the book. I can only initialise them outside the main().
This is like a major significant difference between the two compilers. Does anyone know if I' likely to come accross any more such differences?
/J
I'm learning C++ from this old book (1998), that was aimed at Turbo users, but it's just basic C++ functions and syntax based on the ANSII standard, working mostly with IOSTREAM.
I writing the exercises then compling them with VC++. It works fine, except, I can't initialise variables inside the int main() function, as is written in the book. I can only initialise them outside the main().
This is like a major significant difference between the two compilers. Does anyone know if I' likely to come accross any more such differences?
/J