|
|
|
|
|
|
s******t 发帖数: 150 | 1 使用dev c++,
代码如下:
#include
#include
#include
using namespace std;
//------------------------------------
//-------- main()---------------------
//====================================
int main(int argc, char *argv[])
{
double a = 5.0;
cout << a <<endl;//
system("PAUSE");
return EXIT_SUCCESS;
}
//---------------------------------
Compiler: Default compiler
Building Makefile: "C:\Users\Documents\c++\learnCplus_OOP1\Makefile.win"
Executing make...
make.exe -f "C:\Users\wly\Documents\c++\learnCplus_OOP1\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/
mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
g++.exe main.o bookstore.o -o "learnCplus_OOP.exe" -L"C:/Dev-Cpp/lib"
Execution terminated
Compilation successful |
|
|
|
|
|