• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Ok, I'm stupid

Status
Not open for further replies.

enwar3

Golden Member
I can't figure it out and my textbook is worthless. What's the #include I put at the top of my .cpp file (C++) that lets me use maps?
 
I've literally been at this for an hour. Could you just spell it out for me. I'm looking through the references in the Programming Forum and am having a hard time.
 
Originally posted by: oldsmoboat
It's in the (heavily begged for, seldom used) Programming Forum.

just because topics dont disappear from the front page in 10 minutes like they do here in OT, doesnt mea its seldom used.

programmers dont want to have to go in and bump their thread every 12 minutes so its visibile enough to get an answer.
 
ahh, they beat me to it.

#include <map>

std::map<int, blah> someMap;

STL includes are named after the object being included. So map, vector, queue, deque, ect.
 
Status
Not open for further replies.
Back
Top