
Graphics in C++ Introduction
Download and install Turbo C++ 4.0 on Windows 7 or 8 64-bit, locate the installation, and set code generation and linker options to run graphics programs.
Learn how to set up the Turbo C++ compiler, navigate its folders, and implement graphics programming using the graphics driver files and header files.
Learn to write a basic graphics program in C with Turbo C, initialize graphics, load the graphics driver, handle errors, set colors, draw simple shapes, and clean up.
Explore graphics resolution and 640x480 pixel coordinates, learn to draw a line with the line function, set color with color codes, and manage screen clearing to prevent flicker.
Explore mouse functions in C++ projects by initializing the mouse, showing and hiding the cursor, and reading x y coordinates and button status using interrupt 86 with service numbers.
Explore C++ real-time app basics by implementing mouse interactions, drawing a blue rectangle, tracking mouse coordinates, handling left-click events, and restricting mouse motion within a defined region using restrict functions.
Learn to draw circles and arcs with arc, circle, and pieslice functions, set midpoint, start and end angles, and radius, and use by_slice and flood fill to color bounded regions.
Learn to implement and render ellipse and sector shapes in C++ projects, using fill ellipse and sector methods with x, y, x radius, y radius, and start angle.
Explore the flood fill method to fill bounded regions like circles and rectangles by selecting a seed point inside the shape and matching the fill color with the border color.
Master rectangle, bar, and bar3d functions in C++ graphics by drawing outlines, applying flood fill, and adjusting depth and top flags to create 2d and 3d shapes.
Learn to build and use a graph function to plot coordinates on the x and y axes, enabling the placement of shapes like rectangles and circles for games.
Learn how to use getimage and putimage in C++ to capture a shape as a bitmap, store it in heap memory, and animate its display with a loop.
Explore creating polygons with drawpoly and fillpoly by providing vertex coordinates (x, y); fillpoly closes and fills the shape, while drawpoly outlines it.
Demonstrates how to display color code boxes in C++ by rendering 16 color bars with 3D outlines and labels, mapping codes 0–15 to colors, with careful spacing and transparency considerations.
Move a bar with the arrow keys in a simple c++ program, using ascii codes, macros, and a switch statement to update x and y and display the image.
Build a program that draws the Indian flag with three color bands, a blue wheel with 24 spokes, and a flag stick and base using coordinate math.
Animate the Indian flag in a C++ real-time app by detecting mouse clicks in a defined area, updating the flag’s y-position in a loop, and revealing it at the top.
Create a C++ pie chart program that inputs total amount and expenses (food, clothes, electricity, other), computes savings and percentages, and renders a five-slice 3d pie chart.
Create and visualize a budget pie chart in C++, allocating food, clothes, electricity, and other expenses, computing total expenses and savings, and displaying percentage slices and angles.
Create a real-time C++ program to generate a pie chart for a calorie index using a color index, validating input against a total amount with reset and reentry prompts.
Develop a real-time c++ pie chart app by building five slices, calculating start and end angles, and animating the chart with coordinates, radius, colors, and adapting to zero-value slices.
Build a 3d bar chart in c++ to visualize total expenses and savings, with categories like food and clothes, showing percentages and using colors and a bar rendering method.
Create a dynamic 3D bar chart in C++ with labeled tops, using set bar and set box methods to position bars by x and y coordinates and show percentages.
Build a real-time C++ bulls-eye program that calculates a percentage from max marks, renders a bullseye target, and updates an arrow and mood faces as performance changes.
Create a double bullseye with fill ellipse, alternating white and red rings and a light blue outline, then animate an arrow toward a target percentage.
Create a bullseye face program that draws facial features using an ellipse, adjusting start angle and angle to render happy or sad expressions based on a percentage input.
Builds a stock infograph visualizing opening stock and closing stock percentages with bricks and bars, using color cues (green, yellow, red) based on stock levels.
Build a stock infograph in C++ that animates a truck with face expressions and color changes driven by stock percent.
Master file operations in C++ by adding, updating, and deleting employee records, and display them in a rectangular ASCII box menu with persistent disk storage.
Demonstrates adding, updating, and deleting employee records in a C++ program, using a box display, a menu-driven interface, duplicate checks, and binary file appends with seek pointers.
Build part 3 of a real-time c++ project to add, update, and delete employee records in a rectangular file, using a menu and a temporary file for updates.
Expand your tic tac toe project into a graphical two-player game with a loading screen, main menu, player name input with defaults, and score tracking saved to a file.
Create a graphics tic tac toe game in C++ using a box array and pixel input. Track game state, current players, and a graphical main menu.
This lecture walks through implementing a tic tac toe graphics game, focusing on the score screen, reading and displaying scores from a file, and handling input screens and back navigation.
Explore the tic tac toe graphics project, showing how the game screen initializes, resets boxes 1–9, manages player turns, displays the board and combined player names, and prevents infinite loops.
Develop a graphical tic tac toe game by implementing a game status checker, win and draw logic, and score persistence, while handling player turns, clicks, and exit.
If you have at least basic knowledge about C++, you can easily learn this course. I have explained everything in a detailed manner, so you can easily understand the topics. Videos in the course are in simple English language (No complicated words). If you are studying in the School/College/University and if you have any project work in C++, this course is best choice for you. After learning this course you will be able to make any app in graphics. I have created many apps in this course with full of graphics and animations like: Piechart, Barchart, Truck Stock Infograph, Hit the Bulls Eye and finally a Project Work in Tic Tac Toe Game.
Note: for each lecture, I have included the source code for your reference. you can download it to save your time in code typing. For Tic Tac Toe game I have included its source code and Project Synopsis also, so that you can use it in School/College or add in your resume.
I am here to build your logic. If you are logically strong, you can learn any programming language and make any kind of app. Because a strong logic does matter!!
Compiler Required: Turbo C++