W3Schools Tryit Editor
[
フレーム
]
Run ❯
Get your
own
website
Go to Spaces
Ctrl+Alt+P
#include
using namespace std; // Base class class MyClass { public: void myFunction() { cout << "Some content in parent class.\n" ; } }; // Another base class class MyOtherClass { public: void myOtherFunction() { cout << "Some content in another class.\n" ; } }; // Derived class class MyChildClass: public MyClass, public MyOtherClass { }; int main() { MyChildClass myObj; myObj.myFunction(); myObj.myOtherFunction(); return 0; }
Some content in parent class.
Some content in another class.
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル