I've a text file : Random.txt which comprises of
Jade 12MS234 Male 18 Rocky 12MS324 Male 18 Marx 12MS632 Male 18
Now in my program i've a class
class stud ( char name char reg char gender int age )
Now I've to write a code in c++, where i've to read the given data and store this into 3 objects of stud class(array of objects) ...then further i've to manipulate the above stored data...
I think i'm getting error while storing...variables are showing random characters...
Please give me the code.for this program..in C++
Edited 3 Years Ago by mike_2000_17: Fixed formatting