Programming Tutorials — C, C++, C#, Java, JavaScript, Python, PHP, and Game Development

Flat illustration of a desktop workspace featuring a monitor displaying structured code icons representing computer programming tutorials

Programming powers modern technology — from desktop software and websites to mobile apps, games and enterprise systems. Strong programming skills remain essential for developers, students and technology professionals building modern digital solutions.

MYCPLUS has been publishing programming tutorials, source code examples and practical development guides since 2007. This programming hub brings together tutorials for C, C++, C#, Java, JavaScript, PHP and Python, along with game development and real-world coding examples designed for hands-on learning.

You will find beginner-friendly programming tutorials, practical source code examples and advanced development guides covering object-oriented programming, debugging, modern programming techniques and professional software development practices. Whether you are learning your first language, improving coding skills or exploring modern development technologies, this section provides structured resources for real-world programming and software engineering.

What You’ll Learn:

  • C programming fundamentals — variables, functions, pointers, memory management, file handling and procedural programming concepts
  • Modern C++ development — object-oriented programming, STL, templates, smart pointers, lambda expressions and advanced C++ features
  • Python programming — scripting, automation, data processing, application development and beginner-friendly programming concepts
  • Java and C# development — object-oriented design, application architecture and enterprise programming fundamentals
  • JavaScript and PHP programming — web development, frontend and backend programming, dynamic applications and interactive user experiences
  • Game development programming — graphics programming, game engines, real-time systems and practical game development concepts using C and C++

Why MYCPLUS: One of the web’s longest-running programming resources — trusted since 2007 with hundreds of tutorials, practical coding guides, source code examples and developer learning resources designed for real-world programming skills.

Generating Controlled Random Numbers in C#

Generating Controlled Random Numbers in C#

Generating random numbers is a fundamental requirement in various programming scenarios, from creating dynamic content to simulating unpredictable events. In C#, the System.Random class provides a versatile solution for generating random values. In this article, are going to explore the basics of random number generation in C# and write practical examples that showcase its applications.

Number Shuffling Game

C Program: Number Shuffling Game

This C program is a simple console-based implementation of a number-shuffling game. The game presents a grid of numbers, and the objective is to rearrange them in ascending order. The player can move the numbers by pressing the corresponding number keys, and the game tracks the number of moves taken to complete the puzzle.

Snake Game – C Imlementation

This C program simulates the game “snake” which is usually available in old mobile phones. A string of characters moves on the screen according to arrow keys pressed by user. If it touches itself or screen boundary, the program terminates. When the snake moves, in arbitrary screen positions some digit (1-9) appears. The objective of the game is to make the snake eat the said digit, so that it is added to the score. When a digit is eaten, the size of the snake increases by the number of characters equal to the value of the digit.

Advanced C++ Inheritance Techniques

Advanced C++ Inheritance Techniques for Effective Object-Oriented Programming

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. In the last tutorial on inheritance in C++ we developed a model using modes of transportation to illustrate the concept of inheritance. In this article we will use that model to illustrate some of the finer points of inheritance and what it can be used for.

Object Oriented Programming

Inheritance in C++

The principle of inheritance is available with several modern programming languages and is handled slightly differently with each. C++ allows you to inherit all or part of the members and methods of a class, modify some, and add new ones not available in the parent class. You have complete flexibility, and as usual, the method used with C++ has been selected to result in the most efficient code execution.

Memory Management

C++ Memory Management

Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show you that the conventional wisdom is not true. When approached correctly, C++’s seemingly archaic memory-management scheme actually provides an opportunity to create spectacular programs – programs that would not be possible with more modern languages that handle memory automatically.

Fibonacci Numbers

C Program to show Fibonacci Sequence

This C program prints out the first Fibonacci series of N numbers. In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci. The first number of the sequence is 0, the second number is 1, and each subsequent number is equal to the sum of the previous two numbers of the sequence itself, thus creating the sequence 0, 1, 1, 2, 3, 5, 8, etc. The standard form of writing Fibonacci series is:

Scroll to Top