I have about 4 gigs of massive text files that I will be using to pull out data such as : money,name,operating system, etc. The text files will continue to grow overtime. Does c++ have a way of storing these text files in a efficient way? Should I use a database for this? If so, which one is good to use with c++?
Does c++ have a way of storing these text files in a efficient way?
No. C++ only provides containers, but even they aren't specific to files, or anything in general. Instead, you'll have to implement your own storage object. Maybe a RAM Disk[1]? I don't have much experience with files, but I've seen people say something like: "a file will fail to open if it's 3/4GB in size". You may have to break the file into manageable chunks.