| | | |
| |
&& | && | ||
|| | || | ||
?: | () | ? : |
|
= | lvalue = | ||
*= | lvalue *= | ||
/= | lvalue /= | ||
%= | lvalue %= | ||
+= | lvalue += | ||
- = | lvalue -= | ||
<<= | lvalue <<= | ||
>>= | lvalue >>= | ||
&= | lvalue &= | ||
|= | lvalue |= | ||
^= | ޭ | lvalue ^= | |
, | , |
, , ୭ . , .
|
|
#. '\'.
C:
;
;
;
;
.
(ID):
#define ID
ID :
#define L_bufs 2048
#define binary int
#define WAIT fflush(stdin); getch()
#define BEEP sound(800);\
delay(100);\
nosound()
:
#define YES 1
#define NO 2
#define ESC 27
#define Enter 30
:
if (x==ESC) break;
BEEP;
return(YES);
#undef ID
.
define :
#define ID( 1,...)
ID .
define . , ,
ID( 1,...)
:
#define P(X) printf ("\n%s",X)
...
char *x;
P(x); // P(X)
P(" ");
printf("\n%s",x); //
printf("\n%s"," ");
:
#define (A,B) ((A)>(B)? (A):(B))
#define ABS(X) ((X)<0? (X):(X))
- . :
#define BP(X) X*X
...
int x,y,z;
x=BP(y+z); x=y+z*y+z; x=y+(z*y)+z;
, :
#define BP(X) (X*X)
#define BP(X) (X)*(X)
:
#define BP(X) ((X)*(X))
:
#define BP(X) ((X)*(X));
...
int x,y,z;
x=BP(z)BP(y); y=((z)*(z)); ((y)*(y));
undef.
. .
, . , . , .
|
|
|
|
|
|
: 2018-10-14; !; : 280 |
:
, .
==> ...