Thu Nov 13, 2008 7:21 pm
#include <iostream.h>
#include <string>
using std::string;
main(void)
{
string s1 = "abcdefghijk", s2 = "1234567890", s3,s4,s5;
s3=s1+s2;
cout << s3 <<endl;
s4=s3;
if (s4==s3)
cout << " s4==s3 is true\n";
return(0);
}
/*
abcdefghijk1234567890
s4==s3 is true
*/
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.