Advertisement

LPSTR to Char ?

Started by October 17, 2000 09:13 PM
1 comment, last by DisKordCoder 24 years, 3 months ago
Is there a way to convert a LPSTR type to a Char?
sure

LPSTR y;

char x = (char) y;
Advertisement
The idea is to help people, not give them headaches

You can convert it to a char like Buster did, but you wouldn''t want to...

What are you trying to do?

LPSTR implies a char array, ie char* not a char
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement