can C::B add two file *.cpp but compile indepently because CB often ask if there were two "int main()" (even in separate two files) ?
mingw32-g++.exe: error: unrecognized option '-shared-libstdc++'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
how can I do it? Please give me some detail if I want to build/debug a file? Thanks!
If the compiler-settings are correct, it will work, because you can debug one target and ignore the other one.how can I do it? Please give me some detail if I want to build/debug a file? Thanks!
The fastest way is to use a separate project for each file; that will work for you.
My answer of using separate targets was to your original question (of compiling two files with main in each); I have no idea if debugging will work right with separate targets.
Tim S.