Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a project idea

Status
Not open for further replies.

denisfinn

Programmer
Jun 7, 2003
49
US
well...i am starting to get the hang of VC++ and I can finally make dialog boxes with buttons and things. But I have come to a problem. I have no clue what to make. Can someone give me an idea. Actually can everyone give me an idea. Please remember that I am not at all a c++ expert, so be kind with your suggestions.

Thanks,
Denis
 
My first project that I did to help me learn Visual C++ was to create the game tic-tac-toe. I did not use any dialogs, instead relied on intercepting mouse clicks. I used the views OnDraw function to draw the current state of the game.

Features to think about:
1. Drawing the grid.
2. Draw the moves already made.
3. Intercepting the mouse button down messages.
4. Allow 2 player.
5. Create a single player version. Computer is smart enough to know the next move.

Hope this is what you are looking for. Have fun.
 
Do something that you find interesting. As a "learning-project" I once made a chess client (without the AI) that perform movement validations etc. I did it for fun. I learned some, but have never actually had any use of it :)

Another approach could be to start with something small that you can keep on extending as you learn new techniques.

For example, make a calculator that can evaluate expressions like "1+3".
* Find some way to parse input.
* Find some way to evaluate the expressions.
* Extend the handling to allow more complex expressions, like "1+3*(5-4)+Pi".
* Add handling of functions in the expressions (like "sin(Pi/2)").
* Handle variables. (given "a=4" and expression is "3+a", it evaluates to 7)
* Add <whatever>



/Per
Nerdy signatures are as lame as the inconsistent stardates of STTNG.
 
nice suggestions everyone!

it's just that i'm not good enough to do any of them...

ohh yeah, /Per check out the calculator I have already made (go there) download or look at both calculators. The first one at the top of the page is in c++ (w/o VC++) the last one is in basic.

thanks,
denis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top