膜拜。
答案
wo ai xiao jia yu
1
0. 计算机只能识别二进制
1. 机器语言
2. 编译
3. 编译型语言在程序执行之前,有一个单独的编译过程,将程序翻译成机器zhi语言,以后执行这个程序的时候,就用再进行翻译了。解释型语言,是在运行的时候将程序翻译成机器语言,所以运行速度相对于编译型语言要慢。
4. 应该可以?
5. 解释型语言先天就和平台联系很少,所以,用解释型语言写出来的一份同样的程序,只要通过不同的解释器解释,就可以在对应不同的平台上使用。
6. 电线型号,翻译成语言
7. QINMEN
CHEND
IRENC
HIFAN
SHIF
ADONG
JINOG
NO
为什么我写的和作者一样但是我的程序提醒是错的啊,但是把代码复制粘贴上去又能编写了,错误的是【MAX】
支持
0:计算机只能认识二进制的“0”“1”
1:机器语言
2:编译
3:编译型语言是先全部做完在编译,解释型语言是边做边编译
4:可以
5:通过解释器
6:通过不通顺序的字母,数字,符号排列组合
7:
6666666666666
1.因为计算机只懂得二进制的0和1
2.0和1的组合称之为机器码,机器码是cpu唯一认识的语言
3.编译
4.区别是,编译型语言可事先编译然后直接cpu执行,解释型语言不会实现编译而是把代码翻译成机器语言
5.Java是由编译器成字节码再由解释器翻译再cpu执行,编译器不同和解释器不同导致她可以跨平台
#include <io.h>
#include <direct.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX256
long total;
int countLines(const char *filenma);
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(const char *path)
{
struct _finddata_t fa;
long handle;
char thePath;
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)
{
struct _finddata_t fa;
long handle;
char thePath;
strcpy(thePath,path);
if((handle = _findfirst(strcat(thePath, "/*"), &fa)) == -1L)
{
fprintf(stderr,"The path %s is wrong!\n",path);
return;
}
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("目前你总共写了 %1d 行代码!\n\n",total);
system("pause");
return 0;
}
括号始终是错的不知道为什么 来看看答案
查看答案
。
11
1
{:5_103:}
。
啊这
康康答案是啥
0.因为计算机只能识别0和1
1.机器语言
2.编译
3.解释型语言比较灵活,编译型语言比较有效率
4.可以
5.先编译成汇编语言,再变成机器语言
6.
7.