摘要:
#include "stdio.h"#include<stdlib.h>//不要加这行void main(){ int max(int i,int j); int x,y; x=1; y=2; printf("%d\n",max(x,y));}int max(int i,int j){ return (i>j)? i:j;}编译出错:D:\C++\code\a\a.c(162) : error C2059: syntax error : 'type'D:\C++\code\a\a.c(168) : error C2059 阅读全文
posted @ 2012-02-22 13:56
Crossci
阅读(315)
评论(0)
推荐(0)
摘要:
#include "stdio.h"#include<stdlib.h>//不要加这行void main(){ int max(int i,int j); int x,y; x=1; y=2; printf("%d\n",max(x,y));}int max(int i,int j){ return (i>j)? i:j;}编译出错:D:\C++\code\a\a.c(162) : error C2059: syntax error : 'type'D:\C++\code\a\a.c(168) : error C2059 阅读全文
posted @ 2012-02-22 13:54
Crossci
阅读(320)
评论(0)
推荐(0)

浙公网安备 33010602011771号