Server Help

Trash Talk - Good starter program?

Onlyone - Sun Mar 06, 2005 6:12 am
Post subject: Good starter program?
Well i took C++ for 2 semesters in high school and then C last semester in college. We covered the basics all the way up to linked lists but, we never got into GUI developement or anything too terribly difficult.

Picking up from there, i was wondering what yall think a good starting program with a GUI would be... just to kinda get my feet wet?

I figure i could post my progress in the hopes of you experienced people telling me what i suck at etc., and maybe it will help unexperienced people like myself better understand C/programming.
Smong - Sun Mar 06, 2005 6:32 am
Post subject:
I only got as far as the hello world sample program, but it looks good to me as its supposed to be portable.
http://www.gtk.org/tutorial/ch-gettingstarted.html
Maverick - Sun Mar 06, 2005 7:11 am
Post subject:
Classic school example:
Make a text editor like wordpad in C++. That would be enough challenge with GUI I think.

Be creative, enhance it icon_smile.gif
Smong - Sun Mar 06, 2005 7:22 am
Post subject:
Do you recommend using a control to store the text in? Or doing it all yourself - memov'ing all the text right one when inserting a character at the front of the file? Or maybe some other way?
Dr Brain - Sun Mar 06, 2005 10:34 am
Post subject:
I thought the classic challenge was a Tetris game?
Mr Ekted - Sun Mar 06, 2005 11:18 am
Post subject:
Smong wrote:
Do you recommend using a control to store the text in? Or doing it all yourself - memov'ing all the text right one when inserting a character at the front of the file? Or maybe some other way?


That is not how you should be storing the text for a text editor.
D1st0rt - Sun Mar 06, 2005 11:19 am
Post subject:
I think as a starter program you should write a client for a 2d spaceship game
EdTheInvincible - Sun Mar 06, 2005 11:40 am
Post subject:
no, thats the BASIC starter
Mr Ekted - Sun Mar 06, 2005 12:33 pm
Post subject:
GUI is very different from console. In console you write sequential code. You control all the execution of the program. In GUI, you start up your app, but then hand the control over the operating system. You then receive and react to events (messages). This is similar to the way bot plugins work. Anything you need to know from one event to the next must be stored somewhere. This is generically referred to as a state machine.
SuSE - Sun Mar 06, 2005 2:32 pm
Post subject:
make something that works entirely in CLI and has a nice GUI, too
Cyan~Fire - Sun Mar 06, 2005 3:07 pm
Post subject:
Make a C++ Chatnet client. I started one, but never even got close to releasing it. icon_sad.gif
Solo Ace - Sun Mar 06, 2005 3:12 pm
Post subject:
Hah, same here. icon_biggrin.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group