/RPCommonLib

A compilation of small and common functions to make the dev life easier

Primary LanguageC++GNU General Public License v3.0GPL-3.0

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