SWEN-340

C Programming Activity

Overview

This activity is to test your understanding of C Programming

Setup

    Right click on the "C Basic programming activity zip file" link below and save the link address
    or save to your local folder.

    On any C language platform (such as terminal on a Mac, cygwin
    on a PC, or on any Linux or Unix platform) do the following:

    If running on nitron
    mkdir mydir
    cd mydir
    wget (paste the saved URL -- right mouse click)
    unzip c_basic.zip
    make (builds the code -- look for warnings and errors)
    ./test (runs the tests)
    To retrieve your updated c_language_test.c file use
    WinSCP or sftp or other transfer utility.

    If running locally save the c_basic zip file to your local folder:
    make (builds the code -- look for warnings and errors).
    ./test (runs the tests)

    Submit your updated c_language_test.c to the C Basic Assignment
    folder by the due date on that folder. You do not need to submit the
    other files. Please do NOT put your file in a zip file.

    NOTE -- this is graded based on a reasonable effort. You will
    get full credit if you have code that compiles and runs and
    you have attempted to get some unit tests to pass.

    Do not put in more than an hour or two on this assignment.

Submission

Push all of your code to the repo by the deadline listed in MyCourses.

Grading

NOTE -- This is graded based on a reasonable effort. You will
get full credit if you have code that compiles and runs and
you have attempted to get some unit tests to pass.

Do not put in more than an hour or two on this assignment.

C Basic Programming Assignment File