'How to add a char* inside of a char*?

How do I add, for example, message, inside of this char*?

add_message(char* message) {
   char* json = "{\"message\": \"%%insert message here%%\"}"
}

I'm really new to C++ and don't know any terms, so forgive me if this is too simple.

c++


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source