Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/txt2u/braintools

A tool that you can use to compile cpp files, and create basic cpp projects!
https://github.com/txt2u/braintools

Last synced: 2 days ago
JSON representation

A tool that you can use to compile cpp files, and create basic cpp projects!

Awesome Lists containing this project

README

        

# BrainTools

## Pros :-
- Easy to setup
- Easy to use
- 100% will work on windows command prompt

## Cons :-
- Needs preinstalled gcc **(GNU Compiler Collection)**
- You have 3 commands in it and 2 does the same thing but a little diffrence between them
- You can't add librares/includes in it __*(working on it)*__
- It works only in command prompt, You can run it in __Bash, Powershell and etc__ but it will give you an error of "cls command" __*(fixing it)*__
- Doesn't work on all Operation Systems like __*(MacOS, Linux, UnixBSD and etc)*__

## How to setup it :-
- Click **Code** -> **Download ZIP** / **Clone it**
- Extract it in any driver **("C:\" Driver is highly Recommended!)**
- Click Windows icon on the bottom left of screen / Windows key on the keyboard under shift key
- Search for **Edit the system environment variables**
- Open it
- Go to **Environment Variables** and click on it
- Go to System Variables / User Variables for (Your Username)
- Select **Path** then click Edit (if you choosed System Variables click the edit button that is under the System Variables, if you choosed User Variables click the edit button that positioned up of System Variables)
![image](https://user-images.githubusercontent.com/99141995/152697719-e59c18bd-eeb3-4da8-9805-f910f68b0e52.png)
- Click New on the top right
- Then Browse and go to the driver that you extracted BrainTools.zip in it
- Then choose BasicCPP_Compiler and go to bin and click ok
- Do the same steps for CPP_ProjectMaker and click ok
- To apply it on __*(Powershell, bash, command prompt and etc)*__ restart your terminal. **If it doesn't work, I highly recommend you to restart you computer!**
- Then all is yours!

## BrainTools Commands :-
- ```gc``` -> To compile files that in the same directory only
- ```gcmf``` -> To compile files that in the same directory and the files that is in directorys inside of the path directory
- ```pm``` -> To create CPP project and it will make **Hello, World!** code automaticly in it | It includes `[Project name that you selected it in the cmd] > main.cpp`

## Lastly :-
- I will try to fix the problems in it like to add librarys/includes
- Try to make it useable in other terminals
- And make it multi-platform use

And that's it :)