sqlite wrapper in vc++? - c++

I'm going to use a wrapper for opening .sqlite files and exploring their contents. here is the wrapper which I'm going to use:
SQLite C++ Wrapper
But I don't know how to use it! can anyone help me please?
Can you introduce me a library with a better documentation?
thanks so much

On this page you have both an updated source and documentation in pdf for sqlite3x.
http://www.wanderinghorse.net/computing/sqlite/

Related

How to read a .shd file in C++?

I am creating a project in c++ for getting JobSettings of a job in a queue from .shd file.Can anyone please suggest me which API is used for reading .shd file?
If you're talking about the shadow file from the Windows spooler, take a look at this site and code accordingly - http://www.undocprint.org/formats/winspool/shd
Please note that this format is undocumented and so could change ever so often.

C++ wrapper code to extract .zip file?

I want to unzip the .zip file.
can anyone suggest me good C++ wrapper for it ?
QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package
Can't go wrong with zipios++
For Qt/Embedded I have used libzip which works on all platforms.
There are also several answers on this other SO question worth looking at:
https://stackoverflow.com/questions/4518129/qt-classes-to-zip-unzip-files
I haven't used any yet, but have looked carefully at the docs of several, and for handling entire archives of multiple files, it looks like OSDaB provides the easiest solution.

Edit Metadata of PDF File with C/C++?

Could anyone please provide me a sample C/C++ code to read and edit PDF Metadata?
If it is XMP, what else to do?
If it's XMP, I think there's an SDK available from Adobe. But beware, PDF metadata has a long history and isn't only stored in XMP.
You might best be off using a library that allows PDF manipulation. There are several commercial ones available. I have no idea whether there's something usable available for free.
https://github.com/hfiguiere/exempi -- C-library to read and write XMP.
The XMP SDK from adobe does not read/write metadata of PDF files. PDF reading/writing is a complicated task. Your best bet is to use a third party PDF library, or commands like pdfleo.
If you haven't tried XMPToolkit yet, give it a shot and see if it meets your needs.

How can I use graphical resources (stored in res\drawable folders) from NDK?

I need to use openGL in NDK, and I need to load and use some images (PNG), and maybe other files. These files are stored in res\drawable, res\drawable-hdpi, but I cannot access them with fopen()...
There is a way to do this?
Can somebody give me a piece of code for my problem, because it is quite urgent.
Thank you very much, and Merry Christmas,
Tibi.
Try using perror (or strerror) to determine why fopen is failing.

C++ Library to render ODF documents?

I am unable to find any open source libraries to render ODF documents using C++. I found ODKit suporting Java and AODL for .NET C#.
Does any one have any idea or provide me any pointers.
I found a Qt source to parse ODF. Qt already has built in ODF writer.
KOffice supports ODF and is written in C++. I suspect they may have solved whatever it is you are trying to solve. http://www.koffice.org
It may not be the most elegant solution but OpenOffice itself is capable of rendering and the OOoSDK can be used from C++ as seen here for writer and here for spreadsheet.
There is none. You're better AODL or any of the other libs available (python, perl, java, etc) and doing a binding to it
KOffice can be an idea, but if I just want to display an odt file in a nice Qt QWidget, but I don't want to depends on DBus and a lots of Kde feature.
The Idea is to take a look a Flake and KoText libs as Thomas Zanders says on this Forum.