[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
CppBuilderXConsoleHelloWorld

(C++ BuilderX Hello world program, console

See C++ Hello World program for details on the code.

  1. 'File | Close All'
  2. 'File | New | New Console'
  3. In this window, do 'Next', 'Next' and check the checkbox for source code, then 'Finish'
  4. Doubleclick on 'Untitled1.cpp' (your source code)
Now you will have on screen:
  1. ifdef __BORLANDC__
      1. pragma argsused
  2. endif
int main( int argc, char * argv[] ) { return 0; }


The 'Hello World' program in its shortest form will be:
  1. include <iostream>
int main() { std::cout << "Hello world"; }


'Hello world' links



last edited (December 1, 2006) by bilderbikkel, Number of views: 2787, Current Rev: 8 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [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.