Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.01 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.01 KB

RPCommonLib

A compilation of small and common functions, divided into seperate headers to make the dev life easier.

Usage

Just include RPCommon.h or one (or more) of the headers to get either all functions or just the ones you need :)

NOTE If installed through the PKGBUILD the include command for RPCommon will be #include <RPCommon/RPCommon.h> or in case of a single header #include <RPCommon/<header_name_here>

Example:

#include "RPCommon.h"


int main()
{
  std::string revThis = "sihTver";
  std::cout << ReverseString(revThis) << std::endl;
  return 0;
}

or in this case, where only ReverseString() is needed, you could also just do:

#include "strreverse.h"


int main()
{
  std::string revThis = "sihTver";
  std::cout << ReverseString(revThis) << std::endl;
  return 0;
}

Documentation

List of Functions included + Documentation can be found here