fork download
  1. #include <iostream>
  2. using namespace std;
  3. class Parent {
  4. public:
  5. char* bloodtype;
  6. string DNA;
  7. private:
  8. int id;
  9. };
  10.  
  11. class child : public Parent {
  12. private:
  13. int id;
  14. };
  15. int main() {
  16. // your code goes here
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5460KB
stdin
Standard input is empty
stdout
Standard output is empty