The most detailed rationale for programs is performed locally: considering the proximity of a program – usually a single function and the interfaces around it – and the reason for its action without reference to the rest of the program. This justification serves a broader objective: ensure that the whole program behaves appropriately. In this video, you will be learning how to put…
Learn C++ With Making Games Start Fast: A Story About Concurrency by Mathieu Ruport (CPPCon 2020) Video
April 26, 2021
Games taking too long to get started is a common criticism in game development. Players dislike it and developers spend a long time watching screen loading. The audience will be shown how Intel vTune can be used to profile threading problems, how “thread safe”…
An important feature in C++11, from the library’s perspective, are smart pointers. Smart pointers are more than smart designed pointers. Smart pointer models are semantic. Understanding the semantic ownership of smart pointers is the key focus of this video and your…
Learn C++ With Modern C++ Safety and Security At 20 by Matthew Butler (CPPCon 2020) Video
April 18, 2021
With the features and language improvements aim to be more comprehensive than even C++11, the C++20 standard is now complete. Engineers employed in safety critical systems, protection or even applications that are exploited by customers every day have special language needs. In this video, you will be looking into the latest features and updates to the specification and see how they affect code…
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…
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 know the range well. Simply, we can use ++, –, +, and – arithmetic operators on pointers:
In a 32bit application…
The normal C++ error handling technique, exceptions, does not work out of the box. There is a need to develop new patterns for error handling. The video will be demonstrating how design patterns already exist for parallel error handling and how these design patterns will be…
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 elements of the same type. Arrays are generally used to store a collection of data, and it is often more useful to store data as a…