On Fri, Mar 02, 2001 at 11:12:10PM +0800, Federico Sevilla III wrote:
> Just a side note, GCC is NOT "just the same" as Turbo C (tc) or Turbo
> C/C++ (tcc). The former complies with the ANSI C standard. The latter
> don't seem to strictly. They have a number of added stuff at least for C
> like say, getch() and clrscr() that don't work on GCC.
That's not the language per se, but the C library specifications. Even
something as elemental as printf() is defined in the library and not in the
language spec. That is what I love about C, it cleanly distinguishes between
external functions and language primitives. That's what irked me about
Turbo Pascal, with pseudo-functions like writeln.
> I'm currently using a laptop in school, all because I want to write code
> that I'm sure works on Linux. (I sure hope my code works on Turbo C too,
> though. My lab instructor checks our code by compiling it using Turbo
> C. Oops.)
It will, as long as you are not relying on glibc enhancements.
I thought you were in med school?
--
http://www.internet.org.ph The Philippine Internet Resource
Mobile Voice/Messaging: +63-917-810-9728
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]