666
0.只认识0,1
1.机器语言
2.编译
3.编译语言能被计算机直接读取,解释型语言需要解释器解释和才能被计算机读取
4.能
5.
6.摩斯密码的原理是用特殊的符号代表具体的字母
7.
鱼c做的真的挺好
因为计算机是靠人的编程运行,其没有思想。
c语言
编译
不知道
可以但需要移植
不知道
查表
查看参考答案
鱼总帅气
甲鱼甲鱼,为什么第17行总是报错啊(win系统
)
居然是龟仙人
#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)
{
FILE *fp;
int count = 0;
int temp;
if ((fp = fopen(filename, "r")) == NULL)
{
fprintf(stderr, "Can not open the file: %s\n", filename);
return 0;
}
while ((temp = fgetc(fp))! = EOF)
{
if (temp == '\n')
{
count++;
}
}
fclose(fp);
return count;
}
void findAllCodes(counst char *path)
{
struct_finddata_t fa;
long handle;
char thePath, target;
strcpy(thePath, path);
if((handle = _findfirst(strcat(thePath, "/*.c"), &fa)) ! = -1L)
{
do
{
sprintf(target,"%s/%s", path ,fa. name);
total += countLines(target);
}while (_findnext(handle, &fa) == 0);
}
_findclose(handle);
}
void findALLDirs(const char *path)
{
stuct _finddata_t fa;
long handle; char thePath;
strcpy(thePath , path);
if((handle = _findfirst(stdcat(thePath, "/*"), &fa)) == -1L)
{
fprint(stderr, "The path %s is wrong!\n", path);
ruturn;
}
do
{
if(!strcmp(fa.name, ".") || !strcmp(fa.name, ".."))
continue;
if( fa.attrib == _A_SUBDIR)
{
sprintf(thePath, "%s/%s", path , fa.name);
findAllCodes(thePath);
findALLDirs(thePath);
}
}while (_findnext(handle, &fa) == 0);
_findclose(handle);
}
int main()
{
char path = ".";
printf("计算中...\n");
findAllCodes(path);
findALLDirs(path);
printf("目前你总共写了%ld行代码! \n\n", total);
system("pause");
return 0;
}
查看参考答案
000
0,只懂2进制
1,汇编语言
2,编译
3,是否有 解释器 操作
4,能
5,通过 解释器?
6,编码
7,才不想管你呢!
0,0……
已经完成,亲们趁敌人吃饭时发动攻击{:9_227:},这个代码自己打上去最后错了一点...
真不戳
零基础开始努力学习
啊
答案
参考答案
102
{:5_105:}