can anyone help me with this ?
in the main i declared :
then char *t;
strcpy'ed parts of s into t (using NEW), that worked fine.
i pass my function t., copy it into char *A;
i edit A, but when i go back to main and print t,
no changes are made.
Can i somehow strcpy A back into t like :
for(int w=0;A[w]; --???--)
strcpy(---WHAT can i put here---, A[w]);
how can i make a pointer to t in the function the copy A into what the pointer is pointing to. NB: t and A are both