I am writing data to a file but want to include an integer (i) in the title of the file. How can I go about this?
i = 0, 1, 2...
ofstream plotdata("../Data/supersonic_jet(i).vtk", ios:ut);
filename:
supersonic_jet0.vtk
supersonic_jet1.vtk
supersonic_jet2.vtk
etc