我们如何在vc ++中创建读写搜索索引的二进制文件? [英] how we can create read write search indexed binary file in vc++ ?

查看:171
本文介绍了我们如何在vc ++中创建读写搜索索引的二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用索引二进制文件.
我想创建一个便携式词典,它的数据库很大.

我知道我们可以使用文件的普通命令,但是我想创建一个索引文件,以便我们可以非常快速地在二进制文件中查找信息.(例如db.dat db.idx).

谢谢

Hi,

I want work with indexed binary file.
I want to create a portable dictionary and its database is very big.

I know ordinary commands that we can work with file but I want to create an indexed file so that we can find information in binary file very quickly.(like db.dat db.idx).

Thanks

推荐答案

如果您想要那种级别的索引和直接访问功能,为什么不访问和使用像SQL Server这样的真实数据库(它们具有免费版)?否则,您将基本上是在重新发明轮子.
If you want that level of indexing and direct access functionality, why don''t you just access and use a real database, like SQL Server (they have free editions)? Otherwise you''d be basically reinventing the wheel.


这篇关于我们如何在vc ++中创建读写搜索索引的二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆