看
呵呵
看看
0.只认识二进制
1.机器语言
2.编译
3.一个通过 汇编 机器 CPU一个 字节码 解释器cpu
4.能
5.解释器
6. 将字母转换成4位长波短波形式
其实,我是想看看那段莫斯密码是什么意思
0:因为计算机只能识别和处理“0”和“1”符号符串组成的代码,运算模式是二进制。
1:机器语言
2:编译
3:编译型语言最终会被翻译成机器代码可以直接被CPU执行,解释型语言不直接编译成机器码源代码转化中间代码,在发送给解释器,最终给CPU执行。
4:能
5:字节码发送给解释器。
6:查表。
7:亲们趁敌人吃饭时发动进攻。
呵呵
S
新人报道
123
小甲鱼
0.计算机只认识0和1
1.机器语言
2.编译
3.编译型语言是把源文件编译成汇编语言,而解释型语言是将源文件生成为字节码,然后再将字节码转为机器能识别的汇编语言
4.不可以
5.解释器统一将源代码解释为字节码
6.同步点与横的组合,组合成不同的字符和数字
7.
.......................................
#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 findAllCodes(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, 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)
{
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;
}
{:10_277:}{:10_277:}{:10_277:}
11
QIN MEN CHEN DI REN CHI A DONG JIN GONG
0. 因为计算机只“看得懂”0/1的二进制机器码;
1. CPU唯一认识的语言是机器语言;
2. C语言编写的源代码转换为汇编语言的过程叫编译;
3. 编译型语言和解释型语言的本质区别是编译执行过程是否先后执行;
4. 可以;
5. 解释型编程语言通过解释器实现跨平台;
6. 摩斯密码的原理是编译;
7. 亲们,趁敌人吃饭时发动进攻!
{:7_113:}
0000000000000000