C++ Tutorial for Beginners #7: Visual Studio Code How to Read/Write a File | (Linux VS Code)

Channel:
Subscribers:
78,400
Published on ● Video Link: https://www.youtube.com/watch?v=eba5WbVggUQ



Category:
Tutorial
Duration: 28:13
6,582 views
126


A C++ Tutorial for Beginners using Visual Studio Code we'll go through How to Read/Write a File on Linux. We'll explore how to open a file using the fstream library in C++ VS Code and read/write a file and it's contents. We'll also use Visual Studio Code on a Linux platform. This C++ Tutorial is intended for Beginners in 2021 using VS Code.

We’re using Visual Studio Code to do all of our programming. We’ll add a new class that will help us write and read from a file. The plan is to setup a skeleton to be able to read and write in/out of a file. This will help us save our list and access it in the future. Currently, when the program is ended we lose our list of items, but this will be a great way to keep those items. A simple database that we’ll work on creating.

My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com

Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)

Want more info/content?
https://savvynik.com

Discord Link: https://discord.gg/zZD5q92
GitHub Repo: https://github.com/SavvyNik/SimpleList


📺 More Videos Below
C++ Programming Episodes:
Episode 1 - Visual Studio Setup: https://youtu.be/pu1XNDwQPl0
Episode 2 - Adding the Makefile Extension and Compiling: https://youtu.be/whQQF4kVjPY
Episode 3 - Creating our first program: https://youtu.be/PT6Nxwpeckw
Episode 4 - For Loops & Vectors: https://youtu.be/liVDKqG1RNA
Episode 5 - Classes & Objects: https://youtu.be/FbuuIgd4iLc
Episode 6 - Git Source Control: https://youtu.be/LJpFs0GoicY

Linux Install Videos:
Manjaro 19 Linux - https://youtu.be/OrAQxzqEKDs
Artix Linux - https://youtu.be/coJ3y4bPyaA
Void Linux - https://youtu.be/xM5Yl18vw8A
MX Linux 19.1 - https://youtu.be/wp-fSkezw04
Sparky Linux - https://youtu.be/0kLQG8t3PSY
Kali Linux - https://youtu.be/gMY216MCms4
ExTiX - https://youtu.be/4P-q4kFuEnk
Ubuntu 19 - https://youtu.be/7Z6oLnPLGhI
Kali Linux - https://youtu.be/xtHUbNrRhBo
PCLinuxOS: https://youtu.be/xR6ty3cSekg
openSUSE: https://youtu.be/xHJQQcKdFrw
Zorin 15: https://youtu.be/r_ONJwjrC80
Fedora 31: https://youtu.be/4qmPDKPck68
MX Linux 19: https://youtu.be/xRrXgBmO4Sc
ArcoLinux : https://youtu.be/HClRzTcgtn4
Solus Linux OS : https://youtu.be/2MehGx3jPxY
Parrot Security OS: https://youtu.be/TDJBFvZteBA
CentOS 8: https://youtu.be/FLl2DETdww4

Linux Talk :
Talk #1 ZFS vs EXT4 Storage Benchmark - https://youtu.be/a4IuijHVuog
Talk #2 ZFS vs EXT4 Memory Usage - https://youtu.be/csHR1soA_Rk
Talk #3 Supervisor Process Control - https://youtu.be/eX7D40y9qv8
Talk #4 LVM vs Standard Partition - https://youtu.be/N-vW06eHgJI
Talk #5 Linux Static IP Address - https://youtu.be/eTqtl169oSY
Talk #6 Flatpak Install - https://youtu.be/hvc5YQKMys0
Talk #7 Linux Static IP Setup (GUI) - https://youtu.be/1P8__6iM43Q
Talk #8 Desktop Setup and Must Have Programs - https://youtu.be/txbU6vOO7YU
Talk #9 Privacy & Notification Settings - https://youtu.be/8arizdzS8yw
Talk #10 Live Wallpapers - https://youtu.be/A99dP8b5JEA

Review and Walkthroughs:
Kali Linux Undercover - https://youtu.be/sHHkB-Ghnhc
Kali Linux - https://youtu.be/zQ6jC2lHNGg
PCLinuxOS - https://youtu.be/ztRvR7GeBzo
openSUSE - https://youtu.be/beNLjobtFk8
Zorin OS 15 - https://youtu.be/a3l51XitcKE
Fedora 31 - https://youtu.be/QSC2-WkMb8Y
MX Linux - https://youtu.be/7MgssE2Q9Es
ArcoLinux - https://youtu.be/04VYEj2OlCU
Endeavour OS - https://youtu.be/wV8bqVWQESg
CentOS 8 - https://youtu.be/T_yZuQVDMG4
Parrot Security OS: https://youtu.be/zEsJk61JZpo
Elementary OS: https://youtu.be/BuUsD4NhwIo
MX Linux: https://youtu.be/Oj_g62ESQ4E




Other Videos By SavvyNik


2020-03-28VirtualBox for Beginners: Easy Tutorial & Install Guide (Windows 10, Linux, & Mac OS)
2020-03-26Bash Shell Scripting Tutorial for Beginners | Our First Script Using Bash on Linux | Ep#1 (Ubuntu)
2020-03-24Parrot OS 4.8 Linux Install Tutorial | Security Edition | (Beginners Guide)
2020-03-22Debian 10 Linux | Beginners Basics after Install | Run Windows Programs, Change Desktops, and More!
2020-03-20Fedora 32 (BETA) Linux | NEW UPDATE! Linux Out of Memory Manager (EasyOOM) - Linux Update
2020-03-18C++ Tutorial for Beginners #8: Visual Studio Code - Read a File w/ 2D Vector | (Linux Cpp VS Code)
2020-03-16Debian 10 Buster Install Tutorial (Linux Beginners Guide)
2020-03-12KDE Neon Install Tutorial | (Linux Beginners Guide)
2020-03-10Zorin OS 15.2 Linux Install Tutorial | (Beginners Guide)
2020-03-08How to Resize or Extend a Linux Partition/Volume/Disk | (No Swap - Ubuntu)
2020-03-05C++ Tutorial for Beginners #7: Visual Studio Code How to Read/Write a File | (Linux VS Code)
2020-02-28Manjaro Linux 19 (Kyria) Update & Walkthrough | Linux Beginners Guide
2020-02-25Manjaro 19 Linux Install Tutorial - Linux Beginners Guide
2020-02-24Artix Linux Install Tutorial (with RUNIT) | Linux Beginners Guide
2020-02-22How to Install and Use GNOME Tweaks!! | Linux Beginners Guide using Ubuntu
2020-02-19Void Linux Install | (A Step-By-Step Linux Guide)
2020-02-17MX Linux 19.1 Install | (A Step-By-Step Linux Beginners Guide)
2020-02-15Sparky Linux Install Tutorial | (Beginners Guide)
2020-02-12Linux Talk #11: Linux Screen Tearing / Flickering using NVidia Graphics Driver | Beginners Guide
2020-02-09Kali Linux 2020.1 - NEW! Undercover Mode Update! & Non-Root Default User | Linux Beginners Guide
2020-02-05C++ Tutorial for Beginners #6: Git Source Control with Visual Studio Code | Linux