Results 1 to 3 of 3

Thread: Basic question about c++ (no pun intended)

  1. #1
    That's me! blackmage_nuke's Avatar
    Join Date
    Aug 2005
    Location
    Yes
    Posts
    8,503
    Blog Entries
    3

    Default Basic question about c++ (no pun intended)

    I need someone to explain to me how to change object properties during runtime.

    For example i know in visual basic if i wanted to change the location of an image i'd go image.left = whatever, thus changing it's left property

    How do i do this in c++?

    Its always hard to find answers to the simpler questions on google.
    Kefka's coming, look intimidating!
    Have a nice day!!

  2. #2

    Default

    Well, if you're talking about simply setting the value of a variable to something else, then
    Code:
    variable = new value;
    would certainly work. If that's not what you mean, then please elaborate a bit, as the question was a bit confusing.

    EDIT: Whoa, sorry. Didn't realize how old this was, my bad. *facepalm*
    Last edited by The Unknown Guru; 07-06-2009 at 09:34 AM.

  3. #3
    That's me! blackmage_nuke's Avatar
    Join Date
    Aug 2005
    Location
    Yes
    Posts
    8,503
    Blog Entries
    3

    Default

    Never mind i figured it out a while ago, i was talking about how to edit controls in the form template with c++
    Kefka's coming, look intimidating!
    Have a nice day!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •