Programming Homework Help

Linux Question

 

PLEASE USE SCRIPT COMMAND TO RECORD ALL STEPS. PLEASE SEND SCREEN SHOTS OF ALL SCRIPTED COMMANDS.

1.Download the file “make_samples” attached

2. Run the script command on your Unix/Linux command line terminal to start capturing, name the typescript file as ‘Makefiles_codeproject.typescript’.

3. Follow the tutorial, run the commands as shown in the tutorial to capture the transactions

4. Download “Programming assignment 1” file.

5. On a command line terminal run the script command to start capturing into a file name PA_makefile.typescrip

6. Display the content of the makefile for PA1.

7. Compile your programs for PA1to make the executable using make command

8. Make some changes to the program (e.g. add comments, etc…)

9. Run make again

10. Add a module named version (e.g. version.c or version.cpp) that has a single function: displayVersion() that simply displays “Current version is 1.2” where 1.2 is the value of a static global variable named version declared in the main module when gets called. Change you main module to add the version variable and modify the main function to call displayVerison() at the beginning.

11. Rebuild your executable for PA1using make, Run the program to confirm that version is displayed.

12. Register with github to create your own free account. Create repositories for your programming assignment 1

13. On a command line terminal run the script command to start capturing into a file name PA_GitHub.typescript

14. Create repositories for your programming assignment 1(PA1)

15. Show status of your local repository

16. Push your repositoryfor PA1 to your GitHub repositories

17. Show status of your remote repositories

18. Make some changes to your PA1program, show status of your local repositories

19. Push the changes to your remote repositories

20. Show status of your remote repositories

Please Submit files containing your makefiles, and your typescript files.