Advertisement

Please Help: Which C compiler to compile Zork src

Started by April 26, 2002 04:25 AM
5 comments, last by Bogseat 22 years, 7 months ago
The C++ compiler I useually use (Bloodshed DevC++) won''t compile the game, so I thought I''d try a decent C compiler. Does anyone know of one that will compile the Zork source code found on this website ? Thanks
can you post the site you got it from?
Advertisement
The problem with that source code is that it is really old. A lot of the rules have changed since then which is probably your cause for grief. What you can try is shut off the ++ part of your compiler and make it compile C code instead of C++.

---
Make it work.
Make it fast.

"Commmmpuuuuterrrr.." --Scotty Star Trek IV:The Voyage Home
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][LWJGL Tutorials for NeHe][LWJGL Wiki][jMonkey Engine]
Hey!

I compiled Zork with Mingw32 which is same GCC port that DevC++ IDE uses and it worked fine for me.
It is ANSI C so make sure you compile it with C compiler and
you also have to add #DEFINE TEXTFILE to dinit.c file.
Something like mine where is the path to dtextc.dat file.

  dinit.c....#else /* ! unix *///line 29#define TEXTFILE "d:\zorksrc\dtextc.dat" //add this  
OOH! OOH! I want! =D

Where did you find the source for Zork? =D

-=Lohrno
quote: Original post by Bogseat
...source code found on this website ?


http://www.gamedev.net/directory/links/category.asp?catid=24
Advertisement
Thanks for the help guys.
Much appreciated
Bogseat

This topic is closed to new replies.

Advertisement