the program should include "c" language not "c++'

Discussion in 'C++' started by i_s_a_a_c, Oct 23, 2011.

  1. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    What happens if you simplify main so that it just calls SuNN with a fixed value, e.g.
    Code:
    int main()
    {
      SuNN(5);
      return 0;
    }
    
    You might need to double-check the syntax of a for loop in your course notes. Your choice of expressions around the semicolons doesn't make a lot of sense currently.
     
    i_s_a_a_c likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice