[ create a new paste ] login | about

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

C++, pasted on Mar 13:
#include "stdafx.h"
#include <string>
#include <iostream>

using namespace std;
int main()
{
cout << "What game are you looking forward to in 2012?";
string mystr;
getline(cin,mystr);

if(mystr=="Jib life")
{
cout << "gtfo, 5 more years\n";
}

else
{
cout << "Whatever game you inputted, at least it's coming out this year\n";
}
return 0;
}


Output:
1
Line 19: error: stdafx.h: No such file or directory


Create a new paste based on this one


Comments: