摘要:
#include <stdio.h>#include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(in 阅读全文
摘要:
#include <stdio.h>#include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(in 阅读全文
摘要:
利用for循环打印乘法表 #include <stdio.h>#include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop * 阅读全文
摘要:
一、指针的概念 要知道指针的概念,要先了解变量在内存中如何存储的。在存储时,内存被分为一块一块的。每一块都有一个特有的编号。而这个编号可以暂时理解为指针,就像酒店的门牌号一样。 1.1、变量和地址 先写一段简单的代码: void main(){ int x = 10, int y = 20;}这段代 阅读全文