Share your repls and programming experiences

← Back to all posts
DBMS in C++
DeveloperAniket (3)

If we want to use db so we uses replitdb,sql but i have made a easy database system in which you have to include "db.h"

i hope this is helpful

Comments
hotnewtop
DynamicSquid (5068)

It's not really a DB, more just like a file library. I also think you could have just went with functions on this one, instead of creating a class. I think the function you commented out is more useful that the class.

ErRahulRahul (0)

what value to put in it in console

DeveloperAniket (3)

@ErRahulRahul
call a class db:

db s;
s.save("anything key","value");

for this you can use anything i have only made a headerfile

DeveloperAniket (3)

@ErRahulRahul
to use it you have to write a code in main.cpp for db

DynamicSquid (5068)

@DeveloperAniket That wouldn't work with your code though..

DeveloperAniket (3)

@DynamicSquid yes but for that you have to include db class
see the source of db.h