"
I have a friends list. Why ain't you on it?
Oh Yea. I don't like you. "...privateer
Try whit this:
// Function to get friends
// By the use of C ++
#include <iostream>
using namespace std;
int main()
{
int reply = 2;
cout << "\nDo you want be my friend?" << endl;
cout << "\n(Yes=1 or No=0)\n" << endl;
cin >> reply;
if (reply == 1)
{
cout << "\nThank you, now we're friends." << endl;
cout << "\nPress the enter key to exit" << endl;
cin.ignore(cin.rdbuf()->in_avail() + 2);
}
if (reply == 0)
{
cout << "\nOh Yea. I don't like you." << endl;
cout << "\nPress the enter key to exit" << endl;
cin.ignore(cin.rdbuf()->in_avail() + 2);
}
return 0;
}
Satisfaction guaranteed


Best Regards.