RAM Disk utilities
May 31st, 2009
No comments
Linux:
cp /dev/null your_file_name
Windows:
copy /y nul your_file_name
class COverload { public: COverload(int p) : m_intValue(p) { std::cout << "COverload::COverload() " << m_intValue << std::endl; }; virtual ~COverload() { std::cout << "COverload::~COverload()" << std::endl; }; public: void overload(void) { std::cout << "COverload::overload() " << ++m_intValue << std::endl; }; void overload(void) const { std::cout << "COverload::overload() const " << m_intValue << std::endl; }; protected: int m_intValue; }; int main(void) { COverload const dd(2); dd.overload(); COverload bb(3); bb.overload(); }