Skip to content

Files

This branch is 1 commit ahead of, 23 commits behind jgaa/restc-cpp:master.

cmdline

example cmdline

This example shows how to compile a program using restc-cpp from the command-line.

We assume that the library has been built and installed.

Currently this example is only tested under Linux.

~/src/restc-cpp/examples/cmdline$ ./build.sh
~/src/restc-cpp/examples/cmdline$ ./a.out
Received post# 1, title: sunt aut facere repellat provident occaecati excepturi optio reprehenderit
~/src/restc-cpp/examples/cmdline$

Please examine build.sh to see the full list of libraries to link with.