diff --git a/README.md b/README.md index 4032cd47..d3b8c56c 100644 --- a/README.md +++ b/README.md @@ -94,15 +94,17 @@ You can build using command line as follows: Include `msgpack.hpp` (or `msgpack.h` for C) in your application and link with libmsgpack. Here is a typical gcc link command: - gcc -lmsgpack myapp.c -o myapp + g++ -lmsgpack myapp.c -o myapp ### Code Example ```CPP #include #include +#include +#include -int main(void) { +int main() { // This is target object. std::vector target; target.push_back("Hello,");