标签:char ram his 声明 user this include etc logs
#include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ void print_my_name();//函数声明 ,尽量每个函数都要声明,养成好习惯 int main(int argc, char *argv[]) { printf_my_name();//调用子函数 return 0; } //子函数定义 void printf_my_name() { printf("kinson"); }
标签:char ram his 声明 user this include etc logs
原文地址:http://www.cnblogs.com/kinson/p/6826904.html