Question: 1. Construct a proper OO version of a program that will output Hello, world to the screen. A proper version includes an OO design in

1. Construct a proper OO version of a program that will output Hello, world to the screen. A proper version includes an OO design in UML. Compile and execute this program. e.g.: create a file hello-world.cc that might contain: #include int main() { std::cout << "Hello World!" << std::endl; } and compile this with g++ -o hello-world.out hello-world.cc and execute hello-world.out 2. Using the s flag, produce an assembly language listing of the program. g++ -S hello-world.cc 3. Do whatever you need to link, load, and run from the assembly language program you generate from the C++ assembly language listing. 4. Redo 1 through 3 with the debugger turned on. 5. Add an exception to the program (say, a statement such as x = 1 / 0) and repeat 1 through 3, showing the debugger output, stack trace, and the like. Show how the debugger helps you find the problem.

Explain how to do steps 3-5

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!