Need help with simple stuff (I suck at this)

Discussion in 'C, C++, C#' started by Erebos, Jan 26, 2012.

  1. Erebos

    Erebos Junior Member

    Joined:
    Dec 13, 2011
    Messages:
    137
    Likes Received:
    35
    Problem solved nevermind
     
    Last edited: Jan 26, 2012
  2. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,888
    Likes Received:
    12,760
    Occupation:
    Potentate
    Location:
    Asuncion
    My C is rusty but it seems to me that you should replace int with float for the local variables. And replace == with =.
     
    • Thanks Thanks x 1
    Last edited: Jan 26, 2012
  3. Erebos

    Erebos Junior Member

    Joined:
    Dec 13, 2011
    Messages:
    137
    Likes Received:
    35
    Problem solved nevermind
     
    Last edited: Jan 26, 2012
  4. Erebos

    Erebos Junior Member

    Joined:
    Dec 13, 2011
    Messages:
    137
    Likes Received:
    35
    Problem solved nevermind
     
    Last edited: Jan 26, 2012
  5. Erebos

    Erebos Junior Member

    Joined:
    Dec 13, 2011
    Messages:
    137
    Likes Received:
    35
    Problem solved nevermind
     
    Last edited: Jan 26, 2012