Obfuscated Code Contest

This is a discussion on Obfuscated Code Contest within the Contests Board forums, part of the Community Boards category; I'm in! I'm no expert or anything so it probably won't be much, but it'll get me to finally finish ...

  1. #31
    verbose cat
    Join Date
    Jun 2003
    Posts
    209
    I'm in! I'm no expert or anything so it probably won't be much, but it'll get me to finally finish a project!

  2. #32
    C Programmer Stack Overflow's Avatar
    Join Date
    Apr 2004
    Posts
    477
    Alright,

    Welcome aboard! Also, I want to clarify my previous post.

    All C++ submissions will be compiled with Microsoft Visual C++ .Net 2003, Dev-C++ 4.9.9.0, and g++ 3.2.2, 3.3.2, and 3.4.2.

    All C, and C89 standard, submissions will be compiled with gcc 3.2.2, 3.3.2, and 3.4.2.


    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  3. #33
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    Submitted my entry
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #34
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    mine's in
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  5. #35
    C Programmer Stack Overflow's Avatar
    Join Date
    Apr 2004
    Posts
    477
    Great!

    I received the entries, though will try and compile them tommorow. My machine officially screwed itself up, and no repairs could save it. Now, starting from scratch, I have to re-install all of my programs. Including MSVC .Net 2003

    No worries, I'm 60% complete with the restoring of my OS.

    P.S. 3 monitors are cool. Until the additional PCI card ruins it all...


    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  6. #36
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    I'm not sure if I can finish my submission in time. Real Life (TM) is really annoying at the moment. And my concept is not coming along as well as I thought it would.
    *sigh*
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #37
    C Programmer Stack Overflow's Avatar
    Join Date
    Apr 2004
    Posts
    477
    Alright,

    No problem. I'm sure there will be more Obfuscated contests to participate in. I was thinking of making additional contests, though I still wanted to leave the door open for other brainstormed ideas.


    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  8. #38
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    I was going to make one that used a fixed seed for srand to generate a series of numbers which would have some fun math applied to them to generate the text. But then I remembered that the number generator itself is implementation specific, so that wouldn't work the way I wanted.


    Quzah.
    Hope is the first step on the road to disappointment.

  9. #39
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Well, try to use the Boost one.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #40
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    I couldn't bring myself to use a non-ANSI solution.
    Code:
    gcc foo foo.c -Wall -pedantic -ansi
    Quzah.
    Hope is the first step on the road to disappointment.

  11. #41
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    gcc -o foo foo.cpp -Wall -pedantic -ansi

    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  12. #42
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Yeah, it was a type-o.

    Quzah.
    Hope is the first step on the road to disappointment.

  13. #43
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Ah, but the important part is the .cpp
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  14. #44
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Not if you program in C it isn't.

    Quzah.
    Hope is the first step on the road to disappointment.

  15. #45
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893


    My point exactly...
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Page 3 of 4 FirstFirst 1234 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 03:28 AM
  2. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 12:33 PM
  3. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21