On 11/14/2011 11:03 AM, Andrea Fontana wrote:
Ok, but check this:

for( unsigned int i = 0; i < arr.size(); ++i) arr[i] = 10;
vs
arr[] = 10;

or

arr[0..1] = arr2[2..3];

This examples (about arrays) are (almost) self-explanatory and very
impressive for a c/c++ coder.

Same goes for strings, CTFE, parallelism, etc...


I agree, those should totally be in an example somewhere. I was just saying that the C++ version does not strictly need to be there too.

Reply via email to