No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I need help with my big integer calculator program. The program should receive two large integers using vectors and calculate the sum, difference, product, and quotient o the two integers. The main file is: [code]#include <iostream> // cout, <<, >> #include <fstream> // istream, ofstream #include <string> // string #include … |
|
[CODE]#include <iostream> #include <vector> using namespace std; class Pair { public: Pair(int a, int b) {x=a; y=b;}; int get_x() {return x;}; int get_y() {return y;}; private: int x; int y;}; int main() {vector<Pair> set; \\input of the set of points, with 50 points Pair* a1 = new Pair(70, 64); set.push_back(*a1); … |
|
I have some problem with putting object in vector her's the code [code=cplusplus] #include <iostream> #include <vector> using namespace std; class Pair { public: Pair(int a, int b) {x=a; y=b;}; int get_x() {return x;}; int get_y() {return y;}; private: int x; int y;}; int main() {vector<Pair> set(); Pair* a1 = … |
|
Can someone help me with this task? Write a C++ class that implements all the functions of an ordered dictionary using (2,4) tree??? Needs me for today if someone now somethnig pls send something. |