Can anyone give me the code to open the file called "xyz.dat" and read the values from it and store them in two variable like x and y.
the data in this file is in this format(when opened in notepad text editor)
Each row has two values seperated by a comma(,)
I need to read these two values and assign them to some variables such as double or float.
Can someone please give me the code for the same. I'll really be grateful to that person.