I want to stream .dat files from a file i created in python, i wrote the python code and it worked great but i can't write it in C++, i need help to write that code in C++, Thank you.
The python code is as following :
for ix in range(0,nKx):
fpx=open(r"xFestAna\beleg1Feld%i.dat"%(ix), "w")
fpx.write("#\n")
x=xMin+ix*dx
for iy in range(0,nKy):
y=yMin +iy*dy
fpx.write("%6.2f %6.2f %6.2f " %(x,y,feldKor[ix][iy]))
fpx.write("\n")
fpx.close()
0 Answer(s)