06 2022 档案
摘要:必要函数 1. printf("",arg1,...) 作用:输出语言 2. scanf("",&arg1, &arg2,....) 参数: &arg1:arg1所在的内存地址 返回值:无 作用:输入语句,将输入赋值改变量。 3.void* malloc( size_t size ) size: 内
阅读全文
摘要:数据类型:基本数据类型,枚举类型,空类型,派生类型 1.基本数据类型:整数类型和浮点类型 整数类型 short: 2byte,-2*15 ~ 2^15-1 int : 4byte,-2^31 ~ 2^31-1 long : 4byte,-2^31 ~ 2^31-1 long long : 8byte
阅读全文
摘要:项目编辑规则 1.一个项目只有一个main方法,main方法必须是int返回值 2.库函数导入要#include<xxx> #include<stdio.h>:导入标准io模块,printf(""),scanf("")
阅读全文
摘要:Microsoft Visual Studio Community 2022 1. 创建项目 2. 保存和运行
阅读全文