gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > I am taking a class on c++

#31479 - qwertycho - Sat Dec 11, 2004 6:04 am

I am in high school and I'm taking a full year c++ class, so far we haven't learned anything with graphics. We've mostly done things with words, numbers and strings, do I have the ability to code GBA programs? Or should I wait and finish out the year to start.

#31484 - tepples - Sat Dec 11, 2004 6:25 am

When you feel ready:
  1. Set up MinGW on your computer if it runs Windows. You need to get used to a command line compiler toolchain, especially one based on GCC.
  2. Download and install the Allegro library into your MinGW tree.
  3. Make a few programs that use the Allegro library.
  4. Then come back and ask if you're ready.

_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#31495 - keldon - Sat Dec 11, 2004 11:52 am

qwertycho wrote:
I am in high school and I'm taking a full year c++ class, so far we haven't learned anything with graphics. We've mostly done things with words, numbers and strings, do I have the ability to code GBA programs? Or should I wait and finish out the year to start.


Once you're comfortable with coming up your own algorithms you could probably start making simple GBA games. The thing is that even the simplest of games is the work of many "words, number and string"-like routines all working in unison.

#31918 - pr0gm3r - Wed Dec 15, 2004 10:55 pm

qwertycho wrote:
I am in high school and I'm taking a full year c++ class, so far we haven't learned anything with graphics. We've mostly done things with words, numbers and strings, do I have the ability to code GBA programs? Or should I wait and finish out the year to start.



If you really ready to tackle some graphics programming... that wouldn't be a problems. Just try to learn C++ from your class and try to read ahead and also do some simple problem just to practice on C++ and getting know programming language.

Basicaly all programming has the same concept or grammer but diffrent syntax and try to understand the basic compiler... because compiler for GBA is diff than MVC++. keep practicing everyday!!!

and dont forget to read "tepples's" post =)


GBU!!!
_________________
pr0gm3r!

#31926 - sajiimori - Wed Dec 15, 2004 11:56 pm

Quote:
Basicaly all programming has the same concept or grammer but diffrent syntax...
Syntax is only the most superficial difference between languages. There are many others.

#31942 - sgeos - Thu Dec 16, 2004 3:08 am

sajiimori wrote:
Quote:
Basicaly all programming has the same concept or grammer but diffrent syntax...
Syntax is only the most superficial difference between languages. There are many others.

Just to name a few- ASM, C, Perl and Smalltalk are all fairly different once we look past language grammer.

-Brendan

#31946 - sajiimori - Thu Dec 16, 2004 3:48 am

All of which are imperative languages. Check out Prolog and Haskell for two truly different styles (logical and functional, respectively).

Lisp can also be molded to fit any of these styles, but you have to like s-expressions and dynamic typing (even if only to program your way out of them).