Welcome, Guest. Please login or register.

Author Topic: Super newbie C questions  (Read 5421 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: Super newbie C questions
« on: June 29, 2008, 10:06:22 PM »
It's called e-penis. Sorry, there's no other way to explain it. Keeps the code short, it's a magic cookie, it gets people fired in situations where code has to be audited.
 

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: Super newbie C questions
« Reply #1 on: June 29, 2008, 10:12:55 PM »
Quote

SamuraiCrow wrote:
1L<
The reason it is shifted is that each bit represents a unique flag, IIRC, so you can have as many as 32 unique flags.


Depends on the compiler.
 

Offline koaftder

  • Hero Member
  • *****
  • Join Date: Apr 2004
  • Posts: 2116
    • Show all replies
    • http://koft.net
Re: Super newbie C questions
« Reply #2 on: June 29, 2008, 10:23:09 PM »
Quote

SamuraiCrow wrote:
On any compiler for the Classic Amiga, it is much faster AFAIK.


You're probably right.