YoVDO

C: Data Structures, Pointers, and File Systems

Offered By: LinkedIn Learning

Tags

Computer Science Courses Data Structures Courses Pointers Courses

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
1. C Programming Fundamentals
  • 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
2. Variables and Values
  • 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
3. Operators and Math
  • 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
4. Decisions and Loops
  • 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
5. Functions
  • 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
6. Arrays and Structures
  • 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
7. Characters and Strings
  • 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
8. Pointers
  • 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
9. Files and the Operating System
  • 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
10. The Interesting and Extraordinary
  • 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
Conclusion
  • Next steps

Taught by

Dan Gookin

Related Courses

Intro to Computer Science
University 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