home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
PP911.ZIP
/
HELLO.C
next >
Wrap
Text File
|
1990-05-07
|
325b
|
26 lines
POWER PROGRAMMING
RAY DUNCAN
Vol. 9, No. 11
HELLO.C
/*
hello.c, using direct call to DosWrite
*/
#include <stdio.h>
#define INCL_DOS
#include <os2.h>
main(int argc, char *argv[])
{
int wlen, rc;
char *p = "\nHello World!";
rc = DosWrite(1, p, strlen(p), &wlen);
}