how do I declare a string as for example, ABC=abcdefgh... would I put const ABC=blahblah? Help me please!!!
how do I declare a string as for example, ABC=abcdefgh... would I put const ABC=blahblah? Help me please!!!
Well i'm not certain that this is what you want so I'll cover all the bases.
ABC is constant is not supposed to be changed (type casting can take away the string's constant status) and EFG can be freely altered.Code:#include <string> using std::string const string ABC="blahblahblah"; string EFG="abcdefghijk...";
thank you very much. i will try it out and see if it works.