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 / Problems using a stack with GDK

Author
Message
Guldan the Warlock
20
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Azeroth
Posted: 7th May 2007 03:18
Hi Everyone.

So I'm working on one of my projects and I decide to use a stack. I included <stack> on my main file, and defined the stack var as such

Quote: "
stack<int> ids;
"


When I went to compile I recieved a bunch of errors:



line 92 in structs.h is the line above where I defined the stack exactly as it appears. It is inside a struct, but I don't think that that would matter.

So I'm thinking is there a conflict somewhere with the GDK, or am I doing something wrong? What headers does DarkGDK.h include by the way? Is the std namespace also already included? I ask because when I go to define a stack, it gives me the stack prototype in a tooltip, which tells me it should already be included. Same if I type std:: I get the list of all members of the standard namespace. Any ideas on why this isn't working?

Login to post a reply

Server time is: 2024-09-28 23:18:29
Your offset time is: 2024-09-28 23:18:29