C++ Programming GalleryMath and others

Example of object-oriented programming in C++ (Bouncing Balls)

A simple example of OOP (Object Oriented Programming), in which like some balls bouncing on the limits of our screen in text mode.

Developed by:

JOSE LUIS DE LA CRUZ LAZARO

YACSHA – Software & Desing, since 1999, Lima – Perú
The World of Chaos – EL MUNDO DEL CAOS – Unlimited Programming

You can DOWNLOAD the SOURCE CODE and executable software for FREE from here:

Join The World of Chaos Developer Community😃

Contribute to the project on Github!

HISTORY

  • Version 2 – 24-IV-2024
    • Update math-and-others\bouncingball – Porting to VC++ 2017
    • Change project name from Pelota to boincingball
    • The code is updated to the new C++ 17 standard
    • Add conio.h library compatible with VC++17 (WinBGI)
    • The new standard std::random_device library is now used using a mt19937_64 generator and an integer uniform random distribution. This replaces the old, non-standard turbo C random function.
    • A small GUI is added to enter the number of balls that will bounce simultaneously, for which std::vector is used to dynamically define the number of Ball objects created
    • The program is translated from Spanish to English.
    • The credits and version history are updated
  • Version 1.0 – 28-XI-2000
    • First version for Borland C++ 3.1 and Turbo C 3.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button