adding new post c++