Hello
Most of my C++ is self taught so please excuse me
In my code I am writing a large amount of data to file
for(int i=0; i<itr_atoms; i++)
file_out << i+1 << " 1 " << atoms[i][0] + origin_x << " " << atoms[i][1] + origin_y << " " << atoms[i][2] + origin_z << '\n';
where itr_atoms can be 50,000,000+
As you can guess this is slow
Is there any way i can make this more efficient