/
niceSOFT
/
sqlite
Обзор
Документация
Войти
/
niceSOFT
/
sqlite
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tool/libvers.c
15 строк
426 B
drh
Add the libvers.c tool in the tool/ subdirectory.
25 май 2016, 21:53
25 май 2016, 21:53
ce3c501
Код
Авторство
О чём код?
/* ** Compile this program against an SQLite library of unknown version ** and then run this program, and it will print out the SQLite version ** information. */ #include <stdio.h> extern const char *sqlite3_libversion(void); extern const char *sqlite3_sourceid(void); int main(int argc, char **argv){ printf("SQLite version %s\n", sqlite3_libversion()); printf("SQLite source %s\n", sqlite3_sourceid()); return 0; }