Well its as difficult as it says. Lawl
- Code: Select all
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
cout << "I love Marss++;
cout << "and I love programming" << endl;
return 0;
}
Do you see the error on line 7?
- Code: Select all
cout << "I love Marss++;
Tho solution you ask Argio???
- Code: Select all
cout << "I love Marss++";
Wait a sec Argio, how the hell does this work?
Well, if I had cout << "I love Marss++; I would be turning the rest of my code on the line into what my program was going to output thus making ; not work because it has became part of output. but then the output can not execute without the ; so the program won't work. D:
I love C++, for reasons I have yet to discover.
All the haters love me so lovers stop hating.
