1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,468
    Likes Received:
    10,143
    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