eidheim /
Simple-Web-Server
A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
Loading repository data…
Docheinstein / repository
Very simple C++ library for parse arguments, in Python's argparse style.
Simple C++ library for parse command line arguments, in Python's argparse style.
Automatically present the help message if no arguments or -h or --help is given.
In you can find an usage example in main.cpp.
A minimal example:
using namespace Args;
struct {
std::string rom {};
bool serial {};
float scaling {};
bool dump_cartridge_info {};
} args;
Parser parser;
parser.add_argument(args.rom, "rom").help("ROM");
parser.add_argument(args.serial, "--serial", "-s").help("Display serial console");
parser.add_argument(args.scaling, "--scaling", "-z").help("Scaling factor");
parser.add_argument(args.dump_cartridge_info, "--cartridge-info", "-i").help("Dump cartridge info and quit");
if (!parser.parse(argc, argv, 1))
return 1;
// You can use `args` here
The produced help message for the example above:
usage: rom [--serial] [--scaling SCALING] [--cartridge-info] [--help]
positional arguments:
rom ROM
optional arguments:
-s, --serial Display serial console
-z, --scaling SCALING Scaling factor
-i, --cartridge-info Dump cartridge info and quit
-h, --help Display this help message and quit
To use Args as a static library with CMake, copy it or add it as a submodule,
then add to your CMakeLists.txt:
add_executable(my-awesome-project STATIC)
...
add_subdirectory(args)
target_link_libraries(my-awesome-project PRIVATE args)
Selected from shared topics, language and repository description—not editorial ratings.
eidheim /
A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
eranpeer /
C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
happyfish100 /
c common functions library extracted from my open source project FastDFS. this library is very simple and stable. functions including: string, logger, chain, hash, socket, ini file reader, base64 encode / decode, url encode / decode, fast timer, skiplist, object pool etc. detail info please see the c header files.
eidheim /
A very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.
ifcquery /
IfcPlusPlus is an open source C++ class model, as well as a reader and writer for IFC files in STEP format. Features: Easy and efficient memory management using smart pointers. Parallel reader for very fast parsing on multi-core CPU's. Additionally, there's a simple IFC viewer application, using Qt and OpenSceneGraph. It can be used as starting point for all kinds of applications around the open building model standard IFC.
jitbit /
Very simple SAML 2.0 consumer module for ASP.NET/C#