Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Good starter program?

 
Post new topic   Reply to topic Printable version
 View previous topic  Burp Post :: Post The game says I am banned, but I have ...  View next topic  
Author Message
Onlyone
Newbie


Joined: Jul 26 2004
Posts: 13
Offline

PostPosted: Sun Mar 06, 2005 6:12 am   Post maybe stupid    Post subject: Good starter program? Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Mar 06, 2005 6:32 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Maverick
broken record


Age:41
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Mar 06, 2005 7:11 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Mar 06, 2005 7:22 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Mar 06, 2005 10:34 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sun Mar 06, 2005 11:18 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Mar 06, 2005 11:19 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I think as a starter program you should write a client for a 2d spaceship game
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
EdTheInvincible
Bumper? on!


Age:25
Joined: Apr 29 2004
Posts: 119
Location: Over There
Offline

PostPosted: Sun Mar 06, 2005 11:40 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

no, thats the BASIC starter
_________________
Quidquid latine dictum sit, altum viditur.
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sun Mar 06, 2005 12:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Sun Mar 06, 2005 2:32 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

make something that works entirely in CLI and has a nice GUI, too
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Mar 06, 2005 3:07 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Make a C++ Chatnet client. I started one, but never even got close to releasing it. icon_sad.gif
_________________
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
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Mar 06, 2005 3:12 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hah, same here. icon_biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 80 page(s) served in previous 5 minutes.

phpBB Created this page in 0.578489 seconds : 36 queries executed (81.6%): GZIP compression disabled