Help with String Arrays C++
<pre><code>#include &lt;iostream&gt;
#include &lt;string.h&gt;

using namespace std;

int main()
{
  char firstname[] = "Alfred";
  char middlename [] = "E";
char lastname[] = "Neuman";
  char fullname [80];
  int offset=0;

  strcpy(fullname,firstname);
  offset = strlen(firstname);
  strcpy(fullname+offset," ");
  offset +=1;
  strcpy(fullname+offset,middlename);
  offset += strlen(middlename);
  strcpy(fullname+offset," . ");
  offset +=2;
  strcpy(fullname+offset,lastame);

  cout &lt;&lt; firstname &lt;&lt; "." &lt;&lt; middlename &lt;&lt; "." &lt;&lt; lastname &lt;&lt; endl;
  cout &lt;&lt; "Fullname:" &lt;&lt; fullname &lt;&lt; endl;

  return 0;
}
</code></pre>

<p>Why is offset needed in this and why is the off set added by 1 and 2, when we are dealing with text. I cannot seem to grasp strings and Arrays, anyone mind helping?</p>
