[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
talk:BeginnersGuideToCPlusPlus
This page is to discuss "BeginnersGuideToCPlusPlus". You can ask questions or make comments.
What is a talkpage?
I'm new to C++ coding and have just got the Visual Studio. Why can't the .h extension not be used? and why does the following program not work:-

  1. include <iostream>
main()

{ cout << "hello world";

}

The compiler errors with 'error C2065: 'cout' : undeclared identifier'. If cout no longer works that's my beginners book in the rubbish bin. pleas help.

last edited (July 25, 2004) by blastradius, Number of views: 1113, Current Rev: 1

[Edit this page]  [Page history]  [What links here]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.