C++ Cant get even the beginning correctly

Here is the code

#include

using namespace std;

int main()
{
cout << “Hello world!” << endl;
cout << “Iamaloser” << endl;

return 0;

}

Also tried that
#include

using namespace std;

int main()
{
cout << " / l" << endl;
cout << " / l" << endl;
cout << " / l" << endl;
cout << “/ l” << endl;

return 0;

}

BUT THE PIECE OF DOG SHIT COMPILER RUN BUTTON IS FROZEN!

However, neither the run button or the build and run button are working. Are you kidding me?

Also why does the piece of dog shit compiler freezes every single time I close it…WHAT A PIECE OF DOG SHIT

You are using an include directive without telling the linker what you want to include.

Try

#include <iostream> 
using namespace std;
int main()
{
cout << “Hello world!” << endl;
cout << “Iamaloser” << endl;

return 0;
}



1 Like

THanks, things are working now.

I will be complaining a lot more in the future no need to worry.

Thank you, apparently the problem is after you run the problem is that you have to press some key like enter for whatever you call the black screen so you can rerun.

C++ is a large and complex language. I would really recommend you get a reference book . Either https://www.amazon.com/dp/0321714113/ or https://www.amazon.com/dp/0321992784

1 Like