Skip to Content
Advanced C++
book

Advanced C++

by Gazihan Alankus, Olena Lizina, Rakesh Mane, Vivek Nagarajan, Brian Price
October 2019
Intermediate to advanced
762 pages
14h 7m
English
Packt Publishing
Content preview from Advanced C++

6. Streams and I/O

Learning Objectives

By the end of this chapter, you will be able to:

  • Write and read data to/from files or the console using the Standard I/O Library
  • Format and parse data using the in-memory I/O interface
  • Extend standard I/O streams for user-defined types
  • Develop applications that use the I/O Standard Library from multiple threads

In this chapter, we'll develop flexible and maintainable applications using the I/O Standard Library, work with streams, learn how the I/O library can be used in multithreaded applications, and finally learn to format and parse data using the Standard Library.

Introduction

In the previous chapter, we covered one of the most challenging topics – concurrency in C++. We looked at the main ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced C and C++ Compiling

Advanced C and C++ Compiling

Milan Stevanovic
Mastering C++ Programming

Mastering C++ Programming

Jeganathan Swaminathan
Expert C++

Expert C++

Vardan Grigoryan, Shunguang Wu
C++ High Performance

C++ High Performance

Viktor Sehr, Björn Andrist

Publisher Resources

ISBN: 9781838821135Supplemental Content