joining 2 const char*s c++
===

How can I combine two const char*s into third?
i'm trying to do this with this code:

	const char* pName = "Foo"
	printf("\nMy name is %s.\n\n\n",pName);
	const char* nName;
	int num_chars = asprintf(&nName, "%s%s", "Somebody known as ", pName);
but there is error:

    'asprintf': identifier not found

I included stdio.h via this code:

    #include <stdio.h>