Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:为什么用宏定义判断最大最小值 会出错呢?In Reply To:Re:为什么用宏定义判断最大最小值 会出错呢? Posted by:Cunch at 2010-10-21 22:58:20 为什么 加个括号就好了呢 #define mmax(x,y) (x>y ? x : y) #define mmin(x,y) (x<y ? x : y) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator