Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me

TOPIC: Without Cheeting [IGNORE USE OTHER THREAD]

Without Cheeting [IGNORE USE OTHER THREAD] 12 years 4 days ago #16082

  • Smurf
  • Smurf's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 1390
  • Karma: 1
  • Thank you received: 0
Ok,

Since there are some programmers in here (not me I'm affraid, did it at Uni and thought it would drive me up the wall doing it day in day out, lol), I thought I would share some code that I picked up at Uni.

Its quite simple, WITHOUT compiling it, can anyone tell me what this C code does ? (Apparently it won a competition some time ago for the most unreadible code, or something like that).

If you do want to compile it (don't post what it does for a week or so incase anyone is mad enough to try and work it out), how does it work (never bothered to try and understand it myself but if anyone else wants to and try to explain it then, go ahead, hehe)

DEFINATELY COMPILES NOW

The code is here http://www.onlineweblinks.com/upload/enigma.txt

For some reason it will not work if i post the code directly into this thread.

errors 12 years 4 days ago #16083

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 745
  • Karma: 4
  • Thank you received: 10
didn't amount to much, came up with 25 errors, and i was using some well known compilers known to man :D

Re: Without Cheeting [IGNORE USE OTHER THREAD] 12 years 4 days ago #16085

  • Smurf
  • Smurf's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 1390
  • Karma: 1
  • Thank you received: 0
I think it was written in c++ not c, if it makes any difference ? I have compiled it, will take a look

errors 12 years 4 days ago #16086

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 745
  • Karma: 4
  • Thank you received: 10
i compiled it as a c++ program, not as C. then i tried again as a c++ file. the number of errors remain the same. not that it means anything. went through the list of errors. ranges from missing statements, incomplete statements, illegal function calls etc etc etc.

Re: Without Cheeting [IGNORE USE OTHER THREAD] 12 years 4 days ago #16087

  • Smurf
  • Smurf's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 1390
  • Karma: 1
  • Thank you received: 0
Strange as i have definately compiled it when at Uni. I have the exe file here for it. Hmmm, just downloading a compiler now to take a quick look :)

errors 12 years 4 days ago #16088

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 745
  • Karma: 4
  • Thank you received: 10
let me know if it comes out with anything. also let me know of which compiler you used. i used the normal Turbo C compiler, and then the MSDev compilers
Time to create page: 0.150 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup