Unions & File Management

ANSI C C11
  • 11 Videos | 48m 45s
  • Earns a Badge
Likes 11 Likes 11
In C, a structure data type and a union are similar. Learn to use unions in your C programs, as well as how to work with and manage files.

WHAT YOU WILL LEARN

  • differentiate between unions with structures, and declare, initialize and reference a union in a C program
    use the dot operator and arrow operator in C
    demonstrate how unions can be applied in C programs
    describe the FILE pointer, files, streams, and buffers, and show how to open  and close a file using C
    describe the functions used to read or write a file one character at a time using a C program
    describe the functions used to read or write a file one character at a time using a C program
  • describe the functions used to read or write a file one character at a time using a C program
    use  fseek for random access to a file in C
    write structures and arrays to file using C
    use command line arguments for file management
    use error handling functions such as ferror in file management scenarios

IN THIS COURSE

  • Playable
    1. 
    Declaring and Initializing Unions
    4m 31s
    UP NEXT
  • Playable
    2. 
    Referencing Union Members
    4m 44s
  • Locked
    3. 
    Working with Unions
    4m 24s
  • Locked
    4. 
    Opening and Closing Files
    3m 53s
  • Locked
    5. 
    Reading and Writing One Character at a Time
    3m 51s
  • Locked
    6. 
    Reading and Writing One Line at a Time
    4m 13s
  • Locked
    7. 
    Reading and Writing One Block at a Time
    4m 9s
  • Locked
    8. 
    Random Access
    4m 15s
  • Locked
    9. 
    Writing Structures and Arrays to Files
    5m 1s
  • Locked
    10. 
    Command Line Arguments and File Management
    4m 2s
  • Locked
    11. 
    Error Handling
    3m 42s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 17 Likes 17  
Likes 16 Likes 16  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 16 Likes 16  
Likes 15 Likes 15  
Likes 1602 Likes 1602