umm just want to ask about the basic data types....
cause in c the declaration of string is like this
and in c++Code:char str[size];
my question is how c++ allocates some space in storing characters in data type string?Code:String str;
cause in c we all knew we should declare how many characters will be allocate and the
problem with c strings is the SIZE for example if the SIZE is equal to 5 then we input
more than 5 characters then we are sure that there would happen unusual unlike in
c++...just want to know how the c++ syntax works...i hope my questions is clear..
thanks