El Jueves 15 Enero 1998 a las 15:38, Victor Kemp le dijo a All:
VK> Anyway I need to append a char onto the end of a string, something
VK> like this
VK> char stringvar[90];
VK> char charvar;
VK> strcat(stringvar, charvar);
strcat takes *char as parameters... so try
strcat(stringvar, &charvar);
(&charvar should be the memory address of charvar, just like stringvar is the
memory address that points to *stringvar)
Eric Londaits
wocky@usa.net
--- GoldED/2 2.50 UNREG
---------------
* Origin: Jabberwock Point (4:900/265)
|