C++ Tutorial for Beginners Ep#10 where we learn about the defining Macros/Macro Functions with the #define preprocessor directive in C++. Marcos can help user define various constants / functions that will be filled in by the preprocessor. They can help condense code into one-liners and allow the program to reuse already know function or values. C++ macros can be used with existing preprocessor directives.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.
When using preprocessor directives and C++ Macros you can define which portion of the code should be compiled. This is good for build/debug compilations. Where you might not want to include debug statements in the final build. A Macro with #ifdef / #ifndef could help you achieve this without having to write two separate files. Let’s explore Macros and some of their uses together in this #define Macros and Macro Functions episode of C++ Tutorial for Beginners.
______________________________________________________________
📚📚 Learn more about Linux / Programming 📚📚
Linux & Command Line Guide – (Kindle)
The Linux Command Line – (Book)
Linux Pocket Guide – (Kindle)
Linux Basic for Hackers – (Kindle)
Linux Bible – (Book)
C++ Programming – (From the Creator)
C++ for Dummies – (The basics)
💾 💾 USB Disks and SD Cards 💾 💾
Samsung 128GB USB 3.1 – (Sleek)
Samsung 128GB USB 3.1 – (Slim)
SanDisk 128GB USB 2.0 – (Cheap)
SanDisk 128GB SD Card – (4K)
My Linux PC Setup:
Above contains affiliate links, this means I may receive a small commission if you click one. This helps support and grow the channel. If you do use a link thank you for supporting the channel!
_______________________________________________________________
📺📺 Check out More Videos!! 📺📺
Linux Tips –
Linux Reviews –
Linux Help –
Linux Installs –
C++ for Beginners –
Live Streams –
C++ Project Series –
_______________________________________________________________
Useful Commands/Links:
Windows 10 Compiler Tools Setup –
Visual Studio Code –
Online Compilers:
Great List of Online C++ compilers:
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 #ComputerScience
Tag: define c++, c++, c++ tutorial for beginners, cpp, c++ programming, visual studio c++ tutorial, c++ tutorial, visual studio c++, visual studio code c++, c++ vscode, savvynik, visual studio code c++ linux, c/c++, c++ basics for beginners, c++ beginner, c++ macros, c++ macros explained, c++ macros tutorial, c++ preprocessor, c++ preprocessor macros, using macros in c++, macros and inline functions in c++, c macros, macros in c, macros in c++, macro function in c++, c++ macro function
Xem thêm: https://icongnghe.org/category/chia-se
Nguồn: https://icongnghe.org
3 Bình luận. Leave new
Hi there, I have just found your channel, Hope you grow 🙂
😋
rosses are red
violets are blue
I think I may be gay
but if my parents find out
they will kill me right away
Great video Savvy !