我想将.c / .cpp文件和.exe文件放在不同的文件夹中。
这怎么可能?
当我执行代码时-
- C ++编译器:C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ bin \ g ++。exe
- 命令:g ++。exe“ D:\ C \ init \ pointers \ String.cpp” -o“ D:\ C \ init \ pointers \ String.exe” -I“ C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ include“ -I” C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ x86_64-w64-mingw32 \ include“ -I” C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ lib \ gcc \ x86_64-w64-mingw32 \ 4.9.2 \ include“ -I” C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ lib \ gcc \ x86_64-w64-mingw32 \ 4.9.2 \ include \ c ++“ -L” C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ lib“ -L” C:\ Program Files(x86)\ Dev-Cpp \ MinGW64 \ x86_64-w64-mingw32 \ lib“ -static-libgcc