Jan 15, 2011 at 2:57pm
dear all,
i know that we can asign a value to there where a new pointer refers
int *a=new int(99);
can we do that also for an array??
to give the same value to all its contents
int *a=new int[6](4);
Jan 15, 2011 at 3:09pm
no, new[] only default-constructs