does anyone know how I can write to a xls that puts each number in different cells? for example,
vector<int> nums;
nums.push_back(1);
nums.push_back(2);
nums.push_back(3);
ofstream myfile;
myfile.open("C:/example.xls")
myfile << nums[1] << " " << nums[2] << " " nums[3] << endl;
myfile.close()
how do i put three numbers in different cells, but not all in one cell?
thanx