How do you get SQLite off the C+++ program?
Alberto last edited by
SQLite, without problem, starts from the C+++ (Linux) application if this annex is to start from the console. But when the application launches Linux's launch, SQLite doesn't work. "Can't open database."
classic problem. You're hoping that the job directory (and the directory where the files are searched, unless the full route is specified) and the place where the binary is stored will always be the same. That's not true. It's not that far. The right way is to keep the base in a known place. Or write a way to her somewhere in the configurations that are again stored in a prominent place.
The configurations can be stored in the catalogue /etc or its subcategories (if this is at least a system application). Otherwise, it's better in the home catalogue in the file.
And your different files are better stored inside.
If that doesn't work, then you create a /opt folder for your application and put the files there as you like. It's common practice.