Required tools for playing around with memory:
hexdump
objdump
readelf
xxd
gcore
These commands are based on a askubuntu answer http://askubuntu.com/a/581497 | |
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below. | |
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING. | |
ABSOLUTELY NO WARRANTY. | |
If you are still reading let's carry on with the code. | |
sudo apt-get update && \ | |
sudo apt-get install build-essential software-properties-common -y && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ |
#include <iostream> | |
#include <sstream> | |
#include <type_traits> | |
#include <boost/mpl/range_c.hpp> | |
#include <boost/fusion/adapted/struct/define_assoc_struct.hpp> | |
#include <boost/fusion/algorithm/iteration/for_each.hpp> | |
#include <boost/fusion/algorithm/transformation/zip.hpp> | |
#include <boost/fusion/sequence/intrinsic/at_c.hpp> | |
#include <boost/fusion/sequence/intrinsic/at.hpp> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.