作为一个当代大学生,我太难了
加油加油
感谢老师
小白太难了
来啦
TUYISHIZHIKUAI
1
谢谢
#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)
0:因为机算机只认识0和1
1:机器语言
2:编译吧,但我怎么记得的是“把源代码直接翻译成机器语言”而不是汇编语言
3:编译产生目标文件,解释不产生
4:C语言的可移植性高,源代码在只需要改动很少甚至不用改动的情况下就能直接跨平台运行
5:将源代码先转换为中间代码,再由解释器翻译,之后交给cpu执行
6:查。。。表?
7:亲们,趁敌人吃饭时发动进攻
#include<stdio.h>
int main()
{
printf("hello world");
return 0;
}
答案
1
加油学习!
0.只能读懂二进制的0和1
1,机器码
2,编译
3,是否直接转化为机器语言
4,不一定,可能稍加修改
5,字节码是通用的
6,将英文字母用符号代替
7太难了
.
想看
1
来啦
666