• Advertisement
Sign in to follow this  

String data members

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