Skip to content
/ args.h Public

My library for creating command line tools in c++.

Notifications You must be signed in to change notification settings

Ljut/args.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

args.h

My library for creating command line tools in c++.

initialising

Put the args.h file in your project folder and import it by using

#include "args.h" ... int main(int argc, char *argv[]) { vector cmd=getWords(argc,argv); ... }

Getting arguments from command line

You need to write the following line of code:

vector cmd=getWords(argc,argv);

Now all arguments given from the command line are in the vector cmd.

Functions inside of the library

getWords() print() lower() strToInt()

About

My library for creating command line tools in c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages