Can be done in gcc:
#define IS_DIGIT(x) ({\
int l;\
if (x == 1){\
l = 1;\
}else{\
l = 0;\
}\
l;\
})
The above macro returns an integer l. Can be used as follows:
int x = IS_DIGIT(1);
Labels
C
(14)
History
(14)
التقدم العلمي في الدولة العباسية
(13)
Linux
(12)
Embedded
(11)
Compilers
(4)
OOP
(4)
Algorithms
(3)
Control
(3)
Data Structures
(3)
Robotics
(3)
Android
(2)
.NET
(1)
C#
(1)
C++
(1)
CLR
(1)
Economy
(1)
Europe History
(1)
Food
(1)
Health
(1)
JVM
(1)
Networks
(1)
Objective C
(1)
Sports
(1)
baby
(1)
gym
(1)
homemade
(1)
java
(1)
low cost
(1)
mobiles
(1)
montessori
(1)
tripod
(1)
ألعاب
(1)
تكلفة قليلة
(1)
مصنوع في المنزل
(1)
معلقة
(1)
مونتيسوري
(1)
No comments:
Post a Comment