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

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,012
    Likes Received:
    203
    Trophy Points:
    0
    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