1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

C and C++ challenges

Discussion in 'C++' started by jaaam, May 18, 2009.

  1. jaaam

    jaaam New Member


    I found the c and c++ challenges in <<Snip>> are good. try it

  2. SaswatPadhi

    SaswatPadhi ~ Б0ЯИ Τ0 С0δЭ ~

    This is not the right place to post this thread : should be in Chit-Chat.

    About the challenges, I didn't find them really hard/interesting, good for a high-school student probably.

    I my-self solve programs from http://uva.onlinejudge.org/, btw.
    That's a really really good site which will improve both programming and mathematics skills.
  3. shabbir

    shabbir Administrator Staff Member

    No Self promotion
  4. xpi0t0s

    xpi0t0s Mentor

    The "challenges" at [snip] are not that good, the site just posts obfuscated code and bad C grammar and asks if you can work out what it does. Much better are the challenges at http://www.osix.net; these actually help you learn how to use your tools (the compiler) to solve well designed problems as well as giving you some motivation to complete further challenges.

    If you want to have a go at figuring out what obfuscated code does the best place for that is the IOCCC - the International Obfuscated C Code Competition, where all the winning entries from previous years are posted. My favourite is still the one that starts with main(){} then #includes itself 6 lines later (and works!), and there's a brilliant one where the code as is is a sort program, then you compile it and run it against its own source code whereupon it becomes a different program that not only works but actually does something useful (reverses the lines or something), then do it again and it becomes a 3rd useful program. Now THAT my friend is impressive.

Share This Page