Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralParsing URLS in C++ Pin
13-Sep-01 7:26
suss13-Sep-01 7:26 
GeneralRe: Parsing URLS in C++ Pin
Nemanja Trifunovic13-Sep-01 7:33
Nemanja Trifunovic13-Sep-01 7:33 
GeneralRe: Parsing URLS in C++ Pin
Erik Thompson13-Sep-01 7:40
sitebuilderErik Thompson13-Sep-01 7:40 
GeneralRe: Parsing URLS in C++ Pin
Jon Sagara13-Sep-01 8:26
Jon Sagara13-Sep-01 8:26 
GeneralRe: Parsing URLS in C++ Pin
Todd Smith13-Sep-01 8:50
Todd Smith13-Sep-01 8:50 
GeneralRe: Parsing URLS in C++ Pin
Anders Molin13-Sep-01 9:21
professionalAnders Molin13-Sep-01 9:21 
GeneralRe: Parsing URLS in C++ Pin
20-Nov-01 8:47
suss20-Nov-01 8:47 
GeneralSTL containers Pin
Obliterator13-Sep-01 6:50
Obliterator13-Sep-01 6:50 
Hi all,

I'm just beginning to learn STL, primarily the container classes and wanted to know what is the best way to store two related values.
For example I wish to store x and y points in a graph...

The vector container looks ideal for my needs... but am I correct in assuming I have to create my own class to contain the x and y values? Then store instances of my class in the vector container?

Or, would the map container be me more suited to this purpose?

Basically I need to know the most generic, but fast, way of storing such x y values.

Thanks all.


--

The Obliterator
GeneralRe: STL containers Pin
Tomasz Sowinski13-Sep-01 6:56
Tomasz Sowinski13-Sep-01 6:56 
GeneralRe: STL containers Pin
Obliterator13-Sep-01 7:03
Obliterator13-Sep-01 7:03 
QuestionCTreeCtrl multiselect? Pin
Ken Goguen13-Sep-01 6:13
Ken Goguen13-Sep-01 6:13 
AnswerRe: CTreeCtrl multiselect? Pin
Tomasz Sowinski13-Sep-01 6:28
Tomasz Sowinski13-Sep-01 6:28 
GeneralRe: CTreeCtrl multiselect? Pin
Ken Goguen13-Sep-01 8:37
Ken Goguen13-Sep-01 8:37 
AnswerRe: CTreeCtrl multiselect? Pin
Obliterator13-Sep-01 6:32
Obliterator13-Sep-01 6:32 
QuestionC++ MAKEDOUBLE ?? Pin
LX13-Sep-01 5:55
LX13-Sep-01 5:55 
AnswerRe: C++ MAKEDOUBLE ?? Pin
Tomasz Sowinski13-Sep-01 6:23
Tomasz Sowinski13-Sep-01 6:23 
GeneralRe: in fact, STL Problem... Pin
LX13-Sep-01 6:45
LX13-Sep-01 6:45 
GeneralRe: in fact, STL Problem... Pin
Tomasz Sowinski13-Sep-01 6:59
Tomasz Sowinski13-Sep-01 6:59 
GeneralRe: in fact, STL Problem... Pin
LX13-Sep-01 7:40
LX13-Sep-01 7:40 
AnswerRe: C++ MAKEDOUBLE ?? Pin
Mukkie14-Sep-01 10:40
Mukkie14-Sep-01 10:40 
GeneralUpdateResource on Win95 Pin
13-Sep-01 5:52
suss13-Sep-01 5:52 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 6:20
Tomasz Sowinski13-Sep-01 6:20 
GeneralRe: UpdateResource on Win95 Pin
13-Sep-01 8:14
suss13-Sep-01 8:14 
GeneralRe: UpdateResource on Win95 Pin
Tomasz Sowinski13-Sep-01 8:25
Tomasz Sowinski13-Sep-01 8:25 
GeneralRe: UpdateResource on Win95 Pin
13-Sep-01 9:38
suss13-Sep-01 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.