Where can I find C programming challenges

This is a discussion on Where can I find C programming challenges within the Tech Board forums, part of the Community Boards category; I want to do some programming exercises because it's easier to learn if you're programming than reading....

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    34

    Where can I find C programming challenges

    I want to do some programming exercises because it's easier to learn if you're programming than reading.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    33,292
    Search "programming contests". There are many sites which have long lists of problems, and some have an online judge to test your results.
    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.

  3. #3
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    http://www.topcoder.com/tc

    My personal favorite. On the right menu, click "Algorithm" and in the submenu "Launch Arena" which will either download (or possibly launch in the browser) a java applet that will connect you to the Top Coder Arena. You'll have to create an account (which is free) and it will give you access to hundreds of programming problems that you can write in a selection of a few languages including C++, Java, and C#. The difficulties range from very easy to well... let's just say some of them are out of my league.
    Sent from my iPad®

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    34
    Dude, the problems there are too hard for me. I'm just beginning to learn C.
    btw is C# the same as C?

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,814
    btw is C# the same as C?
    No, they are different programming languages (and as you can see, we have different forums for them).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    http://cemc.math.uwaterloo.ca/contes..._contests.html

    Scroll down the Canadian Computing Contest, and download some of the PDF's. (The ones from 2004-2008 are the best.)
    There are some easy questions that you should be able to answer, even if you are a beginner.

  7. #7
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,215
    Scroll down the Canadian Computing Contest, and download some of the PDF's. (The ones from 2004-2008 are the best.)
    There are some easy questions that you should be able to answer, even if you are a beginner.
    The 2008 one is especially easy. I did it (the real thing) and got 60/75, forgetting to do something simple for problem #4... But I solved problem #5 (O(logn) solution, too), and I wasn't able to solve almost if not all of the earlier problem #5's (they are wickedly hard).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. could not find -lwsock32.lib
    By thomas_joyee in forum C++ Programming
    Replies: 8
    Last Post: 07-14-2008, 12:28 PM
  3. How to find O of threads ?
    By jabka in forum C Programming
    Replies: 3
    Last Post: 03-11-2008, 12:25 PM
  4. how do u find 2nd largest number??
    By juancardenas in forum C Programming
    Replies: 8
    Last Post: 02-14-2003, 07:28 AM
  5. Q: Recursion to find all paths of a maze
    By reti in forum C Programming
    Replies: 7
    Last Post: 11-26-2002, 08:28 AM

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