Hi!

I'm currently reading the tutorials on this page. For the moment, I'm reading the tutorial about the Vector Class.
To understand the tutorial, I tried to copy, paste and compile the source code as it was written in the tutorial.
Unfortunately, my compiler generated 8 (!!) error messages. I found out that when adding the '.h' extension at the header files in the include statements, most of the errors disappeared (Though I really wonder why; the tutorial explicitly states that you're supposed to write the header filenames without the '.h' extension.)

The actual error message i get when compiling (after adding the '.h' twice) says :
'Member identifier expected in function main()'

Also, I receive some warnings saying that I'm comparing signed an unsigned integers. (??)

Does anyone know why the tutorial is not working with my compiler?
(I'm using the Borland C++ 5.5 Compiler.)

I'm submitting my source code as well, please have a look at it.

Thanx.