Question: If you have both Linux and Windows machines available, write identical c/c++ programs for each operating system . You may want to create a program

If you have both Linux and Windows machines available, write identical c/c++ programs for each operating system. You may want to create a program that does a number of long loops that do math calculations, or some other CPU intensive program. Compile and run them.

Consider the following questions:

Do you note any differences in the execution time? What are the differences in the compilers?

Compare the stack traces and see if there are any differences.

Submit your findings along with a copy of your source code for this practice exercise.

*If you do not have access to both operating systems, then modify the exercise to do the steps for the OS that you have and add an additional section to your report discussing the debugging options of your compiler. The additional section shall be at least one full page in length.

Include the operating system version, compiler used, any special compile instructions, and a description of the module, including function/method signatures.

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!