codeblocks的c程序目录结构与执行过程

执行过程

编译 形成 .o .obj

连接 形成.exe文件

执行

目录结构

主程序main.c

#include <stdio.h>
#include <stdlib.h>

// standared 标准
// input output 输入/输出
// header 头 .h头文件

int main() // 返回int,如果是void表示没有返回
{
    printf("Hello world!
"); // 以某种格式来打印
    getchar();
    return 0;
}



原文地址:https://www.cnblogs.com/jiqing9006/p/7818900.html