Small program I made.
I just made this when I was learning to use getline(). Here is the simple little program. Keep in mind I am a beginner.
Code:
#include <iostream>
using namespace std;
//This is just a simple program I made when I was learing to use strings.
int main(void)
{
string name;
cout << "Please enter your name so WE can recognize you: ";
getline(cin,name);
cout << "Hi " << name << ". We have been waiting for you... Prepare to DIE!!!!" << endl;
cin.get();
return 0;
}
