Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class X {
- public:
- virtual void foo() = 0;
- };
- void X::foo() {
- std::cout << "X::foo()";
- }
- class C : public X {
- };
- int main(int argc, char *argv[])
- {
- C c;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement