All pastes #2108198 Raw Edit

Miscellany

public cpp v1 · immutable
#2108198 ·published 2012-01-31 17:54 UTC
rendered paste body
#include "MonopolyProperty.h"#include <iostream>#nclude "MonopolyProperty.h"#include <iostream>#include <iomanip>^using namespace std;ostream& operator<<(ostream& o, MonopolyProperty p){        o << setw(30) << p.name << " " << p.count;                return o;}void MonopolyProperty::print(){        cout << setw(30) << name << count;}void MonopolyProperty::increment(){        count++;}~Ginclude <iomanip>using namespace std;ostream& operator<<(ostream& o, MonopolyProperty p){    o << setw(30) << p.name << " " << p.count;    return o;}void MonopolyProperty::print(){    cout << setw(30) << name << count;}void MonopolyProperty::increment(){    count++;}