How can I create a implement store to store and retrieve data from a file??
How can I create a implement store to store and retrieve data from a file??
have you thought about checking SDK docs, for example APIs that might be good:
- CDictionarystore
- CFileStore, etc.
Of course the easiest API might be RFile.
Well i need to understand the concept of store. How to write into files and how to retireve the same data from the existing file. And also how to make a search in the particular file containing one single data item as a key!! Is there is any running expample from which i can understand stores properly??
Have you tried doing any searching in our Wiki already, it should have examples on this topic as well..
If you want to understand the concept of stores, you may consider reading the documentation: Symbian OS v9.x » Symbian OS guide » System libraries » Using StoreStores are not files.How to write into files and how to retireve the same data from the existing file.Files are not databases.And also how to make a search in the particular file containing one single data item as a key!!Yes, all SDK-s contain Examples\SysLibs, where you can find Stores, FileStores, Streaming, Streams examples.Is there is any running expample from which i can understand stores properly??
Neither of them are databases however, because databases are called "database", like RDbDatabase (RDbStoreDatabase and RDbNamedDatabase are the actual classes). However the DBMS example is also in the same directory, and it uses RDbStoreDatabase in a CFileStore.
Instead of assuming you need to use a store for your solution, why not state your requirements and get the experts to comment if the best solution for you is a file, dbms, a store (and if so which type, there are more than one), .....