Quote:
Originally posted by charliex
where to start
PHP Code:
delta.resize(maxServers);
for(i=0; i<maxServers;i++){
delta[i].resize(totalPeriods);
}
I can't decide if just VCs vector class trying to be clever, but in here lies a dangling pointer, since its just a resize its probably ok though.
|
I'm not sure what you mean by a dangling pointer. This whole thing is just a vector of doubles right. no pointers anywhere??