input points from txt file

21 views
Skip to first unread message

Encky

unread,
May 27, 2021, 12:49:02 AM5/27/21
to dislin-users

Hello, i'm new to dislin, i have file with interpolation points ('points.txt'), so how can i plot a curve from this points in C++? I need to open ifstream variable like classical C++?

Helmut Michels

unread,
May 27, 2021, 9:05:54 AM5/27/21
to dislin-users
Hi Encky,

yes, you have to use C++ I/O functions for reading your data file and store the data values into arrays. After that
you can pass the arrays to a Dislin plot routine.

With best regards,

Helmut
Reply all
Reply to author
Forward
0 new messages