Ok...
I am a newbie here and i need to know how to do this :confused:
Basically i'm trying to make the computer print the name that i input in there. Thing is i need to define "name", which is a string of lettersCode:
#include <iostream.h>
using namespace std;
int main()
{
????
cout<<"Hi there! I am PC, the computer. What's your name?:";
cin>>name;
cout<<"Hello " <<name<< endl;
std::cin.get();
return 0;
}
how do i do that? :confused: