8 void CopyString(char acSource
[], char acDestination
[])
10 unsigned char ucCurrentPosition
;
12 for (ucCurrentPosition
= 0; ; ucCurrentPosition
++)
14 acDestination
[ucCurrentPosition
]=acSource
[ucCurrentPosition
];
15 if (0==acSource
[ucCurrentPosition
])
22 char text1
[] = "spam";
24 CopyString(text1
, text2
);
25 ASSERT(!strcmp(text1
, text2
));