C++ Tutorial for Beginners Ep#8 - Constants & Literals - SavvyNik VIDEO
C++ Tutorial for Beginners Ep#8 where we learn about Constants & Literals.
Constants & Literals are used when you have a non-changing value in C++. Constants are also useful to define such things as known numbers in C++ and can help you organize you program. This C++ Tutorial is for Beginners is intended for learning the concepts of C++. Use Visual Studio Code or any text editor to follow along. Make sure to subscribe so you can follow the series.
There are two types of constant definitions using literals. You can either use the const type or #define to create a constant that can be used throughout your C++ program. The second method is more of a C based approach and has been carried over. Use whatever method you feel more comfortable with but the more correct way in C++ is to use the const keyword with a data type of your choice.
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
Useful Commands/Links:
Windows 10 Compiler Tools Setup - https://youtu.be/hCLIDph7-mU
Visual Studio Code - https://code.visualstudio.com/
Online Compilers:
https://www.onlinegdb.com/online_c++_compiler
http://cpp.sh/
https://repl.it/languages/cpp
Great List of Online C++ compilers:
https://arnemertz.github.io/online-compilers/#tldr
Windows Compiler Tools - GCC (GNU Compiler Collection) MinGW64
Linux Compiler Tools - Build-Essentials (GCC)
Name of extensions installed:
1. Code Runner
2. C/C++ Intellisense
#Linux #Programming #C++
Other Videos By SavvyNik 2020-10-21 C++ Tutorial for Beginners Ep#12 - While & Do While Loops - SavvyNik 2020-10-20 How to a Setup Static IP Address in Linux using Netplan - Beginners Guide 2020-10-19 C++ Tutorial for Beginners Ep#11 - For Loops - SavvyNik 2020-10-19 C++ Review #4 for Beginners - Macros & Switch Case | Find the Perimeter Program - SavvyNik 2020-10-17 Genshin Impact Live - Gameplay - Start from the Beginning. 2020-10-15 C++ Tutorial for Beginners Ep#10 - #define Macros and Macro Functions - SavvyNik 2020-10-13 C++ Tutorial for Beginners Ep#9 - Switch Case - SavvyNik 2020-10-12 FASTEST WAY - How to Take and Share a Screenshot on Windows 10 2020-10-11 Veloren Online Play - Game Play... on Linux (Q&A) 2020-10-10 C++ Review #3 for Beginners - Flow Control w/ Rock, Paper, Scissors - SavvyNik 2020-10-06 C++ Tutorial for Beginners Ep#8 - Constants & Literals - SavvyNik 2020-10-03 Veloren Online Play - New Skills and FPS Cap gone.. on Linux (Q&A) 2020-10-01 How to Dual Boot Ubuntu 20.04 LTS and Windows 10 - UEFI Linux 2020-09-29 C++ Tutorial for Beginners Ep#7 - if | else | else if statements (Conditional Statements) - SavvyNik 2020-09-26 C++ Review #2 for Beginners - iostream, formatting, and more operators - SavvyNik 2020-09-25 How to Create, Resize, or Extend a Linux Swap File | (Ubuntu) 2020-09-23 C++ Tutorial for Beginners Ep#6 - iostream - cout, cin, cerr, clog basic input/output - SavvyNik 2020-09-22 Dual Boot Ubuntu Server 20.04 LTS and Windows 10 - A Step by Step Install Guide - (UEFI Tutorial) 2020-09-21 C++ Tutorial for Beginners Ep#5 - Arithmetic, Relational, Logical, and Bitwise Operators- SavvyNik 2020-09-19 C++ Review #1 for Beginners - Character ASCII Table, Size and Limits of Data Types - SavvyNik 2020-09-17 C++ Tutorial for Beginners Ep#4 - Declare and Assign Variables - SavvyNik