c++ Programming Glossary: neworiginal
Modify a char* string in C http://stackoverflow.com/questions/5668091/modify-a-char-string-in-c body tag in the original . My new orginal is now char neworiginal html content before body newhtmlinsert html content after body.. i want to take a char orginal and convert it into a char neworiginal which has the original content plus new content that i added.. memcpy int length strlen original strlen newcontent 1 char neworiginal malloc sizeof char length memset neworiginal 0 length memcpy..
|