Hi guys,
I need a couple of exercises in C with or without their solutions for a project in the university!!!Do you know any site with free exercises?(It would be better if the exercises are not very difficult!!)
Thank you any way...
Hi guys,
I need a couple of exercises in C with or without their solutions for a project in the university!!!Do you know any site with free exercises?(It would be better if the exercises are not very difficult!!)
Thank you any way...
1. don't hijack threads
2. especially not ancient threads
3. Let me google that for you
The only thing I can think of would be
Sphere Online Judge (SPOJ) - Problems
They are not C specific and there are no solutions, but you can submit yours to the site for (instant) evaluation (in any one of a bunch of languages; the criteria is speed and most of the winning entries are written in C ). The problems range from dead simple to totally impossible but IMO the "judge" standards are pretty tough; you can easily fail even the simple problems because your code is too slow. And if you pass, you know your code is correct (and reasonably optimized).
Not sure if I understand that cyberfish.
Last edited by MK27; 05-23-2009 at 09:10 AM.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
A mod split it.
I ran across these a while ago and bookmarked:
The C Programming Language Answers To Exercises
[oucs] Programming in C - Course Exercises
Hope it helps....
[edit: ignore the next two posts, I was trying some voodoo on Salem ]
@Muneeb: you should start a *new thread* in the C++ forum, using the "new thread" button there. Otherwise you probably won't get much attention.
@cyberfish:
Look, this is cursed now...
Last edited by MK27; 05-23-2009 at 10:30 AM.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
> Look, this is cursed now...
Yes, it is
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 agree, SPOJ is really nice. But, if you are just a beginner, I wouldn't recommend starting out over there.The only thing I can think of would be
Sphere Online Judge (SPOJ) - Problems
Code:>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.