Jump to content
  • Advertisement
Sign in to follow this  
NUCLEAR RABBIT

String data members

This topic is 4524 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

Hello, I was reading in my book, and i saw that it was talking about string data members, and it gave an example. ex: ship.energy; // energy = 20; I was wondering how to create a data member. I searched google really quick, but couldnt find anything useful. [Edited by - NUCLEAR RABBIT on July 2, 2006 10:52:06 PM]

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by NUCLEAR RABBIT
Hello,

I was reading in my book, and i saw that it was talking about string data members, and it gave an example.

ex: ship.energy; // energy: int

I was wondering how to create a data member. I searched google really quick, but couldnt find anything useful.
Not sure there's enough information here to give a reasonable answer; the example isn't particularly meaningful. You may have to be more specific.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!