This video teaches the following:
Color Themes You can select a color theme for VS Code by opening the Color Theme picker with File > Preferences > Color Theme. You can also use the keyboard shortcut Ctrl+T to display the picker. Read more about Color Themes and download many more from the Extension Marketplace by […]
Creating a Workspace in VS Code (helloworld example) Create a Source File (C++ Program) Set Up Auto Save You can enable Auto Save to automatically save your file changes, by clicking on File at the top and then scrolling down to click on Auto Save. The Activity Bar on the edge of […]
STEP ONE: Pause Your Antivirus Software If you have any antivirus software (Norton, TotalAV, Guardio, Avast, AVG, Aura, Bitdefender, Surfshark, Avira, etc.) on your computer, pause it so that you can fully download the zip file in the next step. If you do not know how to pause your antivirus, […]
When you can write your code in the form or without having to put ways to exit the loop (break, continue, or goto) in the body of the loop then a person reading your code can immediately understand what condition is going to terminate your loop just by looking at […]
(Image taken from https://xkcd.com/) The goto statement in C++ (and many other languages) is generally considered bad programming practice. Here are some reasons why: Take a look at this Stack Overflow post that shows a student’s program that used goto: https://cplusplus.com/forum/beginner/210844/
C++ Structures https://www.youtube.com/watch?v=RUD78aW7jaU Nested Structures https://www.youtube.com/watch?v=Zl9yBeTb9ZY Arrays of Structures https://www.youtube.com/watch?v=MHSyatOu3uE Structures & Functions https://www.youtube.com/watch?v=Jc9DhHCg_Tk Pointers to Structures & DMA https://www.youtube.com/watch?v=j7ZxCShVc8I
Why Pointers? https://www.youtube.com/watch?v=qK2YHYIfkE4 The Basics of Pointers https://www.youtube.com/watch?v=GIIFVy4VTFw Arrays and Pointers https://www.youtube.com/watch?v=MuB2VHIuaCU Dynamic Memory Allocation https://www.youtube.com/watch?v=rB8myY8NfjU Functions & Pointers https://www.youtube.com/watch?v=NTz9ETEIVGY
Problem Description Place elements organized in an array or list in either ascending or descending order. Algorithm Description Bubble sort is a simple sorting algorithm that repeatedly steps through the list or array to be sorted, compares each pair of adjacent items, and swaps them if they are in the […]