All pastes #471921 Raw Edit

Something

public text v1 · immutable
·published 2007-05-05 05:53 UTC
rendered paste body
#include <iostream>
#include <string>
#include <cstring>

int main()
{
	char *namex = new char;
	std::string name = "Keith";
	strcpy(namex, name.c_str());
	std::cout << namex << std::endl;
}