ofstream osCtrs("cts.txt",ios::out);
if (osCtrs.is_open()){
for(unsigned ci = 0; ci < k; ci++){
KMpoint& x = ctrs[ci];
for (unsigned di = 0; di < dim; di++)
{
//osCtrs << x[di];
osCtrs << "what is happening?";
}
}
osCtrs.close();
}
anything wrong? file is created, but always empty,