0_0_34802035_13403.cpp: In function 'int main()':
0_0_34802035_13403.cpp:13:24: error: 'bzero' was not declared in this scope
bzero(buf,sizeof(buf));
^
0_0_34802035_13403.cpp:4:12: error: expected primary-expression before '<' token
#define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:4:13: error: 'a' was not declared in this scope
#define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:4:15: error: 'b' was not declared in this scope
#define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:4:17: error: 'c' was not declared in this scope
#define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:4:12: error: expected primary-expression before '<' token
#define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
^
0_0_34802035_13403.cpp:16:19: note: in expansion of macro 'MIN'
(buf[0]+buf[2])-MIN(buf[0],buf[1],buf[2])-MAX(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:3:12: error: expected primary-expression before '<' token
#define MAX<a,b,c>((a>b?a:b)>c?(a>b?a:b):c)
^
0_0_34802035_13403.cpp:16:45: note: in expansion of macro 'MAX'
(buf[0]+buf[2])-MIN(buf[0],buf[1],buf[2])-MAX(buf[0],buf[1],buf[2]),\
^
0_0_34802035_13403.cpp:3:12: error: expected primary-expression before '<' token
#define MAX<a,b,c>((a>b?a:b)>c?(a>b?a:b):c)
^
0_0_34802035_13403.cpp:17:3: note: in expansion of macro 'MAX'
MAX(buf[0],buf[1],buf[2]));
^
0_0_34802035_13403.cpp:19:2: error: expected ';' before '}' token
}
^
|