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.

Copying One File to another in C

Copying One File to another in C

This is a simple C program that copies the contents of one file onto another file. It is similar to Unix’s cp  command. This C program is called with two parameters i.e. the names of two files. The contents of the file referenced in second parameter are copied onto the file which is referenced by first parameter. 

Defensive Programming Techniques

Defensive Programming Techniques

This source code is from Thinking in C++, 2nd Edition, Volume 2, by Bruce Eckel & Chuck Allison. You can use Borland, G++ (For version 3 and above only), Microsoft (For C++ with .NET only) to compile and build this source code. Writing perfect software may be a daunting task for developers, but a few defensive techniques which are routinely applied can go a long way toward narrowing the gap between code and ideal. Defensive programming practices are often used where high availability of the application is required, safety if utmost concern, or security is needed for application to work.

Base85 Encoding

BASE 85 Encoding VB Class

This is a BASE85 Encoding Visual Basic class that expands the text to be encoded by 4:5 i.e. uses 5 ASCII characters to represent 4 bytes with 80% accuracy. Used in Postscript and PDF documents. Useful if binary data needs to be persisted in ASCII text.

Basic presentation

Exporting PowerPoint Slides to Images in C#

This is a very simple Visual Basic source code to export all the slides from a PowerPoint presentation. This source code can export images in any specified image format like .jpg, .bmp or .gif. I wrote this function while I was working on my undergraduate project “PowerPoint to XML Interchangeability”. I had to make some sort of PowerPoint Viewer to view the slides so I wrote this function to export PowerPoint slides into image sequences so that I can display them into an image control and export the images at a temporary location.

Scroll to Top