home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 9
/
09.iso
/
l
/
l224
/
2.img
/
CHAPXMPL.ZIP
/
PLUSONE.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1990-10-29
|
282 b
|
13 lines
#include <stdio.h>
int main(void)
{
int TestValue;
scanf("%d",&TestValue); /* get the value to increment*/
asm inc WORD PTR TestValue; /* increment it (inassembler) */
printf("%d",TestValue); /* print the incremented value */
}