Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / << illegal for this class

Author
Message
Donlan
11
Years of Service
User Offline
Joined: 8th Feb 2013
Location:
Posted: 21st Apr 2013 15:20
I'm new to dark gdk and this error keeps coming up << illegal for this class here is the incorrect line


Cout << value;

Ps value is a variable


Thnx for the help
Juggalo Memnoch
16
Years of Service
User Offline
Joined: 22nd Apr 2008
Location:
Posted: 22nd Apr 2013 16:31 Edited at: 22nd Apr 2013 16:32
You should probably post all of your code if you could... But just lookin at what you did post, the the C shouldn't be capital.. it should be

Capitals matter in keywords

Boca
13
Years of Service
User Offline
Joined: 25th Nov 2010
Location:
Posted: 22nd Apr 2013 21:12
reply that could be simple error, c and c++ is case sensitive so the Cout with a capital letter if your using std::cout would give an error,,

this post will probly come in late since I am still under the new users on the forums, but hope this is the help you need,

Dave
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 27th Apr 2013 18:32
You also need to include the <iostream> header library to access cout (which is declared in the std namespace so you'd need to use that to qualify it if you don't have a "using namespace" directive in your code).


"Why do programmers get Halloween and Christmas mixed up?"

Login to post a reply

Server time is: 2024-11-18 21:43:51
Your offset time is: 2024-11-18 21:43:51