# Project: 项目1
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = bookFun.o bookMain.o
LINKOBJ = bookFun.o bookMain.o
LIBS = -L"D:/Dev-Cpp/MinGW64/lib" -L"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc
INCS = -I"D:/Dev-Cpp/MinGW64/include" -I"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
CXXINCS = -I"D:/Dev-Cpp/MinGW64/include" -I"D:/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"D:/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
BIN = 项目1.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm.exe -f
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
bookFun.o: bookFun.cpp
$(CC) -c bookFun.cpp -o bookFun.o $(CFLAGS)
bookMain.o: bookMain.c
$(CC) -c bookMain.c -o bookMain.o $(CFLAGS)
没有语法错误,直接弹出这个。。。。则么改,我错在哪了
dev c++编译错误
答案:2 悬赏:20 手机版
解决时间 2021-03-01 18:50
- 提问者网友:酱爆肉
- 2021-03-01 04:51
最佳答案
- 五星知识达人网友:山有枢
- 2021-03-01 05:27
弹出神马么?
全部回答
- 1楼网友:污到你湿
- 2021-03-01 05:38
1.这个地方括号不匹配,修改如下
int minimum(minside sz,mgraph g)
{
int i=0,j,k,min;
while(!sz[i].lowcost)
{
i++;
min=sz[i].lowcost;
k=j;
}
return k;
}
2.下面这个函数拼写错误太多,不过已改正
void minispantree_prim(mgraph g,vertextype u)
{ int i,j,k;
minside closedge;
k=locatevex(g,u);
for(j=0;j
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯