Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanner-davison/falling_ball_emulator_by_tanner_davison
This repository contains a simulation program written in C++ that models the falling of an object from a specified height under gravity.
https://github.com/tanner-davison/falling_ball_emulator_by_tanner_davison
Last synced: 2 months ago
JSON representation
This repository contains a simulation program written in C++ that models the falling of an object from a specified height under gravity.
- Host: GitHub
- URL: https://github.com/tanner-davison/falling_ball_emulator_by_tanner_davison
- Owner: Tanner-Davison
- Created: 2024-08-14T19:35:04.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-14T19:44:57.000Z (4 months ago)
- Last Synced: 2024-10-09T17:12:23.165Z (2 months ago)
- Language: C++
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Falling Ball Simulation
By: Tanner DavisonEmail: [email protected]
## Description
This repository contains a simulation program written in C++ that models the falling of an object from a specified height under gravity. The program calculates and displays the height of the object at each second until it reaches the ground. It demonstrates dynamic memory management, object-oriented programming, and basic physics simulations in C++.
## Features
- **Interactive Height Input:** Allows users to input the initial height of the tower.
- **Falling Simulation:** Calculates and outputs the height of the object at each second as it falls.
- **Dynamic Memory Management:** Uses dynamic memory allocation for managing the height of the tower.
- **Time Simulation:** Simulates the falling process over time, with output updating each second.## Build the Project
Open the project in Visual Studio or use `cmake` to generate the build files. Build the project using the appropriate tool (Visual Studio, `make`, etc.).
## Run the Simulation
Execute the compiled program. Input the height of the tower when prompted.
## Requirements
- **Visual Studio 2022** (or another compatible C++ compiler)
- **C++11** or later## Contributing
Contributions are welcome! Please feel free to submit:
- Issues
- Feature requests
- Pull requests## License
This project is licensed under the [MIT License](LICENSE) - see the LICENSE file for details.
## Acknowledgments
- Thanks to Microsoft for providing the development tools.
- Inspiration from physics simulations and educational resources.