Welcome, Guest. Please login or register.

Author Topic: Compiler's  (Read 2519 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show all replies
    • http://www.krishnasoft.com
Re: Compiler's
« on: June 30, 2008, 12:08:55 PM »
>For C and C++ stuff, for portable code, or if you want it free: gcc

There is this conditional statement in C (or C++) that let's you do something like:

(VGAInfo.x>640)?(VGAInfo.SVGA=1):(VGAInfo.SVGA=0);

Is this standard C (works with any c compiler) and does it allow for multiple statements in the conditional?  

I'm familiar with Borland C which has a lot of stuff which is nonstandard.
--------
Use PC peripherals with your amiga: http://www.mpdos.com