C++C++11C++14C++17Introduction to C++Learn C++

This Is How To Use Bit Shifting In Your C++ App

What is Bit Shifting? What is difference between Left Shifting and Right Shifting? How can we set bits of a byte in our C++ app? How can we slide bits in data to the left or to the right? What is a “bit” in C++ software? The bit is the most basic unit of information in computing and digital communications. In real all operators are mainly based on Bit Operations which are…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

Inserting A String Into A Wide String In A Modern C++ App

How can I use insert() method of std::wstring in a modern C++ app? How can I add a string to inside of a wide string? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double, string there is another data type wstring in modern C++ that we can use for alphanumeric variables. In Modern C++, there are several typedefs for common character…
Read more
C++Learn C++

How To Read An XML File In A C Program Or C++ App

Extensible Markup Language (XML) is one of the most used markup languages in web pages like HTML and used for storing, transmitting, and reconstructing arbitrary data and it is one of the most used file formats in data mining You can easily read XML files in a C or C++ app…
C++Learn C++

Solve A 3 Diagonal Matrix Using Successive Over Relaxation

C++ is a great programming language to calculate engineering problems, it is one of the best for those operations. Delphi is also faster compiled programming language that you can use in engineering problems. In this post we will explain how to write a C++ app to solve millions of unknowns in Equations by using Successive Over Relaxation Iteration Method. A little about the mathematics behind…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

How To Make find_first_not_of() String Searches In A C++ App

How can I find a first or last character that is not a character that i am searching in a string in my C++ app? What kind of methods I can use to find the first character equal to none of the characters in the given string in a std::string? How can I use find_first_not_of(), find_last_not_of() methods with strings? Modern C++ uses Wide Strings and Unicode Strings to support worldwide…
Read more