[ create a new paste ] login | about

Link: http://codepad.org/fIlgoJzN    [ raw code | output | fork ]

C++, pasted on Oct 1:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
 
using namespace std;
 
int main( )
{
   char name[50];
 
   cout << "Please enter your name: ";
   cin >> name;
   cout << "Your name is: " << name << endl;
 
}


Output:
1
Please enter your name: Your name is: ��m��r��Ut��c�(Xt�`���


Create a new paste based on this one


Comments: