Best代写-最专业靠谱代写IT | CS | 留学生作业 | 编程代写Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代写

C语言代写|Project 3: Linked List

C语言代写|Project 3: Linked List


Linked Lists

A linked list is a sequence data structure consisting of a chain of nodes. Each node contains both data
and a pointer to the next element in the list. These elements are not necessarily stored in contiguous
memory locations

Corrections Additions and Important Notes!

We’re using the Head struct variant on page 26 of the reading! See the provided template.

Learning Goals

1. Learn how to write a C program that follows the given specifications.

2. Learn how C address the problem of creating complex data structures without the benefit of object
oriented programming


begin with this reading to understand the data structure

We’re using the Head struct variant on page 26. Our head struct is called LINKED_LIST and only
contains a pointer to the first node

LinkedListBasics.pdf (

Compiling and Running

  • All of the work will be done in the file linked_list.c
  • A few functions have been written for you to help you get started
  • Complete the remaining function definitions
  • A simple main function has been provided that performs one simple test for each function. Make sure
    you expand main to write more comprehensive tests.

gcc -g linked_list.c -Wall

Turn in

Upload your linked_list.c file to Canvas before 11:59:00 pm. You my upload your work as many times as
you wish. We will grade the last file submitted.

We strongly encourage you to modify the main() function to further test your code, but please make
revert back to the original main() function provided in the template when you submit. When we
grade, we will be replacing the main() function completely. We ask you to revert back to the original
main() to prevent potential compilation errors introduced by custom testing.


Please follow the style guide linked on the Canvas Homepage.


1. Do all of your work on the CSL instructional machines.

2. All assignments in this course are graded only on CS departmental machines running Linux
Operating System. It is your responsibility to make sure that your code runs on these machines

3. The project is due at exactly 11:59:00 pm. You may upload your file as many times as you wish. We
will grade the last file submitted. At 11:59:00 pm, you will no longer be able to submit your work.

4. We will be dropping one project score.

Debugging advice

1. Write the comments first.

2. Write your code in very small sections at a time and verify that it compiles before continuing.

3. Fix the compiler error messages from the top down. The first error may cause other compiler error
messages to generate from the correct code later in your file. So, scroll up and address the top error
message first.