Hi again.
Well, I have a Mac computer, and the only thing have is MPW,a nd Its great, and pretty much does everything, but not compiling.
So my question is this; does anyone know any good mac compilers?
And, on another note, I have started a Mideaval-type game
Its not even close to being done, but I thought to post the code, just to have some people read it over. Because I'm not sure of syntax =(. Could someone take a look at it?
Code:// Epic Quest // v0.0.1 // By Macabre Productions // ©2003 // Pre-release #include <SIOW.h> #include <SIOW.r> #include <SIOW.o> #include <IOStreams.o> #include <MacWindows.a> #define Version "0.0.1" int Info() { printf("Epic Questv0.0.1"); } int playerinfo() { printf("What is your name?"); cin>>name; return name; printf("What is your age?"); cin>>age; return age; printf("What is your class? (IE: Warrior, Mage or Archer?)"); cin>>charclass; return age; } int main() { Player object: data: Life Strength Intelligence weapon armor actions: heal move attack find item END; Demon object: data: Life Armor weapon attack player actions: heal attack move END; class char { //stats int Strength; int Vitality; int Intelligence; //Equipment pointer weapon; pointer armor; //Actions/Movement void move(); void attack(); void itempickup(); } class Demon { int Damage; int Armor; //Equipment pointer weapon; pointer armor; //Actions/Movement void move(); void attack(); void itemdrop(); } void Player::move() { } void Player::attack() { } void Player::find item() { } void Player::heal() { life++ } void Player::lookr() { } void Player::lookl() { } void Demon::move() { } void Demon::attack() { } int levels() { int lvlchrdf = 1 int lvlchrmx = 99 int lvldmndf = 1 int lvldmnmx = 87 int chrlife = 100 if chrlife = 0 { end } }