摘要:一般程序员在写代码中对齐才为美观,而且写出来的代码让人看的更舒服,所以我们会去刻意去一行一行对齐,这是不必要的! 编码的快捷方式,要用键盘操作,少用鼠标或不用 1 : ctrl+< --或--> 就能够跳过一个单词 2:ctrl+shift+(左,右方向键),下载一个单词 3:ctlr+c 复制 4
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> typedef struct{ int age; char* name[20]; } student;int main(){ student lisa = {18,"lisa"}; /* * 结构体成员在存储空间中是连续的
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> char name[10] = "lisa";//内容:'l' 'i' 's' 'a' 0 0 0 0 0 0 int ko[10] ;//函数声明void reset1(char *p);void last_lisa();
阅读全文
摘要:#include <stdio.h>#include <stdlib.h>void reset(char x);void rest(char *x);int main111(void){ char a = 'a'; int b = 128; printf("a变量的地址是:%d\n",&a); pr
阅读全文
摘要:#include <stdio.h>#include <stdlib.h>struct dog{ int age; char name[20]; char favorite[20]; };//定义结构体类型的同时,取好别名typedef struct person{ int age; char na
阅读全文