Covert shell script to C++ program

Signed-off-by: Ayysir <dresadd09691@gmail.com>