问答题答案:
二进制
动动手答案:
问答题答案:
动动手答案:
问答题答案:
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 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和1
动动手答案:
问答题答案:
102
动动手答案:
102
问答题答案:
动动手答案:
问答题答案:
1
动动手答案:
1
问答题答案:
动动手答案:
问答题答案:
动动手答案:
问答题答案:
0:计算机底层是二进制。
1:机器语言。
2:编译。
3:编译型语言执行完毕后解释, 解释型语言边执行边解释。
4:不能,c语言不跨平台。
5:通过解释器逐句翻译给cpu。
动动手答案:
102行代码
问答题答案:机器只知道机器语言
动动手答案:
问答题答案:
动动手答案:
53行跟你一摸一样 vc6.0报错
问答题答案:
0.因为他不具备人脑对问题的处理方式,比如只能识别二进制
1.二进制
2.忘记了
3.后者需要媒介
4可以
5
动动手答案:
马上就去
问答题答案:
机器语言
动动手答案:
问答题答案:0.因为计算机的大脑是CPU,CPU只认识0和1
1.机器语言
2.编译
3.编译型语言是将源代码先编译成机器码,解释型语言是换成中间代码,然后发送给解释器
4.不能
5.解释型语言
6.查表
7.亲们趁敌人吃饭时发动进攻
动动手答案:
1问答题答案:
动动手答案:
问答题答案:
动动手答案:
求求了不会写啊
问答题答案:
budong
动动手答案:
1.因为只认识机器语言 2.机器语言 3.汇编程序 4.可以 5.不知道6.对应点横都有对应字 7.忘了问答题答案:
动动手答案:
不会上传截图啊啊