Help : Database in c using multi-dimensional arrays

Discussion in 'Programming' started by adscience, Mar 3, 2007.

  1. #1
    I have to store following datas in virtual database in c using multi-dimensional arrays.

    I have database in text file like something like following

    ===================================
    | ID | name | address | dsday | fdfsr |
    ---------------------------------------------
    x212 | Boew | asdfad | asdffd | sfd
    2a23 | adfas | asdfas | dsdssd | dd
    3J32 | sdfas | asddfd | sdfsfdf | asd
    232c | asdfa | asdsdd | dswew | dsd
    a323 | sdffa | dsddsd | weegw | dsf
    382f | wees | sdasdf | sdfeas | sdf
    ===================================

    I dont know what is going wrong, please write how to use multi-dimensional array to store such database. or is there anyother way to store this data in c?
     
    adscience, Mar 3, 2007 IP