Athena

C++Builder 4 Easter Eggs

The C++Builder 4 Easter Eggs are much the same as those found in Delphi 4, but without Alt+CHUCK.

Additionally, it has these.

  1. Run the command-line compiler with the undocumented -Team command-line switch, and the compiler team is listed:

    C:\Tools\CBuilder4\Bin>bcc32 -Team
    Borland C++ 5.4 for Win32 Copyright (c) 1993, 1999 Inprise Corporation
    
        It's the compiler team!
    
            John   Wiegley
            Keimpe Bronkhorst
    
    Error E2075: Incorrect command line option: -Team
  2. Use of the undocumented #pragma curious_george directive in a source file gives you a special message.
    #pragma curious_george
    int main()
    {
      return 0;
    }
    C:\Tools\CBuilder4\Bin>bcc32 egg.cpp
    Borland C++ 5.4 for Win32 Copyright (c) 1993, 1999 Borland
    egg.cpp:
    No eating puzzle pieces!

    This message will only be displayed in the IDE if the Show general messages option on the Compiler page of the project options dialog is checked.

  3. Use of the undocumented #pragma gpfault prettyplease directive in a source file gives you what you ask for.
    #pragma gpfault prettyplease
    int main()
    {
      return 0;
    }
    E:\Tools\CBuilder3\Bin>E:\Tools\CBuilder4\Bin>bcc32 egg.cpp
    Borland C++ 5.4 for Win32 Copyright (c) 1993, 1999 Inprise Corporation
    c:egg.cpp:
    Fatal F1004 c:egg.cpp 3: Internal compiler error at 0x42bc3b with base 0x400000
    Fatal F1004 c:egg.cpp 3: Internal compiler error

    This option appears to be used to test the resilience of the IDE against Access Violations. If you compile a source file like this in the IDE, the initial compilation and any use of Code Completion (which invokes a partial background compilation) will give similar errors.

  4. Invoke the About box with Help | About..., then hold down Alt whilst typing GUNGLA. This shows Tequila Joe Monkey on a surfboard. It also has a short musical accompaniment that is a section of the sound track from The Hamster Dance web site, http://www.hamsterdance.com.

    Apparently, Gungla comes from the film CaddyShack where Bill Murray is talking about the Dali Lama. One of the C++Builder developers likes using this word...


Click here to return to the Easter Eggs main page