help a newcomer

Hello,

I am a beginner at coding, and i really need som help.
I'm in the beginner stage of coding with c++, and i am using the tutorial found on this site, to get to know about c++. As i've been reading through the first pages, i tried to do a little code, that looks just like the showed tutorial code. the only problem is that it comes out with an error, in the "court" even though, i've used all the neccessary parametres, to make it available to use.

My code looks like this:
1
2
3
4
5
6
7
8
#include <iostream>
using namespace std;

int main()
{
	court << "hello my fellow people"; // 'court' was not declared in this scope
	return 0;
}


Any help is appreciated :-)
What is "court"?

I'm guessing you meant cout ?
Hey man,

You should use cout instead of court. Hope it helped!
I have fixed my issue.
Just realized i spelld' "court" and not "cout"

Topic archived. No new replies allowed.