Author |
Message |
Onlyone Newbie
Joined: Jul 26 2004 Posts: 13 Offline
|
Posted: Sun Mar 06, 2005 6:12 am Post maybe stupid 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. |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
|
Back to top |
|
 |
Maverick

Age:41 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Sun Mar 06, 2005 7:11 am Post maybe stupid 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  _________________
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sun Mar 06, 2005 7:22 am Post maybe stupid 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? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun Mar 06, 2005 10:34 am Post maybe stupid Post subject: |
 |
|
|
|
I thought the classic challenge was a Tetris game? _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Mar 06, 2005 11:18 am Post maybe stupid 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. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sun Mar 06, 2005 11:19 am Post maybe stupid Post subject: |
 |
|
|
|
I think as a starter program you should write a client for a 2d spaceship game _________________
 |
|
Back to top |
|
 |
EdTheInvincible Bumper? on!

Age:25 Joined: Apr 29 2004 Posts: 119 Location: Over There Offline
|
Posted: Sun Mar 06, 2005 11:40 am Post maybe stupid Post subject: |
 |
|
|
|
no, thats the BASIC starter _________________ Quidquid latine dictum sit, altum viditur. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Mar 06, 2005 12:33 pm Post maybe stupid 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. |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sun Mar 06, 2005 2:32 pm Post maybe stupid Post subject: |
 |
|
|
|
make something that works entirely in CLI and has a nice GUI, too |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Mar 06, 2005 3:07 pm Post maybe stupid Post subject: |
 |
|
|
|
Make a C++ Chatnet client. I started one, but never even got close to releasing it.  _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sun Mar 06, 2005 3:12 pm Post maybe stupid Post subject: |
 |
|
|
|
Hah, same here.  |
|
Back to top |
|
 |
|