Skip to content

Vedantkoppal/run-c-cpp-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run-C-Files

This repository contains a simple script that compiles C or C++ files with a single command, 'runc'. The 'g++' compiler should be installed beforehand.

Steps

  1. Copy and paste the compiled file from the repository into a separate folder.
  2. Add the folder to the environment variables.
  3. Use the 'runc filename.c' command to compile the file.
  4. The output executable file will be stored in the same directory.

To change the 'runc' command to your choice, such as 'pythonc' or 'runcpp', compile the 'run-c-files.cpp' main script file and set its name of your choice. For example, copy and paste this command in your terminal:

g++ run-c-files.cpp -o your_choice_command_name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published