Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

conio.h

Name: Anonymous 2011-10-11 12:04

I have a feeling we were taught C very, very wrong. The only environment we were allowed to use was Borland and a few nonstandard libraries were used on a daily basis. Now I try to compile an old program using Pelles and sure enough, every function call from conio.h is missing prototypes.

Thing is, conio.h is right there in the Include folder. How can I... well, include it? Really I have no idea. It's not that I want to keep working outside of the standard; I'd just like to run a couple those programs for old times' sake (can't install Borland btw)

Name: Anonymous 2011-10-11 18:48

>>2
I have a feeling you weren't taught much C at all

Neither were you..

Have you tried the #include directive?

That won't work you fuckwit. What he needs to do is having something like

#define WINDOWS 0
#ifdef WINDOWS
#include <conio.h>
#endif

Then have is compiler only use the WINDOWS flag when it gets compiled on a windows box.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List