New Paste :: Recent Pastes:: Add Line Numbers
nuts reference by godecho
#include <iostream> using namespace std; //I POLLUTE NAMESPACES AHSDFHASDHFAHSDF class A { public: void nuts(const int *b) { cout << *b << endl; } int mynuts; }; int main(int argc, char **argv) { int integer = 0; A *burly = 0; // NULL 8) try { burly->nuts(&integer); cout << burly->mynuts << endl; } catch(...) { cout << "bloops" << endl; } cout << "teh end." << endl; return 0; }