Hi, I have a question.
Using the following code:
#include <iostream>
int main()
{
std::string s1;
std::cout << s1.capacity() << std::endl;
system ("PAUSE");
return 0;
}
In Ubuntu/KDevelop the output is 0.
In Windows/V.Studio the output is 15.
Can anyone suggest why it happens?
I'm somewhat stumped by it's occurrence.
Thanks very much, much appreciated.