TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALAN LO
from: MATHIEU BOUCHARD
date: 1997-08-09 21:28:00
subject: linux and C++

 AL>     Well, I've decided to upgrade to Linux.  I was just wondering, how 
 AL> would
 AL> programming change under Linux?  What are the big differences that could
 AL> confuse me into trying to take my mouse hostige until my programme 
 AL> decides
 AL> to work?  thanx in adv
never use 'void' as the return type of 'main'.
use -style code to read directories, not findfirst/findnext.
use  instead of  (this one is a pain.)
no environment. you'll have to find your own environment or use
shellscripts (batchfiles).
makefiles are of much more common use under Unix, for which there never
was awkward things such as 'Project files' that are binary-gibberish
and uncompatible between compilers.
you'll have to use commandline switches to your compiler.
no BGI's. :-) try svgalib or xwindows programming. the former is a
little broken (security holes, as well as possible screen/keyboard
crashes), but has full-screen, mode control, and hardware scrolling,
which are important features for me, so i'm likely to write a front-end
for socket-like connections, and an  which functions would
work exactly like  (svgalib). But i lack sufficient experience in
sockets...
matju
--- Terminate 4.00/Pro
---------------
* Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.