home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Actual 11
/
CDACTUAL11.iso
/
cdactual
/
demobin
/
share
/
os2
/
XCO212P
/
SAMPLES
/
CSET
/
C_TEST.C
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-03-05
|
271 b
|
14 lines
/*
Example of multi-language programming: C function is called from M2
*/
#include <stdio.h>
int c_func(int a, int b)
{
printf("\nThis is a C function called by M2 procedure\n");
printf("c_func (%d, %d)\n", a, b);
return a+b;
}