Here is my problem. I need to keep only the filename from a filepath. For example, if the whole path is like
LPCTSTR str = "C:\\Test\\pic.bmp";

How do I retrieve just the pic.bmp into a string?
Thanks