Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Meditation Personal Transformation Life Purpose Emotional Intelligence Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Google Analytics
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Modeling Data Analysis Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Blogging Freelancing Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Programming Languages C

C++ Working with Files - fstream I/O library

Learn how to easily use the fstream library with the help of expert. Handle file operations without any problems!
Rating: 4.2 out of 54.2 (298 ratings)
34,752 students
Created by Arkadiusz Włodarczyk
Last updated 3/2021
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • how to operate on input and output streams
  • how to open and close files and how to handle errors connected to that operations
  • states of file opening
  • stream’s error flags
  • how to check size of opened file
  • what are binary files and how to compare them
  • how to extract and save content of file
  • how to create mini database that allows you to:
  • add, show, search, remove, load, save people
  • many functions that supports working with files
Curated for the Udemy for Business collection

Course content

3 sections • 18 lectures • 2h 45m total length

  • Preview03:26
  • Preview06:27
  • Preview00:21

  • Preview06:27
  • File opening modes
    13:24
  • Stream's error flags
    17:41
  • Reading position pointer - seekg and tellg
    08:53
  • Writing position pointer - seekp and tellp
    03:56
  • Extracting characters from files
    15:26
  • Comparing content of two files
    25:11
  • Put - loading characters from cin stream directly to file
    04:17
  • Peek - peeking characters without extracting
    03:42
  • Putback - returning extracted character on stream
    02:38
  • Write - writing bytes to file
    05:42
  • Gcount - counting characters from last operation
    03:35

  • Mini database - part 1
    18:05
  • Mini database - part 2
    23:58
  • What after the course?
    01:57

Requirements

  • You should be familiar with basics of C++ like variables, pointers, functions, structures, loops, arithemtic / bitwise / relational / logical operators
  • You should have an installed IDE for example CODE::Blocks / Dev C++ / Visual C++

Description

If you want to learn how to work with files in C++ language using the fstream (file stream) library then you are in the right place!

You do not need to know anything about operating on files, but it's good idea to know the basics of C++ language. 

After this course you will know:   

  1. how to operate on input and output streams,

  2. how to open and close files and how to handle errors connected to that operations,

  3. states of file opening,

  4. stream’s error flags,

  5. how to check the size of an opened file,

  6. what binary files are and how to compare them,

  7. how to extract and save the content of a file,

  8. how to create a mini database that allows you to add, show, search, remove, load, and save,

  9. many functions about working on files

This course consists of over 2 hours of great content. Before buying, please watch free videos so that you will see for yourself if you like the way I teach. 

Over 250,000 students bought my courses and most of them are happy. You will also be satisfied with this course. If you do not like the course, remember that within 30 days you can request a full refund. I guarantee you satisfaction. 

If you have any questions regarding the topics covered in this C++ course, please feel free to ask. I'm always happy to help those who want to learn! 

Please check out the free lessons first! See for yourself the great quality of my course and enjoy it!

Who this course is for:

  • This course is meant for beginners who already have some basic knowledge of C++. You should be familiar with variables, pointers, functions, structures, loops, arithmetic / bitwise / relational / logical operators. If you know these terms, you can continue your C++ adventure with this course; otherwise you may consider catch up on the basics first.
  • This course is probably not for you if you do not have any experience with C++ language

Instructor

Arkadiusz Włodarczyk
Excellent teacher, Expert in Programming
Arkadiusz Włodarczyk
  • 4.5 Instructor Rating
  • 32,679 Reviews
  • 255,044 Students
  • 18 Courses

I am the author of 27 very popular video courses about programming, web-development and math in Poland. I've also created 7 video courses in English. Over 250,000 people enrolled in my Udemy courses. I put all my heart into creation of courses. I always try to explain everything the easiest possible way. I'm sure that my courses will help you in the programming and web development adventure :)

I believe that everyone has the ability to develop software if they are taught properly. Including you. I'm going to give you the context of each new concept I teach you. After my course you will finally understand everything that you code.

I've been developing websites for over 15 years and I've been programming for over 10 years. I have enormous experience in that field and today I want to share with you my knowledge.

If you have any questions regarding any of the covered topics in my courses, please feel free to ask.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.