Thinking the right way

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?

TEACH ME HOW TO THINK :-)
This older topic can help you out:
http://www.cplusplus.com/forum/lounge/2358/
Learn a design philosophy. Something like object orientated development/design.
@Zaita

Do you know of any good books, or tutorials. I was looking over the Wikipedia OO articles. The where somewhat helpful.

@Mitsakos

I read that, it help thanks!
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:

1. Specifications
2. Design
3. Implementation
4. Test & Debug
5. Documentation

http://www.cplusplus.com/forum/articles/11/
Last edited on
Thanks, that really helped!
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?
Hello,

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.

http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html

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?
Last edited on
Xexr welcome to the forums, and thank you for your suggestion I will look into it.

And no idea on the link thing.

:-)
Last edited on
[url][/url] tags are purposefully disabled. Just post the actual url and the forum will typically auto-link it.
No problem :)

Douas, that was my first assumption, but how come it didn't insert the link for my url?
I don't know. The url code for the forum still has some bugs in it. It could be you found one of them. PM twicker about it and he'll look into it (probably). The link for your post is:
http://www.cplusplus.com/forum/beginner/3543/page1.html#msg15423
Last edited on
Topic archived. No new replies allowed.