Sale!

CSC 415 Homework Assignment #1, Hello World solved

Original price was: $35.00.Current price is: $30.00.

Download Details:

  • Name: csc415-p1-hnydqb.zip
  • Type: zip
  • Size: 128.47 KB

Category:

Description

5/5 - (4 votes)

For this assignment, you will write a simple program in C that prints out the
following string on the shell command line:
CSC 415, This program written by !
where is replaced by your name (you should store the value of your name
in a #DEFINE’d constant). You will implement your code using the Unix system calls.
The Unix program should be implemented using a single low level write() system call,
along with the sprintf() utility to format your output into a buffer prior to output. You will
use a Linux computer or Linux VirtualBox for this assignment. You will need to
download/install the free Virtual Box Appliance from Oracle, then download the Virtual
Box appliance from the course web site (this file is more than 2Gbytes in size – be sure to
use a wired connection in the CS lab & a USB stick, as necessary, for reasonable
download times). Check the system call man pages on each machine to determine the
correct #include directives to use on each machine for each system call, and use gcc to
compile your program along with a make file to control compilation.
You should submit your source code and a readme file to explain the following things:
1. How to build the program
2. How to run the program
3. What the program does.
This submission will be made to your repository. Make sure to do the following when you
are done with your project:
• git add .
• git commit -m “some message”
• git push
See the course web site for due dates and late work policy.