An open API service indexing awesome lists of open source software.

https://github.com/scottgriv/cpp-room_demo

C++ demo to get the sum square footage of multiple rooms.
https://github.com/scottgriv/cpp-room_demo

cpp cpp-programming room-demo

Last synced: 9 months ago
JSON representation

C++ demo to get the sum square footage of multiple rooms.

Awesome Lists containing this project

README

          









C++ Badge


GitHub Badge
Email Badge
BuyMeACoffee Badge


Bronze

---------------

C++ Room Square Footage Calculation Demo

A simple `C++` console application that calculates the square footage of a room. This project was created to demonstrate the use of `C++` in a real-world application. The program is designed to be simple and easy to understand. The program is also designed to be easily modified to fit your needs.

---------------

## Table of Contents

- [Getting Started](#getting-started)
- [Resources](#resources)
- [License](#license)
- [Credits](#credits)

## Getting Started

Run the `main.cpp` file in your terminal to start the program. The program will output the square footage of the room to the console.
- There are three total rooms it uses to calculate the sum of the square footage.
- Update the room dimensions in the `main.cpp` file to change the square footage calculation.

```cpp
//Room 1
int room1L = 12;
int room1W = 10;
int room1A;

//Room 2
int room2L = 9;
int room2W = 7;
int room2A;

//Room 3
int room3L = 12;
int room3W = 12;
int room3A;
```

## Resources

- [C++](https://www.cplusplus.com/)
- [C++ Reference](https://en.cppreference.com/w/)
- [C++ Tutorial 1](https://www.tutorialspoint.com/cplusplus/index.htm)
- [C++ Tutorial 2](https://www.w3schools.com/cpp/default.asp)
- [C++ Tutorial 3](https://www.javatpoint.com/cpp-tutorial)
- [C++ Tutorial 4](https://www.geeksforgeeks.org/c-plus-plus/)
- [C++ Tutorial 5](https://www.programiz.com/cpp-programming)

This project is released under the terms of **The Unlicense**, which allows you to use, modify, and distribute the code as you see fit.
- [The Unlicense](https://choosealicense.com/licenses/unlicense/) removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
- For more details, see the [LICENSE](LICENSE) file in this repository.

## Credits

**Author:** [Scott Grivner](https://github.com/scottgriv)

**Email:** [scott.grivner@gmail.com](mailto:scott.grivner@gmail.com)

**Website:** [scottgrivner.dev](https://www.scottgrivner.dev)

**Reference:** [Main Branch](https://github.com/scottgriv/cpp-room_demo)

---------------