Thread: IDEA: Obfuscate a common program as much as possible

  1. #16
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Where did you get a gcc compiler for windows moi?

    I thought those were only in unix/linux.
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  2. #17
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by MethodMan
    Where did you get a gcc compiler for windows moi?

    I thought those were only in unix/linux.
    i'm using djgpp which is an MS DOS port of gcc and friends (but of course works under windoze as well), the other two popular ones are mingw and cygwin, both for win32. all three are linked from http://gcc.gnu.org/install/binaries.html
    hello, internet!

  3. #18
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Code:
    C:\WINDOWS\Desktop>gcc -c dum.c -o dum.o
    dum.c: In function `r':
    dum.c:7: invalid lvalue in decrement
    dum.c:8: invalid lvalue in decrement
    As I said, it is a quick program I edited in about five minutes as an example, not guaranteed to be portable.

    -Prelude
    My best code is written with the delete key.

  4. #19
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    spawn of satan
    thank you. that was exactly the word i was searching for.

    I think this one would just be for fun!
    yep, pretty much. there would definitely be different criteria for grading...and there would still be a winner, but it would all be in good fun.

  5. #20
    Registered User
    Join Date
    Dec 2002
    Posts
    1
    It would be more interesting to see a reasonably complicated program written in as few lines of code as possible :P

  6. #21
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    I know its old but...
    error C2065: 'p' : undeclared identifier
    error C2065: 'i' : undeclared identifier
    error C2448: '<Unknown>' : function-style initializer appears to be a function definition
    fatal error C1004: unexpected end of file found
    Sorry Prelude, not good enough!

  7. #22
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    I've thought about it a bit, and I would absolutely love to obfuscate a simple problem. I think that sounds like tons of fun. Count me in for that contest. I just really wish there was some way to get the ball rolling here. We haven't had a contest for quite a while
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  8. #23
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    Administration knows, something will be forthcoming.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

  9. #24
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    Originally posted by kermi3
    Administration knows, something will be forthcoming.
    Yay! A contest is coming, a contest is coming. Yay!!
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program quits unexpected
    By skelesp in forum C Programming
    Replies: 34
    Last Post: 12-10-2008, 09:10 AM
  2. C program idea not sure!
    By newbiecoderguy in forum C Programming
    Replies: 6
    Last Post: 07-02-2008, 11:31 AM
  3. Replies: 3
    Last Post: 01-14-2003, 10:34 PM
  4. IDEA: A program to make a graphic of any file
    By carrja99 in forum Contests Board
    Replies: 1
    Last Post: 10-21-2002, 12:33 PM