Programming Tutorials — C, C++, C#, Java, JavaScript, Python, PHP, and Game Development
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 2004. 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 2004 with hundreds of tutorials, practical coding guides, source code examples and developer learning resources designed for real-world programming skills.
The following Java code defines a simple GUI application using Swing. It creates a form with text fields for name and email, a text area for messages, and actions buttons for OK and Cancel operations. Additionally, there is a button to change the background color of the form.
Java Source Code
This Java program creates a simple graphical application that draws rows of stars using Java’s Swing library. The program creates a window with rows of stars drawn on it. The Star class defines the shape of a star, the StarPane class handles the drawing logic, and the StarApplet class sets up the main frame for the application. This example showcases basic GUI programming with Swing.
Java Source Code
This Java program calculates and displays information about the volumes of the Earth and the Sun. It also show the ratio of their volumes.
Java Source Code
This Java program is a simple image viewer application designed for novice Java programmers. The program utilizes the Swing library to create a graphical user interface (GUI) with a JFrame, JPanel, and JButton components. The main functionality of the Java program is to select an image file through a JFileChooser dialog, load the selected image and display it within the JPanel.
Graphics Java Programming
A RGBColorChooser shows three sliders that the user can manipulate to set the red, green, and blue, components of a
Java Source Code
This Java source code defines a simple mouse tracking program using Swing which is a graphical user interface toolkit. The program displays a window with a drawing surface that captures and visualizes various mouse events. The mouse’s current coordinates, modifier keys (Shift, Control, Meta, and Alt), and the type of the most recent mouse event are displayed in real-time on the window.
Java Source Code
This program demonstrates a few routines for processing binary sort trees. It uses a binary sort tree of strings. The
Data Structures Java Source Code
The StopWatch class introduces a versatile stopwatch component with enhanced functionality in Java. Extending JLabel and implementing the MouseListener interface, this interactive component not only measures elapsed time but also dynamically updates to display the current time in the format “Hours:Minutes:Seconds:Milliseconds”.
Java Source Code
The program demonstrates sorting techniques by sorting a list of words based on their frequency count. Novice programmers can learn about basic file handling, data structures, generics, and sorting algorithms through this program, gaining foundational knowledge applicable to a wide range of Java applications.
File Handling Java Source Code
This is a very simple implementation of linked list in java programming language. Very nice and well commented java source code for beginners.
Data Structures Java Source Code
This article demonstrates how you can print pyramids and diamonds using for loop and if condition. Building a pyramid in c programming is quite easy provided that you understand the concept of how loops works.
Arrays C Programming Functions Loops Programming Tips