0
Could someone please tell me what's wrong with this code? It's c++.
#include <iostream> using namespace std; int main() { cout << " Hello there, mister." << endl; cout << " How are you today?"<< end; cout << " Hello there, mister. \n How are you today?"; return 0; }
3 odpowiedzi
+ 6
maybe endl instead of end in line 5
Edit: You can include (also non-public) codes to your posts, which makes answering easier
+ 1
God, I'm so slow... Thank you Aaron. Really amusing that I ended up making the same mistake every time I wrote that code.
0
Everybody needs to start somewhere. Just keep coding :)