-
Notifications
You must be signed in to change notification settings - Fork 909
Closed
Description
In sample code in readme.md, there are too few include statements.
Sample code start with below:
#include <msgpack.hpp>
#include <vector>
int main(void) {
But it should start with below as Quick start guide.
#include <msgpack.hpp>
#include <vector>
#include <string>
#include <iostream>
int main(void) {
And also, stating to compile c++ code with gcc as readme.md is ill.
gcc -lmsgpack myapp.c -o myapp
It should be:
g++ -lmsgpack myapp.c -o myapp
or
gcc -lmsgpack myapp.c -lstdc++ -o myapp
Metadata
Metadata
Assignees
Labels
No labels