1
edit
Changes
no edit summary
Q7: Can we use the <ctring> library memmove() function to insert a character to the string?(team 3-Norbert)
*Answer: yes you can use it. The fallowing following example is from the http://www.cplusplus.com/reference/cstring/memmove/.If you want to know more about the memmove() please visit the website. <pre>Syntax
void * memmove ( void * destination, const void * source, size_t num );
/* memmove example */
#include <stdio.h>
Output:
memmove can be very very useful.</pre>
Q8: What is the purpose and functionality of the "strOffset" parameter? This explanation is confusing: "strOffset points to an int variable that holds the initial offset of the string within the field; that is, the index of the character in the string that initially occupies the first character position in the field." Please answer it in simpler terms, maybe with an example as well. -- Fries'n'burg