Search:
Forum
General C++ Programming
strchr and CString FIND
strchr and CString FIND
terryeverlast
(40)
Dec 31, 2012 at 8:59pm UTC
can someone covert this code that uses STRCHR
m_filename[strchr(m_filename,
'.'
) - m_filename] =
'\0'
;
into code that uses FIND of CString
vlad from moscow
(3650)
Dec 31, 2012 at 9:39pm UTC
I think that equivalent code will look as
m_filename[m_filename.find(
'.'
)] =
'\0'
;
Last edited on
Dec 31, 2012 at 9:39pm UTC
Topic archived. No new replies allowed.
C++
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs