Question: Please note, you are required to include the following when you use g++ to compile: -pedantic For example: g++ -pedantic filename.cpp This will give a

Please note, you are required to include the following when you use g++ to compile: -pedantic For example: g++ -pedantic filename.cpp This will give a warning if you attempt to use any non-standard feature in g++. You must correct your code so that you do not receive any warnings of this type. Log on to the Linux server. Use your four files: Long.h Long.cpp LongMain.cpp Makefile In Long.h: #ifndef _LONG_H_ #define _LONG_H_ #include using namespace std; class Long { unsigned long long _n; bool _ispos; public: Long(); Long(long long); void add(const Long&); void display() const; void sub(const Long&); void mult(const Long&); void div(const Long&); }; #endif In Long.cpp, implement these member functions. You must make sure that you never have a negative zero. You must not use any built-in functions In LongMain.cpp, write a test main to test your code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!