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.

Beginners > Basic shell help

#149228 - Cave Johnson - Thu Jan 17, 2008 12:24 am

Ive been trying to learn how to program, but every tutorial i read is only confusing me more. I am understanding the terms, but when they get into the code, i get lost. My main problem is that the code contains color coded words that they do not explain the meaning of (neither the color or the meaning of the colored words/symbols). There is a simple hello world code at http://www.palib.info/wiki/doku.php?id=day2 under usage that uses these colors and words. Could anyone please explain to me what on earth they mean?

#149230 - Miked0801 - Thu Jan 17, 2008 12:28 am

Most of those color coded words are reserved keywords of the language. If you don't know what a while() loop is, then you need a basic C porgramming book before you go any further.

#149237 - Cave Johnson - Thu Jan 17, 2008 2:18 am

Thanks for the reply, after a little research in C, everything is starting to make more sense. In the code for the hello world, it tells me to put the preprocessor and header as "#include <PA9.h> //Include PAlib." I have downloaded PAlib, but when i put this in the shell, i get the error "The system cannot find the file specified." I know i have the file because i found it hidden in the layers of folders, but why cant the shell acknolege it?

P.S. I used to live right outside of Seatlle, rock on space needle.

#149270 - Miked0801 - Thu Jan 17, 2008 5:04 pm

Good for you then. :)

And Seattle is a fun place to live. Been here all my life.