C++Game DevelopmentLanguage FeatureLearn C++

Learn To Simulate Realistic 2D Ball Physics in C++ Builder

In this post, we will explain how we can simulate realistic 2D ball physics in an easy and accessible way. Let’s assume that we look from an X-Y view, and Y is the height which means Y=0 is the ground. How we can simulate ball physics in a given ball velocity and gravity in that environment. C++ Builder is a great compiler and IDE with FireMonkey and VCL frameworks. It has compilers…
Read more
C++C++11C++14C++17Language FeatureLearn C++

Why You Should Learn About Hilarious Hedgehogs In C++

I know what you’re thinking: hedgehogs. Those cute, spiky little mammals who snuffle around in bushes and famously curl into a ball when life looks a little too scary. But, bear with me, those hedgehogs can serve a serious purpose in C++. In this post, you’ll learn how to draw vectors in arrows and visualize them with hedgehogs on the bitmap. By learning how to draw your engineering…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

How To Use Methods To Copy One String to Another String

How can we copy one string to another string? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type, string that we use for alphanumeric variables. In C++ there are several typedefs for common character types are provided: String types are defined in header<string>. strings are the string class…
Read more
C++Introduction to C++Language FeatureLearn C++

Learn to Display Formatted Floating Numbers in C++ Builder

How we can display floating or double numbers in C++ Builder? How we can apply formatting display to floating numbers? How we can use StrToFloatF method in C++ Builder? Can we use printf in Modern C++? Let’s answer all these questions. What does the phrase “formatted floating point numbers” mean in C++? In programming, we use float, double, long double datatypes a lot for…
Read more