Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dave

What is "std::list<IMMObject *> liveObjects;"

This topic is 5374 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Cant find any documentation on it! Anyone help me? regards, ACE [edited by - ace_lovegrove on March 29, 2004 5:43:20 PM]

Share this post


Link to post
Share on other sites
Advertisement
It is a variable named "liveObjects", of type std::list, i.e. it is an STL list of pointers to IMMObjects.

The IMMObject is presumably defined somewhere else in the code you''re working on. And if you can''t find documentation on std::list... oh dear. Results 1 - 10 of about 23,800 for std::list. (0.31 seconds) Presumably you have .31 seconds to spare, if you''re posting on Gamedev...

Share this post


Link to post
Share on other sites
youre right i do need to learn more about c++ why would i be asking?!?!?!


regards,
ACE

Share this post


Link to post
Share on other sites
quote:
Original post by coldacid
alnite: He''s got you there.
no, I meant more than that. What I mean is, if you see a code std::list< IMMObject* > liveObjects; you should know that what you should look for is std::list not the whole thing. You should know that IMMObject* is just a data type, and liveObjects is a variable name. You must be able to identify these pieces, and from your question you didn''t seem you could. Otherwise you could have found the documentation and help yourself (Zahlman found std::list pretty easily).

You asked the whole thing, that''s bad. I suspect that there are too many gaps in your understanding of C++. I think you tried to read a source code that is waay beyond your level.

Don''t get me wrong, that is a suggestion. You need to learn more C++. You need to fill in those gaps.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!