Ad
  • Default User Avatar

    I'm fairly certain that I have written faulty code, but what part of my code needs fixing I'm clueless about. Thanks for the input Though :)

  • Default User Avatar

    main.cpp:36:1: warning: control may reach end of non-void function [-Wreturn-type]
    }
    ^
    main.cpp:57:6: error: unknown type name 'lon'; did you mean 'long'?
    }lon
    ^~~
    long
    main.cpp:58:1: error: expected member name or ';' after declaration specifiers
    };
    ^
    1 warning and 2 errors generated.

    what?