Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Basic C++ programme
SUBMITTED BY:
Guest
DATE:
Aug. 8, 2013, 2:59 p.m.
FORMAT:
C++
SIZE:
477 Bytes
Raw
Download
Tweet
HITS:
809
Go to comments
Report
#include
<iostream>
#include
<cstdio>
using
namespace
std
;
int
main
()
{
//outputs Hello World!
cout
<<
"Hello World!"
<<
endl
;
//Pauses programme, universal method.
printf
(
"%s"
,
"Press ENTER key to continue..."
);
//Uncomment the next line when there is input.
//cin.ignore();
cin
.
get
();
//Not necessary but a good practice to end the programme. It is a function after all.
return
0
;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus