Skip to content

simple bash c++ project utils: create main file + include/src dirs; create new class with templates; compile and run;

Notifications You must be signed in to change notification settings

santiagosantos08/almost-an-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple tools for C++ development in UNIX


How to use?

./init.sh <name> will create a name.cpp file (with a basic template)

  • If name is left blank, the file will be called main
  • No need to include .cpp extension in the argument, just the desired name

./compRun.sh <input> <output> will compile and run the project including all header and source files

  • Calling it without any arguments will result in it compiling main.cpp to testRun
  • Calling it with one argument (output) will result in it compiling main.cpp to <output>
  • Calling it with two arguments will result in it compiling <input>.cpp to <output>
  • No need to include .cpp extension in the argument, just the desired name

./newClass.sh <className> will create className.h in /include and className.cpp in /src (also including basic templates)


If you want to modify the class templates please make sure to use (1) tab before each c++ line and then complete the ones you want with spaces

<<- operator will ignore all tabs and include all spaces

About

simple bash c++ project utils: create main file + include/src dirs; create new class with templates; compile and run;

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages