Open main menu

CDOT Wiki β

Changes

Iolib functions 20103 - OOP344

530 bytes added, 03:56, 18 September 2010
added info about ncurses lib C
Distro specified installation of compilers guilds:<br />
[https://help.ubuntu.com/community/InstallingCompilers Installing Compilers in Ubuntu]<br />
 
NOTE: Some compilers don't have the ncurses library. If you are getting a message that's something like this whenever you try to compile: <p><code>iol.c:51:21: error: ncurses.h: No such file or directory</code></p>It means you don't have it installed. You will need to install that library. Simply search for 'libncurses' in your Linux distro's package manager tool (yum for fedora and apt-get for Ubuntu, or simple go to Ubuntu's Software Centre and search for it) and install the latest development library, libncurses5-dev.
To compile using gcc issue the following command:<br />
cc iolmain.c iol.c -lncurses
</big>
'''Also make sure you use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty]for your telnet client and set the Temminal/keyboard / function keys to Xterm R6'''
=== Mac OS C++ ===
9
edits