- 586 名前:デフォルトの名無しさん mailto:sage [04/08/22 16:03]
- class Thread2ch {
static int resNumber; public: virtual void hosyu() = 0; virtual int resWrite(std::string contents, bool isSage = true) = 0; }; class PrototypebaseOOThread : public Thread2ch { void hosyu() { ・・・ } int resWrite(std::string contents, bool isSage = true) { ・・・ return ++resNumber; } }; int main() { PrototypebaseOOThread *anObject = new PrototypebaseOOThread(); anObject->resWrite("ぬるぽ"); delete anObject; return 0; } //コードでスレッドの保守を表現する感じでお願いします。 //言語名もかいてくれると(゜д゜)ウマ //で、585氏早速ありがとうございます
|

|