|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
不知道为什么上不了图片 自己敲得代码和小甲鱼给的代码运行结果都一样, 显示结果为0
计算中...
The path .Debug is wrong !
目前你总共写了0行代码!
请按任意键继续. . .
文件地址是“C:\Users\小傻子、Desktop\1\Debug\1.exe"
请问大佬们应该怎么改 谢谢啦
#include <io.h>
#include <direct.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX 256
long total;
int countLines(const char *filename);
void findAllCodes(const char *path);
void findALLFiles(const char *path);
int countLines(const char *filename)
{
本帖最后由 superbe 于 2019-9-8 13:50 编辑
把.c文件放在exe文件同一路径下(子目录也可以)运行,
随便拷几个.c过去测试一下
|
|