Error 216 when run C++ in Jgrasp

350 views Asked by At

I saved the file and linked it successfully, but when I run it, the run I/O shows:

****----**jGRASP wedge2 error: could not run** 

("C:\Users\\***\Documents\\***\code\superbowl.exe" ).

 **----   error # 216 "(null)".**

 ----jGRASP: operation complete.****

How can I fix it?? I can run other programs saved in the same folder. And I think it's nothing wrong with my code:

#include <iostream>

int main()
{
    const unsigned int TOUCHDOWN=6;
    const unsigned int FIELD_GOAL=3;
    const unsigned int POINT_AFTER_TOUCHDOWN=1;
    const unsigned int SAFETY=2;
    std::cout << TOUCHDOWN + FIELD_GOAL + POINT_AFTER_TOUCHDOWN + SAFETY << "\n";
    std::cout << "Carolina Panthers win" << std::endl;
    return 0;
}
1

There are 1 answers

0
Larry Barowski On

216 is machine type mismatch.

Can you run the executable by double clicking it (from outside jGRASP)?