Thread: History-Mod
View Single Post
Old 02-01-2004, 05:12 AM   #13 (permalink)
Mithril
Senior Member
 
Join Date: Aug 2003
Location: UK
Posts: 704
Send a message via MSN to Mithril
Default

#include <iostream.h>

using std::cout;
using std::cin;


class HistoryMod
{
public:

Publish() { cout << "Publishing History mod, ignoring useless
comments.... Success!";}
DisplayBuildNote() { cout << "Build Note: This mod is only for supportive people.";}
HistoryMod();
HistoryMod(bool successrate);
~HistoryMod();

int GetSuccessRate() const { return IsSuccessful; }
void SetSuccessRate(bool successrate) { IsSuccessful = successrate; }



private:

bool IsSuccessful;

};



int main ()
{
HistoryMod OurMod(true);

bool IsForNegativePeople = false;

if (IsForNegativePeople == false)
{
cout << " Publish Mod!" << OurMod.Publish();
else
cout << " Build Note:::" << OurMod.DisplayBuildNote();
}

return 0;

}
Mithril is offline   Reply With Quote