C++Introduction to C++Language FeatureLearn C++

This Is How To Use Exception Handling In C++ Software

Do you want to use exception handling to trap runtime errors in your C++ software? How can we use try and catch in C++? Is there a C++ example for the latest try and catch usage? What is difference between try and __try? Can we use __try in C++? C and C++ has great features when it comes to Exception Handling. Exception Handling handles errors or exceptions which occur for code lines listed…
Read more
C++C++17Introduction to C++Language FeatureLearn C++

This Is How To Use Time And Its Properties In C++ Software

How can we use Time when writing C++ software? How can we obtain local time or UTC time in our C++ apps? How can we get each property of a time such hours, mins, seconds? In programming we have two important parameters that we use, which are Date and Time properties. The date and time properties are obtained from a timer or time module such as an RTC DS3231 module which is used on IoTs. The…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

This Is How To Simulate Ball Physics 3D in A C++ App

Do you want to learn how to make your C++ app simulate physics of objects in 3D without using any 3D engine? In this post we will explain how we can simulate ball physics 2D in a simple way. Let’s assume that we look from a X-Y view, and Y is the height that means Y=0 is the ground. How we can simulate a ball physics in a given ball velocity, and gravity in that environment? C++…
Read more
C++Introduction to C++Language FeatureLearn C++

How To Get A File Name Without Extension In C++ Software

How can I get a file name without an extension from a path string in C++ Builder? Can I learn what is  GetFileNameWithoutExtension Method is? What is the Syntax of the GetFileNameWithoutExtension Method? Is there an Example to GetFileNameWithoutExtension Method? If I am writing C++ software for Windows, how can I remove the filename’s extension? C++ Builder has a lot of very…
Read more