I'd like to compile a couple of simple C/C++ programs.
I have devx_slacko_5.5.sfs but the required header files seem to be missing (specifically conio.h and iostream.h although there is a copy of the latter in /usr/include/giomm-2.4/giomm/ ). Do i need to install something else?
TIA
Paul
C++ on Slacko 5.5 [Solved]
C++ on Slacko 5.5 [Solved]
Last edited by PaulR on Tue 26 Mar 2013, 21:20, edited 1 time in total.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
try replacing those with <conio> and <iostream>
the .h is from really old C++, the new C++ headers either have no extension or .hpp
the .h is from really old C++, the new C++ headers either have no extension or .hpp
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Thanks for the reply; iostream is in /usr/include/c++/4.7.1 but I searched system-wide for 'conio' with no success.
I recall conio.h from my Borland/DOS days and a quick google suggests it isn't a standard header in linux. It's only required for some cursor positioning in these programs... looks like I may have to resort to using ugly ncurses and re-write some code if I want to compile
Cheers
Paul
I recall conio.h from my Borland/DOS days and a quick google suggests it isn't a standard header in linux. It's only required for some cursor positioning in these programs... looks like I may have to resort to using ugly ncurses and re-write some code if I want to compile
Cheers
Paul