B站上课问题
老师,我编译时没错,但是运行时总有一个错,cannot open file "Debug/ww.exe"是怎么回事? 信息太少,可以具体的描述一下你的问题吗? cannot open file "Debug/ww.exe"可能是 针对执行程序看来 这个相对路径或者目录 不存在,你可以换成绝对路径 试下 情绪z 发表于 2020-12-25 10:57
信息太少,可以具体的描述一下你的问题吗?
代码
#include<stdio.h>
#define PRICE 30;
void nain()
{
int nun,total;
nun=10;
total=num*PRICE;
printf("total=%d” , total);
}
错误说明
-Configuration: 84 - Win32 Debug-L inking.
LINK : fatal error LNK1184: cannot open file "Debug/ 04. exе"执行1ink.exe时出错. 吃西瓜的wen 发表于 2021-1-7 22:28
代码
#include
#define PRICE 30;
刚装的软件就这样,我也不知道哪里错了,编译时无错误,运行时总是显示这个错误
hiwch 发表于 2020-12-25 17:54
cannot open file "Debug/ww.exe"
可能是 针对执行程序看来 这个相对路径或者目录 不存在,你可以换成 ...
绝对路径怎么换 nain错了吧,不是main吗?
页:
[1]