The problem is multi-character constants. how can I assign/compare multiple characters in a variable?
anything to do with the declaration? I used the simple "char" declaration..Code:if (ElemSym=='He')
{
system("CLS");
cout<<"Name: Helium"<<endl;
cout<<"Symbol: He "<<endl;
}
Thank you in advance to whoever will help..
I'm using Dev c++, since the Visual Studio c++ returns an error due to a limit on the codes.