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):
for iy in range(0,nKy):
fpx.write("%6.2f %6.2f %6.2f " %(x,y,feldKor[ix][iy]))