Borland C++ Easter Egg - The Hidden Cat

1. Create a C source with an editor, an type in
the following code:

#pragma keeka
void main(void) {return 0;}

2. Save with a name of your choice (e.g. "egg.c")

3. Compile the source with:

bcc32 egg.c

4. Watch the message the compiler displays!

This should work inserting the "#pragma" line in any C source ... I've not tested it with other version of the compiler.

Oh, yes, it's like the "Curious George" egg ...

User Rating:
5.3
  5.3/10 with 42 votes
Contributed By: Legno on 05-04-2000
Reviewed By: Webmaster
Special Requirements: Tested with v5.5 (command line tools)
Please correct this Egg if you see errors.

Pictures and Videos

Error message that occurs
Error message that occurs

Do you have another one? Send us a picture or video of this Egg!

Comments

jaras writes:
Yeah! It works! :-) Greetings. -- jaras
21 of 39 people found this comment helpful. Did you? Yes No


Register - Privacy Policy - About Us - Contact Us