L
leorulez
I need to read a file which can also be considered as a database (excel
or access or just plain text file). Below is a sample representation of
the file
(col 1) (col 2) (col 3)
name1 15 1890
name2 20 3000
If col 2 and col 3 are given I need to check if it corresponds to col 1
or vice-versa. I am not sure if I can just use a simple text file or
use a database and access it using C. I have not come across any code
that can access a database. Any help on this would really be great.
or access or just plain text file). Below is a sample representation of
the file
(col 1) (col 2) (col 3)
name1 15 1890
name2 20 3000
If col 2 and col 3 are given I need to check if it corresponds to col 1
or vice-versa. I am not sure if I can just use a simple text file or
use a database and access it using C. I have not come across any code
that can access a database. Any help on this would really be great.