Number Conversions
This is another one of my numerical analysis university assignments. It is an extension of binary to decimal conversion code. […]
C++ is one of the most powerful and widely used programming languages in the world. Built on the foundation of C, it adds object-oriented programming, generic programming through templates, and the rich Standard Template Library — making it the language of choice for game development, systems programming, high-frequency trading, real-time applications, and performance-critical software.
MYCPLUS has been one of the web’s longest-running C++ programming resources, publishing tutorials, source code examples and practical guides since 2004. This section covers everything from the absolute basics of C++ syntax through to modern C++ features introduced in C++11, C++14, C++17 and beyond. You will find clear explanations of classes, inheritance, polymorphism and encapsulation, practical STL container and algorithm examples, and real-world source code that demonstrates how C++ is used in professional software development.
Whether you are a student learning C++ for the first time, a C programmer making the transition to object-oriented development, or an experienced developer exploring modern C++ features like smart pointers, move semantics and lambda expressions — this section has the resources you need to level up your C++ skills.
Why MYCPLUS: One of the web’s longest-running C++ resources — trusted since 2004 with hundreds of tutorials, examples and source code projects built for real learning.
This is another one of my numerical analysis university assignments. It is an extension of binary to decimal conversion code. […]
This is a C++ class which has a member function that takes 3 arguments and converts the number from first base to second base. It takes the following arguments. – std::string thestlstring – int base – int base2
It is a snake game same as in Nokia Mobile Phones written n C++ using Turbo C++ compiler. I assure
This game will help all new C Language Programmers in understanding the concepts of graphics and object oriented programming in
This is an enhanced version of Tic-Tac-Toe (TTT) game by adding one more row and column. Actually I have played this newer version of Tic-Tac-Toe (TTT) game on a video game. So, when I learnt C/C++ programming, it was my wish to program this game myself using C/C++.
SWAT GAME /******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a
This C++ date class is intended to illustrate how to write a non- trivial class in C++. Even though this
First hint of object oriented programming using C++. #include <iostream.h> #include <string.h> main() { int index; float distance; char letter;
The following C++ program demonstrates the concept of constructors and destructors in C++.
Simple class program /******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as
In order to keep the program as simple as possible, all of the member methods are defined as inline functions.?
program, the objects are instantiated from an?inherited class and the intent of this program? is to illustrate that there is