Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class NumeroGrande {
- private:
- long int valor[10];
- public:
- NumeroGrande();
- NumeroGrande(long int a, long int b); // a ^ b sera el valor
- NumeroGrande operator + (const NumeroGrande& other) const;
- bool operator > (const NumeroGrande& other) const;
- NumeroGrande operator >> (size_t shift) const;
- operator bool() const;
- friend std::istream& operator >> (std::istream& i, NumeroGrande& ng);
- };
- std::istream& operator >> (std::istream& i, NumeroGrande& ng){
- char aux[20];
- i >> aux;
- return i;
- }
- int main(){
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement