One of the many powerful improvements of C++11 is Move Semantics. It addresses a variety of programming problems that have been vexed by C++ developers for years. However, moving semantics can be easily misused, and the nuances are often difficult to get correct. This presentation will benefit both those who are still learning how to write a strong robust C++ code and those who already know all…
Our screens are 2D dimensional planes and consists of pixels in X and Y directions. How we display a 3D object in this 2D plane ? 3D objects in our 2D screens are projection of 3D coordinates by using mathematical calculations. In 3D operations, i.e. in 3D graphics, 3D…
Learn To Use Arithmetics On Pointers In C++
April 12, 2021
In a previous post, we learned that pointers are variables to point address which is also an integer value. That means we can do arithmetic operations on a pointer variable. But do not forget that we operate on the addresses in our RAMs, so we should be careful and we should…
Learn To Use Break And Continue In Loops With C++
April 10, 2021
1. Using break in Loops
break statement is used to break code-block in case statements and it is also used to jump out of a loop. In an earlier post, we used break in switch() statements.
For example we can break for() loops, in this loop below we can break in…
Learn To Define And Use Arrays In C++
April 9, 2021
Arrays are used to define a data block in the memory with number of data types, like integer numbers, floating point numbers, characters, structures, … etc. C & C++ programming language provides this data structure, called as array that stores a fixed-size of…
Design Patterns are interchangeable design elements that can help to make the program more manageable, scalable, and extensible. In this video, you will be learning the basics of the trends of artistic, structural and behavioral design. This talk is targeted at beginners who have some C++ experience working on a software project but are beginning to think about major software issues. At the end of…
Learn C++ With Quickly Testing Qt Desktop Application with Approval Tests by Clare Macrae (CPPCon 2020) Video
April 4, 2021
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…
Learn How To Use Operators In C++
April 3, 2021
C Programming language is one of the oldest programming language. A lot of operands in other programming languages got inspiration from this language. C and C++ have the same operators and most of them are the same in other programming languages. In programming variable at…
Learn To Use For Loops In C++
April 2, 2021
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 calculate series in range or to list elements that have the number of elements (i.e. string lists, arrays, char arrays, vectors…