.


:




:

































 

 

 

 





(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.

. .

, . , . , .

, .

#include < ID_ >

( include),

#include " ID_ "

, . :

#include <alloc.h> //

#include <dos.h> //

#include "a:\prs\head.h" //

. , .

 

:

) ( if):

#if<_>

_1

#endif

) ( if - else):

#if<_>

_1

#else

_2

#endif


:

_ , ¹0;

def ID , ID # define;

ndef ID , ID # define.

_ if , def ndef .

:

#ifdef DEBUG

print_state();

#endif

_1 _2 .

:

#ifndef EOF

#define EOF 1

#endif

#if UNIT==CON

#include "conproc.c"

#else

#include "outproc.c"

#endif

 





:


: 2016-11-12; !; : 471 |


:

:

! . .
==> ...

1699 - | 1486 -


© 2015-2024 lektsii.org - -

: 0.012 .