Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef IP_H
- #define IP_H
- #include "octet.h"
- #include <string>
- class IP
- {
- public:
- IP(Octet a1, Octet a2, Octet a3, Octet a4);
- virtual ~IP();
- std::string ToBits();
- int getOct1();
- int getOct2();
- int getOct3();
- int getOct4();
- private:
- Octet partie1;
- Octet partie2;
- Octet partie3;
- Octet partie4;
- };
- #endif // IP_H
Advertisement
Add Comment
Please, Sign In to add comment