[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
QbasicFAQ_WhenToUseSubs » CppWchar_t » Martin Richards » Curl Content Language » CppLinkingError » Open Source » TurboCpp » BeginnersGuideToVB » WhatLinksHere » CppVclSendEmail » CHelloWorld
Displaying differences between revision 16 and the latest revision


= (C) Hello World =

[code]
#include<stdio.h>

int main()
{
printf("Hello World\n");
return 0;
}
[/code]

You can also add a line to ask for a key press (as suggested by sagar dhavare). This changes the program to:

[code]
#include<stdio.h>
#include<stdlib.h>

int main()
{
printf("Hello World\n");
system("pause");
return 0;
}
[/code]

== 'Hello world' links ==
* C++
* C++ Builder, console
* C++ Builder, VCL
* C++ Builder, CLX
* C++ BuilderX, console
* C++ BuilderX, Win32 API
* C#
* PHP
* Prolog
* [[TurboCppHelloWorld | Turbo C++]]¶
* [[
VisualPrologHelloWorld | Visual Prolog]]
* Win32 API

== Code links ==
* #include
* int
* main
* return
*  ?stdio (header file)



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

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  
© 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. Site Management by Lars Hagelin at Kontantkort.se.