问答题答案:
动动手答案:
问答题答案:
0:计算机只能看懂机器码
1:是机器码,也叫机器语言
2:编译
3:解释性语言做出来的字节码需要经过解释器之后,才能由CPU执行
4:应该是不行的,操作系统不通用,产生的文件不一样
5:通过解释器来实现
6:其实就是转换
7:亲们趁敌人吃饭时发动进攻
问答题答案:
1
动动手答案:
问答题答案:
skdi
动动手答案:
问答题答案:
动动手答案:
问答题答案:
动动手答案:
问答题答案:
动动手答案:
问答题答案:
动动手答案:
问答题答案:
0.因为计算机听不懂人类语言
1.机器语言
2.汇编
3.编译型语言是可执行文件
4.可以
动动手答案:
问帅
动动手答案:
问答题答案:
1.告诉他什么就执行什么2.机器语言3.编译4.能5.Java6.编译运行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 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, 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;
}
1问答题答案:
动动手答案:
问答题答案:
动动手答案:
问答题答案:
0.只能看懂0和1
1.汇编语言
2.编译
3.
4.能
5.
6.
动动手答案:
问答题答案:
动动手答案:
问答题答案:
0. 计算机只能识别二进制
1. 机器语言
2. 编译
3. 编译器语言编译后最后转为机器语言,计算机能直接识别。解释型语言编译后,需要解释器解释后才能被计算机识别。
4. 不能
5. 使用适配不同平台的解释器
6. 编译型语言
7. 亲人们趁敌人吃饭时发动进攻
动动手答案:
问答题答案:
0.CPU只认识0和1
1.机器语言
2.汇编
3.解释型语言效率相对低一些
4.不能
5.用语言编译器
6.查表
7.趁敌人吃饭时发起总攻
动动手答案:
计算中....
目前你总写了103行代码
问答题答案:
动动手答案:
101
问答题答案:
不知道
动动手答案:
"C:\Users\刘有浩\Desktop\动动手截图.png"
问答题答案:
0.因为计算机是二进制只能识别0和1
动动手答案: