mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-04 17:07:26 +00:00
Added a Visual Studio Solution
- Added the sqlite3 source (easier for Windows dev)
This commit is contained in:
19
src/example1/main.cpp
Normal file
19
src/example1/main.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <iostream>
|
||||
#include "../sqlite.hpp"
|
||||
|
||||
|
||||
int main (void)
|
||||
{
|
||||
std::cout << "Hello SQLite.hpp\n";
|
||||
try
|
||||
{
|
||||
SQLite::Database db("sqlite.db3");
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
std::cout << e.what() << std::endl;
|
||||
}
|
||||
std::cout << "Bye SQLite.hpp\n";
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user