system( ) is not working

2013-05-14
2013-05-14
  • Erick_Torres
    Erick_Torres
    2013-05-14

    I recently got the latest version of dev c++, because I upgraded to windows 8. Now, the compiler won't recognize any system( ), like system("cls"). When I try to compile this error comes out:

    [Error] 'system' was not declared in this scope

    I tested with a small program on PC with windows 7, using dev c++ 4.9.2. Then I tried it on the new dev c++, and it didn't work because of that error with system().

    Does anyone know how to fix this?