jeudi 27 juillet 2017

Beginner C++ - SQLite3 - Getting "error: unknown type name 'Connection'"

So basically I'm trying to build a simple C++ application that interacts with a SQLite3 database.

#include <stdio.h>
#include "SQLite3.h"

int main()
{
    Connection connection("Users.db");
}

I get this error:

error: unknown type name 'Connection'

How can I solve this problem?

Thanks

Aucun commentaire:

Enregistrer un commentaire