Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
c++ basics
SUBMITTED BY:
ebitfaucet
DATE:
April 3, 2016, 2:39 p.m.
FORMAT:
C++
SIZE:
247 Bytes
Raw
Download
Tweet
HITS:
871
Go to comments
Report
#include
<iostream>
using
namespace
std
;
int
main
()
{
// declare integers
string
something
;
cout
<<
"Please write something"
<<
endl
;
cin
>>
something
;
cout
<<
"Thanks!"
<<
endl
;
cout
<<
"You just wrote: "
<<
something
<<
endl
;
return
0
;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus