| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | #11687-Help with C compiler |
#: 11733 S3/Languages
12-Aug-91 18:19:40
Sb: #11687-Help with C compiler
Fm: Bruce MacKenzie 71725,376
To: Keith H. March 70541,1413
Keith,
Here's my standard code for opening up a graphics window from within a C
program:
#define PATH fileno(wout)
main() {
FILE *win,*wout;
win=fopen("/w","r+");
wout=fdopen(fileno(win),"w");
DWSet(PATH,8,0,0,40,24,15,0,0);
Select(PATH);
}
This should get you up and going. If you have any other questions about the
graphics library give a yell.
|
|
| SOURCE: compuserve via textfiles.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.