03 2021 档案
摘要:// 结构体中的元素的第二种访问的方法。#include <stdio.h>#include <stdlib.h>struct Person{ int age; void (*p)();}; void persons(){ printf("have lunch\n "); }int main(){
阅读全文
摘要:#include <stdio.h>#include <stdlib.h>void myputs(char*p) //此处的*号是标志,标志这P是一个指针{ if(p==NULL){ printf("需要输出的字符串为空,请重新输入"); }else{ while(1) {putchar(*p++)
阅读全文
摘要://////////////////////////////////////////////////////////////////////////结构体指针部分一////////////////////////////////////////////////////////////////////
阅读全文
摘要:////////////////////////////////////////////////////////////////////////////////////////结构体部分一////////////////////////////////////////////////////////
阅读全文