Hi, I am using gcc compiler to compile the program and build an exe
I used this command to compile
gcc program.cpp -g -o program (generates program.exe and runs fine)
But, if i write the same thing in system("gcc program.cpp -g -o program"); programmatically, then the exe is generated but, while running it I get a prompt saying "the exe is not compatible...... make see whether you need 32 bit or 62 bit"
I'm using dev c++ for the program! any solutions??