Hello everyone, I'm a freshman in leanring BDB. I have a simple question. What is the difference between db_env_create and "Db mydb(NULL)" while creating a DbEnv object?
The difference is that one creates a C++ object, and the other a C struct. While they both do the same BDB operations, you should use db_env_create when writing a C program, and the other when writing a C++ program.
Thank you very much!