Old 05-23-2008, 10:56 PM   #1 (permalink)
Detective Kirby
 
Join Date: Oct 2007
Posts: 161
Reputation: 11
Default please give me a task C++

i am learning C++, and i exprerinced, from other languages i have worked with, that it is easier to learn by getting small tasks, and then if i need something i dont know anything about (classes for example) i will look it up, and i learned something about classes, plus i get the satifaction from completing the task xD

so if you could give me some tasks (please no windows API), i could learn from i would be verry great full!

subjects i have covered:

variables
input/output
functions
structs (more or less)

i dont remember i know any other stuff, but i hope you can give me some resonable tasks (not "make 3D engine in 20 lines or less" or something)

in advance: Thanks
craksy is offline  
Old 05-24-2008, 12:11 AM   #2 (permalink)
Crumbly, but Good
 
Eriond's Avatar
 
Join Date: May 2006
Location: Montreal
Posts: 1,618
Reputation: 57
Send a message via MSN to Eriond
Default

The way I did it was trying to make a game. I'd always set my sights on making some sort of game, and gradually improving aspects of the game as I got better with the language.

First, try to make a MUD, or text adventure game. It's hard, but try and use files to hold rooms, and items and things. It doesn't matter if you don't get it done, but you should try to at least get it so you can move around, and pick up items and stuff.

After that, try and a make a simple game like tetris or breakout, or space invaders, using Win32 GDI+, or SDL. Again, you don't need to complete it, just use it to get familiar with SDL/GDI+ (personally I recommend SDL here).

Once you're done with that, branch out into OpenGL. Use SDL as a base, and try to transform your space invaders game into space invaders 3D.

This should take you about a year to do, maybe more. You don't have to do anything on this list, if you want to skip a step, or go somewhere else will your skills, by all means do so. This just how I did things.
__________________
Outsider
3D Space Action Shooter/RPG in Development
http://www.youtube.com/user/outsidergame
Eriond is offline  
Old 05-24-2008, 12:21 AM   #3 (permalink)
Detective Kirby
 
Join Date: Oct 2007
Posts: 161
Reputation: 11
Default

as for game development i allready learned some Direct3D!
i understand it pretty much, and i do plan on making a game in some way!

ill try to make a simple console game first.
should i upload it here when/if i get it done
craksy is offline  
Old 05-24-2008, 12:59 AM   #4 (permalink)
Crumbly, but Good
 
Eriond's Avatar
 
Join Date: May 2006
Location: Montreal
Posts: 1,618
Reputation: 57
Send a message via MSN to Eriond
Default

Sure. Why not?
__________________
Outsider
3D Space Action Shooter/RPG in Development
http://www.youtube.com/user/outsidergame
Eriond is offline  
Old 05-24-2008, 01:59 AM   #5 (permalink)
Detective Kirby
 
Join Date: Oct 2007
Posts: 161
Reputation: 11
Default

allmost finnished with the menu.
i learned something about classes allready xD
i made it up so i only have to call a createMenuItem(); function when i create my menues instead of creating it from scratch everytime i want the menu to be displayed xD

classes is wonderfull when you understand them (and a f***ing nightmare when you dont)
craksy is offline  
Old 06-05-2008, 12:09 AM   #6 (permalink)
Cloud's Hair Spray
 
Join Date: Aug 2006
Location: Away from you.
Posts: 70
Reputation: 10
Send a message via AIM to Gauge Send a message via MSN to Gauge Send a message via Yahoo to Gauge
Default

You are a jedi padawan trying to move planets with the force.

Slow down or the dark side will get you. To become a true master, set your sights at a reasonable level first. Make a text based game and try to use some of the following.

Classes
Abstract base classes
handle classes
polymorphism
data hiding/sharing
inheritance
pointers, pointers, pointers <-- this is the #1 reason c++ kills anything else out there for me. memory control is SUPER important in making games.
typecasting

That is just a start. There is a whole world of design implementations that you need to cover.

Start slow padawan, become a jedi knight, then shoot for the stars.
__________________
Gauge is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
OnRPG, Copyright ©2003-2011, Game Entertainment Enterprises