C++ strings function compare()

C++ strings function compare()
  11 May 2021
Read more Like this Post.
this return 0 because its exist in the variable. if its not exist its return -1 .this function work same to same like.
i refer to use if statement over compare() function.
if(_some_str_ == "Hello To Blueterminal"){
       //some code
compare() function used for comparing to strings if its same to same this will be return 0 or not its return -1.
Related Post's

cpp   strings   compare() function  
Not Loaded Zohaib Jozvi
0 11 May 2021
Read Latest Post.
Read other post.