All pastes #901525 Raw Edit

Gravious

public cpp v1 · immutable
·published 2008-02-12 18:58 UTC
rendered paste body
#include <iostream>#include <string>#include "classHuman.h"#include "conflict.h"#include "eventHandling.h"using namespace std;int main(){	int num = 2;	int iterator = 0;	human *sentient = new human[num];	// sentient[0] will be the hero	sentient[0].name = "Hero";	cout << "\nLeigh's Unnamed RPG Prototype.";	cout << "\n\n\tType 'help' for supported commands.\n\n";	string input;	while (input != "quit"){		input = "";		cout << "\nCommand > ";		cin  >> input;		parseAction(input, &sentient);	}	delete [] sentient;	return 0;}