This repository contains the source code for the project of a zodiac sign calculator made for school
- star 数
- 6
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 0
- 最終更新
- 2024/11/21
This repository contains the source code for the project of a zodiac sign calculator made for school
This repository contains the source code for the project Zodiac Calculator V2.0. This project was submitted as homework during my third year at I.T.I.S. Magistri Cumacini to my I.T. teacher.
I.D.E.: VSCode
Language: C++ with graphics.h
Compiler: MinGW64
To install and try this project you need to:
To run the code of this project you need to:
You need to install the graphics.h library and its relative libs. All files can be found here and should be placed in the respective folders: .h files in the compiler's include folder and .a files in the compiler's lib folder.
I personally recommend to use MinGW64 as the compiler for this project, and place his bin folder inside the windows System Enviroment Variables
After you have installed and configured the compiler you can run this command in the root folder of this project:
g++ main.cpp -o main.exe -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 -lsfml-graphics -lsfml-window -lsfml-system
I reccomend to use the VSCode extension code runner to do all this stuff by just pressing a button. My personal configuration is:
{
"code-runner.runInTerminal": true, //true terminal //false output
"code-runner.executorMap": {
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && .\\$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 -lsfml-graphics -lsfml-window -lsfml-system && .\\$fileNameWithoutExt ",
},
}All this should be placed inside the settings.json file from VSCode
For support, you can create an issue on this repository, as long as the project is supported