Can someone tell me why this code doesn't work?
strcat(buffer, (char)2);
This is a discussion on Problem with Typecasting within the C++ Programming forums, part of the General Programming Boards category; Can someone tell me why this code doesn't work? strcat(buffer, (char)2);...
Can someone tell me why this code doesn't work?
strcat(buffer, (char)2);
(char*)
my program crashes when I do that![]()
post some code
Try to help all less knowledgeable than yourself, within
the limits provided by time, complexity and tolerance.
- Nor
strcat(buffer, "2");