Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
User | Post |
Dwedit Posts: 94/116 |
Go look at the ACM programming competition practice problems.
http://acm.uva.es/problemset/ This site has at least 2000 practice problems, just scroll down. |
Guy Perfect Posts: 416/451 |
Program a simple Mastermind clone that accepts a 5-digit number as input and checks it against a randomly-generated number; displaying how many digits are correct, how many are in the wrong spot, and how many are completely incorrect.
Example: Let's say the random number is 65519. An entry of 12345 will result in 0 correct, 2 misplaced, 3 incorrect. An entry of 11555 will result in 1 correct, 2 misplaced, 2 incorrect. An entry of 19655 will result in 0 correct, 5 misplaced, 0 incorrect. Make a program to base a game on this concept, returning feedback as shown. Limit the number of possible tries to a variable number. 20 turns is recommended. |
Trax Posts: 56/77 |
Look for an explanation of how to calculate PI, and build a C function that logs the result...
It's quite basic after all, but you can pratice looping mechanisms (among other things)... Try this page for PI explanation : http://www.mcs.surrey.ac.uk/Personal/R.Knott/Fibonacci/fibpi.html |
spiroth10 Posts: 93/145 |
meh, I installed a c/c++ compiler (borland, this time) on windows again (had to format that HD) and I still have GCC on linux (mandriva). I might download VC++.net tonight, but I probably wont get the x86 devkit with it if I do -- dialup sucks...
I am kind of rusty though, and I just cant think of any program I need right now, so I want some kind of project to start to help me resharpen my skills, and maybe even learn a thing or 2. so can some of you guys show me or set me up with some practice projects? try to use only the base c/c++ libraries and [maybe] win32 (not good with win32 API at all -- I dont even remember it...) start out with some simple things (albeit more complex than hello world), but after that, I'm sure I can handle some more advanced stuff... I've been looking on google, but I couldnt find anything like this... |