Giter VIP home page Giter VIP logo

shell_c-cpp's Introduction

Shell_C-Cpp

Shell script to compile C/C++ files | Linux | bash

You are testing codes and programming using text editors like: vim, nano, vscode, sublime etc. Come with me!

Tired of using IDE's that are heavy, slow or that keep generating unnecessary files in your projects?

Want to test your algorithms in a cleaner and simpler way?

Using these text editors, I was running two commands in the terminal, for each code modification. This is work, and during development you waste time writing boydplat code. With that I developed a shellScript that runs these two commands automatically and also some extra commands like: clear the terminal and skip the line...

1°) Install GCC on the machine:

apt-get install gcc

Or see if GCC is already installed:

gcc --version

2°) Enter the folder where the C/C++ project is located

3°) Copy the script in .sh file inside the project folder! [shellc.sh] for C | [shellcpp.sh] for C++

4°) Then give execute permission to the file:

chmod +x arquivo.sh

5°) Ready, just run the shell by typing:

./arquivo.sh

Vídeo: Compilando o Código

Vídeo: Compilando o Código

shell_c-cpp's People

Contributors

ujs74wiop6 avatar

Stargazers

guto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.