Skip to content

Instantly share code, notes, and snippets.

@kalimalrazif
Last active January 30, 2017 02:18
Show Gist options
  • Save kalimalrazif/0f39beb58135d10ce5c5fe2599b043f9 to your computer and use it in GitHub Desktop.
Save kalimalrazif/0f39beb58135d10ce5c5fe2599b043f9 to your computer and use it in GitHub Desktop.
Declaración básica de una clase.
#ifndef _ANIMAL_H_
#define _ANIMAL_H_
class Animal
{
public:
Animal();
int getPatas();
void setPatas(int);
protected:
private:
int patas;
};
#endif // _ANIMAL_H_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment