No such file or directory是怎么回事啊?
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/18 17:12:03
No such file or directory是怎么回事啊?
#include
#define PI 3.1415926
void main()
{
\x09float r,l,s,v;
\x09printf("请输入圆半径:\n");
\x09scanf("%f\n",&r);
\x09l=2*PI*r;
\x09s=PI*r*r;
\x09v=PI*r*r*r*3.0/4.0;
\x09printf("圆周长为%f\n",l);
\x09printf("圆面积为%f\n",s);
\x09printf("球体积为%f\n",v);
}
#include
#define PI 3.1415926
void main()
{
\x09float r,l,s,v;
\x09printf("请输入圆半径:\n");
\x09scanf("%f\n",&r);
\x09l=2*PI*r;
\x09s=PI*r*r;
\x09v=PI*r*r*r*3.0/4.0;
\x09printf("圆周长为%f\n",l);
\x09printf("圆面积为%f\n",s);
\x09printf("球体积为%f\n",v);
}
“No such file or directory”一般是没有找到文件的位置,你应该在属性中将它找不到的文件的路径添加到包含目录那一列里.具体做法为:点击菜单“项目”-“属性”.在弹出的属性对话框中选择“常规”,在“附加包含目录”处添加它找不到的文件的路径.
看你的代码没有任何错误.
同时,建议你将scanf("%f\n",&r)里的\n去掉.改成scanf("%f",&r);
看你的代码没有任何错误.
同时,建议你将scanf("%f\n",&r)里的\n去掉.改成scanf("%f",&r);
android no such file or directory
Unable to save resume file:No such file or directory
C++头文件(No such file or directory)
cannot read Matrix for instance : No such file or directory
VC++编译出错 No such file or directory
Cannot open include file:'slist.h':No such file or directory
make:Makefile:No such file or directory make:*** No rule to
File or directory not found.
Filesystem error (2):File or directory does not exist
Table does not exist.File or directory does not exist
Please login with USER and PASS.*.log*:No such file or direc
Table does not exist.File or directory does not exist这句话怎么意思