Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

CString Find return value issue

$
0
0

Hi All,

I am getting the same return value for the following 2 statements.

CString str1 = _T("Hi Hello");
int nPos = str1.Find(_T("")); //return value nPos =0;
nPos = str1.Find(_T("H"));//return value nPos=0

Are the above two statements equal ?

Thanks


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>