Amir Osama
Amir Osama

Reputation: 19

CodeLite not running c++ program

I configured CodeLite version 17.10 on Windows and the compiler I'm using is MinGW-w64 version GCC 14.2.0. I wrote the following code:

#include <iostream>

using namespace std;

int main() {
    cout << "Hello World!" << endl;
    return 0;
}

When I try to build it works without any errors but when I run I get the following:

==== Program exited with exit code: 32760 ====
Time elapsed: 000:00.000 (MM:SS.MS)
Press any key to continue...

Can anyone tell me what I did wrong and how can I fix this? Also what does the code 32760 indicate?

Upvotes: 0

Views: 110

Answers (1)

Jon Gecsek
Jon Gecsek

Reputation: 1

For me, it's a compiler error. I use both C and C++ with codelite and if I forget to change my compiler when I go from one to the other (hit the wrench in the Project Folder menu to change), I will get that error. I hope this helps.

Upvotes: -1

Related Questions