I was looking down in the lounge, and reading diffrent ideas for beginner programs I could write. When I came across the Tic Tac Toe idea. I have been trying to develop this for a while, using all my own code. The problem I seem to come across is I am not planning ahead enough. Now I know that this will come with practice, but how do I think like a programmer? When i sit down to start typing what should i already have done? Is their a method to the madness?
I found an article here on cpluscplus by siavoshkc that is really helpful for me. Basically just plan everything ahead before you even write your program. He outlined the following design principle:
I was at borders (a book store) today, and did not see anything on program design or OOP, so today I looked over amazon to find something, but nothing really sparked my interest, anyone know of any good books?
This will be my first contribution to these boards, hope to become a regular member, nice to be able to offer a suggestion for once rather than constantly asking questions.
I came across the following eBook, it was linked to in the topic of the #c++ channel on freenode, so seems to have a fair few recommendations. Chapter one covers the principles behind OO programming, and a little later on it begins to discuss design methods. It is focused on teams, but you can still get the jist.
Typically that the site is down today, though it was up yesterday, sure its just a minor glitch and will be back soon. Its Thinking in CPP Volume 1 you want, and its a free download availiable from that site.
Hope this helped!
Edit: How do you insert url's? Stand bbcode [url][/url] doesn't seem to work?