On 5/24/07, chipaug <[EMAIL PROTECTED]> wrote:
> I'm trying to learn C++. I've gotten a copy of "Accelerated C++" and
> have started to read. I got as far as the first paragraph in chapter
> 0 before getting stuck. The Hello World program in the book is as
> follows.
>
> // a small C++ program
>
> #include <iostream.h>
>
> int main()
> {
> std::cout << "Hello, World!" << std::endl;
> return 0;
> }
>
> When I attempt to build this in Visual Studio 6, I get the following
> errors.
Visual Studio 6 is pre-standard C++, meaning it can fail to compile
otherwise correct programs.
You should get a more recent compiler, probably the best would be
Visual Studio 2005 Express Edition, which is freely downloadable from
Microsoft, and adheres to the standards. Use it.
--
Tamas Marki