摘要:
#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 阅读全文
摘要:
#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 阅读全文