Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

C: Data Structures, Pointers, and File Systems

via LinkedIn Learning

Overview

Broaden your knowledge of C. Take a deep dive into data structures, pointers, and other key concepts in this essential programming language.

Syllabus

Introduction
  • Learn data structures and pointers in C
  • Using the exercise files
  • Configuring the IDE
1. Arrays and Structures
  • Understanding arrays
  • Working with arrays
  • Modifying arrays
  • Passing an array to a function
  • Working multi-dimensional arrays
  • Building a structure
  • Nesting structures
  • Creating an array of structures
  • Sending a structure to a function
  • Understanding a union
  • Challenge: Presidents of the U.S.A.
  • Solution: Presidents of the U.S.A.
2. Characters and Strings
  • Using single character I/O
  • Testing characters
  • Working with character conversions
  • Understanding strings in C
  • Fetching string input
  • Sending string output
  • Reviewing printf() placeholders
  • Using printf() placeholders
  • Exploring string functions
  • Manipulating strings
  • Avoiding string problems
  • Challenge: String I/O and manipulation
  • Solution: String I/O and manipulation
3. Pointers
  • Understanding pointers
  • Using pointers to manipulate data
  • Doing pointer math
  • Comparing arrays and pointers
  • Allocating storage
  • Working with a pointer array
  • Using pointers in structures
  • Passing pointers to functions
  • Returning pointers
  • Challenge: Create a pointer array
  • Solution: Create a pointer array
4. Files and the Operating System
  • Reading from a file
  • Writing to a file
  • Working with raw data
  • Using random file access
  • Manipulating files
  • Exploring the path
  • Reading a directory
  • Getting file information
  • Using command line arguments
  • Calling the operating system
  • Challenge: Read and store filenames
  • Solution: Read and store filenames
5. The Interesting and Extraordinary
  • Solving math puzzles
  • Creating random numbers
  • Working with time functions
  • Sorting data
  • Debugging your code
  • Using a debugger
  • Writing your own header file
  • Mixing multiple source code files
  • Challenge: Lotto simulation
  • Solution: Lotto simulation
Conclusion
  • Next steps

Taught by

Dan Gookin

Reviews

Start your review of C: Data Structures, Pointers, and File Systems

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.