随笔分类 - C
摘要:#include <stdio.h> #include <math.h> void metersToFeetAndInches(double meters,unsigned int *ftPtr,double *inPtr){ //这个函数假定meters的值是非负数 //将meters变量的值转化
阅读全文
摘要:#include <stdio.h> #include <stdlib.h> //声明Person结构 //struct Person{ // float heightInMeters; // int weightInKilos; //}; //声明Person类型 typedef struct{
阅读全文