藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年6月6日 10:18


[求助]怎麼編譯不了?

使用TURBO C 3.0
#include "stdio.h"
int max(x,y)
int x,y;
{
int z;
z=x>;y?x:y;
return(z);
}
main()
{
int a=2,b=3;
b=max(a,b);
printf("%d",b);
}

Warning C:\TC\CS.CPP 2: Style of function definition is now obsolete

[求助]怎麼編譯不了?

try change to:
int main( int x, int y)

[求助]怎麼編譯不了?

int max(int x,int y)



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com