Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If I have myprogram.cpp file how to do the following in Linux: (Explain every step) For this assignment you are to follow the procedure outlined

If I have myprogram.cpp file how to do the following in Linux: (Explain every step)

image text in transcribed

For this assignment you are to follow the procedure outlined below. Please r ead these instructions carefully 1. Create a directory named hw01 that contains all of the source code for your program and nothing else 2. Design, code, compile, and thoroughly test your program 3. Make sure that your program files each begin with a substantial comme nt section that includes: your name program name a brief description of the contents of the file .the date of your last modification to the file 4. Make sure that your program does not contain any lines that are longer than 79 characters 5. Prepare and submit a script file similar to the following: 6. script hw01script /open the script file 7. cat progifile1 //list the file(s) for your program 8. cat prog1file2.. .(etc.) /into the script. (see note below) 9. cat Makefile 10. make 11. /a.out 12. exit //If you wrote a makefile list it. // build your program // give a good demo of the program // close the script file [Note: In general, if you have pairs of files such as: thing.h and thing cpp ALWAYS list the .h file first and then the .cpp file.] 13. Prepare a gzipped tarball that contains all of your source code files and data files so that I can easily build and run your program. The comma nd to do this is: tar-czf yourname-hw1.tar.gz * This command will create a compressed archive containing all files in t he directory as well as any subdirectories, so make sure that you de lete all backup files and binary files that may have been produ ced while you were editing and debugging your program before creating this tarball. Make sure that your tarball contains your scrip t file 14. Finally: Mail your tarball, as an attachment to: gmail.com For this assignment you are to follow the procedure outlined below. Please r ead these instructions carefully 1. Create a directory named hw01 that contains all of the source code for your program and nothing else 2. Design, code, compile, and thoroughly test your program 3. Make sure that your program files each begin with a substantial comme nt section that includes: your name program name a brief description of the contents of the file .the date of your last modification to the file 4. Make sure that your program does not contain any lines that are longer than 79 characters 5. Prepare and submit a script file similar to the following: 6. script hw01script /open the script file 7. cat progifile1 //list the file(s) for your program 8. cat prog1file2.. .(etc.) /into the script. (see note below) 9. cat Makefile 10. make 11. /a.out 12. exit //If you wrote a makefile list it. // build your program // give a good demo of the program // close the script file [Note: In general, if you have pairs of files such as: thing.h and thing cpp ALWAYS list the .h file first and then the .cpp file.] 13. Prepare a gzipped tarball that contains all of your source code files and data files so that I can easily build and run your program. The comma nd to do this is: tar-czf yourname-hw1.tar.gz * This command will create a compressed archive containing all files in t he directory as well as any subdirectories, so make sure that you de lete all backup files and binary files that may have been produ ced while you were editing and debugging your program before creating this tarball. Make sure that your tarball contains your scrip t file 14. Finally: Mail your tarball, as an attachment to: gmail.com

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

mple 10. Determine d dx S 0 t dt.

Answered: 1 week ago

Question

=+7. Compare Walmarts new and old logos:

Answered: 1 week ago

Question

=+1. Why is it important to view CSR from a strategic context?

Answered: 1 week ago