Unions & File Management

ANSI C C11    |    Intermediate
  • 11 videos | 46m 45s
  • Earns a Badge
Rating 4.4 of 25 users Rating 4.4 of 25 users (25)
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

  • 4m 31s
    In this video, you will learn how to differentiate between unions and structures, declare, initialize and reference a union in a C program. FREE ACCESS
  • 4m 44s
    In this video, you will learn how to use the dot operator and arrow operator in C. FREE ACCESS
  • Locked
    3.  Working with Unions
    4m 24s
    In this video, you will learn how unions can be used in C programs. FREE ACCESS
  • Locked
    4.  Opening and Closing Files
    3m 53s
    Upon completion of this video, you will be able to describe the FILE pointer, files, streams, and buffers, and show how to open and close a file using C. FREE ACCESS
  • Locked
    5.  Reading and Writing One Character at a Time
    3m 51s
    Upon completion of this video, you will be able to describe the functions used to read or write a file one character at a time using a C program. FREE ACCESS
  • Locked
    6.  Reading and Writing One Line at a Time
    4m 13s
    Upon completion of this video, you will be able to describe the functions used to read or write a file one character at a time using a C program. FREE ACCESS
  • Locked
    7.  Reading and Writing One Block at a Time
    4m 9s
    Upon completion of this video, you will be able to describe the functions used to read or write a file one character at a time using a C program. FREE ACCESS
  • Locked
    8.  Random Access
    4m 15s
    Learn how to use fseek for random access to a file in C. FREE ACCESS
  • Locked
    9.  Writing Structures and Arrays to Files
    5m 1s
    Learn how to write structures and arrays to a file using C. FREE ACCESS
  • Locked
    10.  Command Line Arguments and File Management
    4m 2s
    In this video, learn how to use command line arguments for file management. FREE ACCESS
  • Locked
    11.  Error Handling
    3m 42s
    During this video, you will learn how to use error handling functions such as ferror in file management scenarios. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.9 of 25 users Rating 4.9 of 25 users (25)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 131 users Rating 4.3 of 131 users (131)
Rating 4.5 of 65 users Rating 4.5 of 65 users (65)
Rating 4.7 of 95 users Rating 4.7 of 95 users (95)