Hello Eric.
17 Jan 98 11:50, Eric Londaits wrote to Victor Kemp:
VK>> char stringvar[90];
VK>> char charvar;
VK>> strcat(stringvar, charvar);
EL> strcat takes *char as parameters... so try
EL> strcat(stringvar, &charvar);
EL> (&charvar should be the memory address of charvar, just like stringvar is
EL> the memory address that points to *stringvar)
That's the first time I ever say anybody do that.
Very nice solution! I can't understand why I never see
anyone using it.
Roger
... 'If it ain't broke, you can probably still fix it.' - Tim Allen
--- Msged 4.20 beta 3
(1:273/404@fidonet)
---------------
* Origin: Hodge-Podge Support BBS, Upper Darby, Pennsylvania, USA
|