C++Introduction to C++Learn C++

Discover Switch Statements in C++

Another one of the most used logical operators in C++ is switch() statement. A switch statement allows you to check variable and you can branch to different cases in accordance with it’s value. Each cases can be defined for different values, and the variable being switched on is checked for each case.When the switch expression is evaluated once, the value of the given expression is…
Read more
C++Learn C++Videos

Learn C++ With Quickly Testing Qt Desktop Application with Approval Tests by Clare Macrae (CPPCon 2020) Video

This video will discuss the problems and possible sources of error that are unique to the code, which the Qt cross-platform graphical user interface library uses, and then explain how to defend against them. The video will also briefly discuss some other resources that can help to inspect and maintain the Qt code, which in turn will boost testability. Audience will discover some simple practical…
Read more
C++Introduction to C++Learn C++

Learn To Use For Loops In C++

In programming, one of the most used statement is for() loops. It is used to count in range with given conditions. If you know exactly how many times you want to execute a block of code in your loop, then they are very useful than other loops. Occasionally, it is used to…
C++Introduction to C++Learn C++

Learn to Use Strings in C++

In C programming language ASCII codes are used as in char arrays to store texts in ASCII mode. You can use char arrays in both C and C++, they are faster in operations and they have less memory usage. In s modern way, strings are useful for storing texts and they are defined in the string library. A string class contains a collection of characters surrounded by double quotes as we used in char…
Read more