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.

Quadratic Formula and Quadratic Equation

C++ Program to Solve the Quadratic Equation

This program will solve quadratic equations. It accepts coefficients of a quadratic equation from the user i.e. a, b and c and displays the roots. To compile the program name it quadratic_solver.cpp then type g++ -o quadratic_solver quadratic_solver.cpp You may need to use math.h like this: #include if you are using windows C++ programming software. (I tried it without the math.h and got an “undeclared identifier” error)

c-algorithms-library

C Algorithms Library

This article is about a collection of common Computer Science algorithms which may be used in C projects. The C Programming Language has a much smaller Standard Library as compared to other more modern programming languages such as Java or Python. The library provides a basic set of mathematical functions, string manipulation, type conversions, and file and console-based I/O.

multi-paradigm programming in C++

Multiparadigm Programming in Standard C++

A multi-paradigm programming language allows programmers to choose a specific single approach or mix parts of different programming paradigms. The power of C++ is such that it can be used to implement any paradigm. It supports procedural and class based object oriented programming as well as there is functional programming support in the modern standard library versions. The free-form nature of C++ can also be used to write obfuscated C++ which in one context can be seen as artful control over the language.

Ternary Operator with Examples in C

Ternary Operator with examples in C

In C Programming, ternary operator allows executing different code depending on the value of a condition. The returned value is the result of the expression when the code is executed. The main advantage of using ternary operator is to reduce the number of lines of code and improve the performance of application. In C, the real utility of ternary operator is that it is an expression instead of a statement i.e. you can have it on the right-hand side (RHS) of a statement. So you can write certain code statements more concisely.

hello_world_cpp

C++ “Hello World” Program

Typically, the best way to learn programming is by writing code. The first program beginners write is “Hello, World!” which is often used to illustrate the syntax of a programming language. You can take a look at the list of Hello World Programs in 300 Programming Languages to see how “Hello, World!” looks like in different programming languages.

file handling in C++

File Handling in C++

C++ treats files as data streams flowing into and out of a program. Each stream type has its own class, complete with functions that handle reading, writing, and managing file I/O efficiently.

Hello World

List of Hello World Programs in 300 Programming Languages

Hello, world! Programs are usually written to make the text “Hello, world!” appear on a computer screen. This is also a basic sanity check for an installation of a new programming language. The first Hello World program appeared in chapter 1.1 of the first edition of Kernighan & Ritchie’s original book about C, ‘The C Programming Language’, in 1978. This is considered to be the first ever “Hello World!” program.

Ternary Operator Diagram

Ternary Operator with examples in C++

In C++, ternary operator allows executing different code depending on the value of a condition, and the result of the expression is the result of the executed code. The ternary operator uses 3 operands. It evaluates a condition and after that chooses one of its two branches to execute, depending upon the result of condition. The symbol for ternary operator is “? :”. The syntax for the ternary operator is: ? : ;

Types of Polymorphism in C++

Polymorphism in C++

Simply speaking, polymorphism is the ability of something to be displayed in multiple forms. Let’s take a real life scenario; a person at the same time can perform several duties as per demand, in the particular scenario. Such as, a man at a same time can serve as a father, as a husband, as a son, and as an employee. So, single person possess different behaviors in respective situations. This is the real life example of polymorphism. Polymorphism is one of the important features of Object Oriented Programming (OOP).

Scroll to Top