Yay! I finally finished a project and it works as expected! It's been e-mailed as well. Hope it's not too big...!
-jEssYcAt
Yay! I finally finished a project and it works as expected! It's been e-mailed as well. Hope it's not too big...!
-jEssYcAt
Last edited by jEssYcAt; 01-20-2005 at 12:13 AM.
Not too big at all.
I have recieved 11 of 17 submissions; things are looking good. No rush to anyone, you still have 11 days to send in your submissions. Since so many people have participated, I will only take submissions up until January 31st. So, on Febuary 1st, I can organize the last submissions that were sent.
- 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.
How about copying and pasting the 4 page HelloWorldBit program found in Petzold? According to the following description,
"Macro preprocessors are often used to create hard to read code by masking the standard language syntax and grammar from the main body of code."
it fits the definition of obsfucated code eventhough in reality it is nothing more than "basic" Windows API.
There are plenty of macros and typedefs (many buried several layers deep in the the "std" header files) to confuse and confound those not skilled in the smoke and mirrors of Windows programming syntax. It's all legal C code, but other than use of identifiable function, loop, and switch structures, it might as well be another language completely.
You're only born perfect.
I'm gonna have to back out. I just haven't had the time to sit down and code "just because." Good luck to you all.
Well, elad, I doubt that program would readily compile on a Linux box.
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
Alright. I'm sure there will be plenty more contests for you to participate in.Originally Posted by Thantos
Heh. Same here. Besides, the contest is graded mostly by your ingenuity. If something like this pops up, I'll know for sure someone was eager to win.Originally Posted by CornedBee
The main reason why I give bonus points to people that include a detailed explanation of their code is because it shows that they wrote the code. Now if the explanation is bent, warped out of shape, and completely off basis, it waves a red flag.
- 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.
>>Well, elad, I doubt that program would readily compile on a Linux box.
True enough. It was more a way of expressing frustration with learning the (confuscated) syntax of Windows than any serious attempt at writing confuscated cross platform code.
Last edited by elad; 01-21-2005 at 04:26 PM.
You're only born perfect.