Open and Reading all the data in a txt file

User: "HenLopes"
Altair Community Member
Updated by HenLopes

Hello,

 

I have a simple .txt file  with several node id and coordinates of each node displacement in x,y,z

 

After open it with fopen command I want now to ensure I'm reading all all the data of the file not just the first line.

 

If I use the fscanf command I'm just reading the first line of my file right?

 

Do I have to create any logic or looping command or I have to create a general structure to read the file?

 

Many thanks.

 

 

Find more posts tagged with

Sort by:
1 - 2 of 21