comparing 2 char's
In C++, I know you need to use strcmp() to compare 2 strings, but is it the same for comparing to single char''s?
Need help? Well, go FAQ yourself. "Just don't look at the hole." -- Unspoken_Magi
You can compare two single char by ''==''
forex:
char a, b;
...
if(a==b) ...
////
I will work....
=============================
Denis "Mr.Snow" Kozhukhov
CEO & Lead programmer
Choco Snow Creation
dkcscPortal
=============================
forex:
char a, b;
...
if(a==b) ...
////
I will work....
=============================
Denis "Mr.Snow" Kozhukhov
CEO & Lead programmer
Choco Snow Creation
dkcscPortal
=============================
=============================Denis "Mr.Snow" KozhukhovCEO & Lead programmerChoco Snow CreationdkcscPortal=============================
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement