C: Data Structures, Pointers, and File Systems
Offered By: LinkedIn Learning
Course Description
Overview
Learn the C language, including simple I/O to data storage, structures, pointers, file operations, and interacting with the operating system.
Syllabus
Introduction
- Diving into C
- Configuration and setup
- Coding your first program
- Challenge: Write your own code
- Solution: Write your own code
- Getting into the C language
- Reviewing code structure
- Working the C development cycle
- Challenge: Find and fix the bugs
- Solution: Find and fix the bugs
- Exploring the preprocessor
- Understanding header files and libraries
- Adding comments
- Chapter challenge: Building the foundation
- Chapter solution: Building the foundation
- Understanding C language data types
- Declaring variables
- Working with variables
- Exploring the printf() function
- Using constants
- Challenge: Making variables and constants
- Solution: Making variables and constants
- Understanding variable scope
- Making new data types
- Specifying characters and strings
- Specifying integers and real numbers
- Typecasting a variable
- Chapter challenge: Adding variables and constants
- Chapter solution: Adding variables and constants
- Working with math operators
- Challenge: Do some math
- Solution: Do some math
- Using assignment operators
- Obeying the order of precedence
- Challenge: Get the order correct
- Solution: Get the order correct
- Working with relational operators
- Using logical operators
- Understanding bitwise operators
- Shifting bits
- Exploring unary operators
- Chapter challenge: More math
- Chapter solution: More math
- Making a decision
- Exploring the possibilities
- Using the ternary operator
- Working with the switch-case structure
- Challenge: Select an item
- Solution: Select an item
- Creating a for loop
- Setting up a while loop
- Challenge: Repeat some text
- Solution: Repeat some text
- Nesting loops
- Breaking out of a loop
- Avoiding the goto keyword
- Chapter challenge: Interpreting commands
- Chapter solution: Interpreting commands
- Understanding functions
- Creating a function
- Challenge: Writing a function
- Solution: Writing a function
- Returning a value from a function
- Challenge: Returning a value
- Solution: Returning a value
- Passing arguments to a function
- Challenge: Passing values
- Solution: Passing values
- Using the main() function's arguments
- Retaining values in a function
- Creating recursive functions
- Chapter challenge: Write the functions
- Chapter solution: Write the functions
- Understanding arrays
- Working with arrays
- Challenge: Creating an array
- Solution: Creating an array
- Passing an array to a function
- Working with multi-dimensional arrays
- Building a structure
- Nesting structures
- Challenge: Constructing a structure
- Solution: Constructing a structure
- Putting structures into an array
- Working with structures and functions
- Chapter challenge: Manipulating a structure
- Chapter solution: Manipulating a structure
- Using single character I/O
- Testing and converting characters
- Challenge: Character I/O and conversions
- Solution: Character I/O and conversions
- Understanding strings in C
- Fetching string input
- Sending string output
- Challenge: Using printf placeholders
- Solution: Using printf placeholders
- Exploring string functions
- Manipulating strings
- Chapter challenge: Reading commands
- Chapter solution: Reading commands
- Understanding pointers
- Using pointers to manipulate data
- Doing pointer math
- Comparing arrays and pointers
- Challenge: Output a string
- Solution: Output a string
- Allocating storage
- Working with a pointer array
- Using pointers in structures
- Challenge: Allocating structures
- Solution: Allocating structures
- Passing pointers to functions
- Returning pointers from a function
- Chapter challenge: Processing input
- Chapter solution: Processing input
- Reading from a file
- Writing to a file
- Challenge: Writing and reading files
- Solution: Writing and reading files
- Working with raw data
- Using random file access
- Challenge: Access database records
- Solution: Access database records
- Manipulating files
- Exploring the path
- Reading a directory
- Getting file information
- Chapter challenge: Managing files
- Chapter solution: Managing files
- Calling the operating system
- Doing advanced math
- Working with time functions
- Creating random numbers
- Sorting data
- Chapter challenge: Sorting a grid
- Chapter solution: Sorting a grid
- Next steps
Taught by
Dan Gookin
Related Courses
Intro to Computer ScienceUniversity of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Analytic Combinatorics, Part I
Princeton University via Coursera Algorithms, Part I
Princeton University via Coursera Algorithms, Part II
Princeton University via Coursera