tricolaire
07-29-2005, 11:01 PM
first question applies to java and c++
What is the meaning of the java/c++ keyword static?
I can really find no difference when used or not used
second question refers to c++
the variable type string, is obviously, by dint of its methods, a class. How does the class string let you set it's internal values with '='? It doesn't seem like operator overloading would work. For that matter, how does the string class delineate which value to show in a cout<< statement or which value to set in a cin>> statement?
thanx
What is the meaning of the java/c++ keyword static?
I can really find no difference when used or not used
second question refers to c++
the variable type string, is obviously, by dint of its methods, a class. How does the class string let you set it's internal values with '='? It doesn't seem like operator overloading would work. For that matter, how does the string class delineate which value to show in a cout<< statement or which value to set in a cin>> statement?
thanx