On (04 Jun 97) Leon Varghese wrote to All...
LV> I have a string:
LV> "a:\cpp\filename.cdm" and I want to change its file extension
LV> so it reads "a:\cpp\filename.trk"
LV> I have made an attempt (which I won't post here) which is
LV> really messy. I am hoping that someone can figure out an
LV> easier way.
You might want to take a look in Snippets - as I recall, it has some
code for exactly this purpose, though I'm pretty sure it's in C rather
than C++.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|