bronyrstomp
Technical User
I am teaching myself unix and also C and C++ on FreeBSD.
The problem I have with this book is, it has an INCLUDE file that unix does not use.
#include <conio.h>
Ok, so I don't use it.
It also has this function in every program listed in the lessons.
It comes right after the #includes and before int main().
Here it is.
I get an error when this is compiled in the program.
Is it part of the <conio.h> file?
Is it a Borland only function?
I am really new to this programming so I hope a chuckle is in order.
The problem I have with this book is, it has an INCLUDE file that unix does not use.
#include <conio.h>
Ok, so I don't use it.
It also has this function in every program listed in the lessons.
It comes right after the #includes and before int main().
Here it is.
Code:
char Pause(void)
{
char c;
printf("/nPress Enter to continue...");
while ((c = getchar()) != '/n') {}
return c;
}
Is it part of the <conio.h> file?
Is it a Borland only function?
I am really new to this programming so I hope a chuckle is in order.