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