## Use a txt file (X, Y, Z), with random values for X and Y, to get a new file X and Y are predefined

## Use a txt file (X, Y, Z), with random values for X and Y, to get a new file X and Y are predefined

(OP)

Anyone with experience with Fortran or C++. I have a big 3D geometric txt file (X, Y, Z), about 50k lines, but it's not perfectly structured, I mean X and Y are picked at random. I want to create a new file based on the data of the first file, where the values of X and Y are predefined, so the program calculates the new values of Z, and then the program creates a new text file. Please share a link to download a free simple version of Fortran or C++. Since about 2017, I have not used both languages.

Thanks in advance!

Thanks in advance!

## RE: Use a txt file (X, Y, Z), with random values for X and Y, to get a new file X and Y are predefined

Don't really understand what the problem is. Are you asking a C++ or Fortran problem?

## RE: Use a txt file (X, Y, Z), with random values for X and Y, to get a new file X and Y are predefined

## RE: Use a txt file (X, Y, Z), with random values for X and Y, to get a new file X and Y are predefined

Can you share a link to download a free version of Fortran and C++?

Do a search for gcc or gfortran. If you want an IDE try VSCode.