Added C++ version, can only find cowpath atm.

Note: not tested on linux.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
Not working code.
Finally some (sort of) working code!

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>
Proper word wrapping code.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>