Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // main.cpp https://pastebin.com/vV3VfRGF
- // Convert.cpp https://pastebin.com/c6HBu4rp
- #pragma once
- #include <iostream>
- #include <string>
- #include <cmath>
- using namespace std;
- class Convert {
- public:
- Convert();
- int tonumber(string input, int base);
- string tobase(int input, int base);
- string getBase(int base);
- private:
- string _base;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement