Question #77858 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/77858
Status: Open => Answered
actionparsnip proposed the following answer:
If you use:
#include <iostream>
using namespace std;
void main()
{
cout << "Hello World\n";
}
Then you avoid it
for cin use something like:
#include <iostream>
using namespace std;
void main()
{
int age;
cout << "Please tell me your age : ";
cin >> age
cout << "You are " << age*365 << " days old!" << endl;
}
Oh takes me back....
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.
_______________________________________________
Mailing list: https://launchpad.net/~ubuntuforums-unanswered
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntuforums-unanswered
More help : https://help.launchpad.net/ListHelp