Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 131,479 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,829 people online right now. Registration is fast and FREE... Join Now!




need help in data struct

 
Reply to this topicStart new topic

need help in data struct, set and map

yannmey
post 14 Dec, 2005 - 07:26 PM
Post #1


New D.I.C Head

*
Joined: 14 Dec, 2005
Posts: 3


My Contributions


what does this means?

a) set< int, less< int > > s;

cool.gif if ( ( Data[x] ) [sres - 1] == '0' )


for question a), i have refered to some books but i dun understand clearly. Can anyone explain?? both code are in separate .cpp. Hope can get some replies. Thanks. blink.gif
User is offlineProfile CardPM

Go to the top of the page


Mrafcho001
post 14 Dec, 2005 - 07:36 PM
Post #2


D.I.C Addict

Group Icon
Joined: 1 Nov, 2005
Posts: 753



Thanked 5 times

Dream Kudos: 120
My Contributions


A) It is a templated class.
Find out more about templates.

cool.gif This seems to be an array of pointers point to arrays (lol?)
for example if you dynamicaly allocate memory for an array of objects (using GlobalAlloc for example) the pointer would point to an array. and if you have an array of pointers, each pointing to an array of objects (like a array of chars). I dont really know how to explain this one, maybe some one smarter than me would like to explain this one.
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/19/08 11:51PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month