Ok, I'm stupid

Status
Not open for further replies.

enwar3

Golden Member
Jun 26, 2005
1,086
0
0
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?
 

olds

Elite Member
Mar 3, 2000
50,129
781
126
It's in the (heavily begged for, seldom used) Programming Forum.
 

enwar3

Golden Member
Jun 26, 2005
1,086
0
0
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.
 

sao123

Lifer
May 27, 2002
12,656
207
106
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.
 

Cogman

Lifer
Sep 19, 2000
10,286
147
106
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.