-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdatabase-main.cpp
More file actions
executable file
·49 lines (44 loc) · 1.6 KB
/
database-main.cpp
File metadata and controls
executable file
·49 lines (44 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* ===================================================================
*
* Filename: database-main.cpp
*
* Description: Main Method
*
* Created: Thursday 28 February 2013 10:53:59 IST
* Compiler: gcc
*
* Author: Mandeep Kaur, meghasimak@gmail.com
* License: GNU General Public License
* Copyright: Copyright (c) 2013, Great Developers
*
* ===================================================================
*/
/**-------------------------------------------------------------------
* \mainpage MySQL Connectivity with C++
*
* This is a working code example of using C++ to interface with MySQL.
* Steps:
*
* \li Download this code \n
* $ git clone https://github.com/megha55/mysql-with-cpp.git
*
* \li For installing MySQL Connector for C++ \n
* $ make install
*
* \li Change database details in database-detail.h file.
*
* \li To run example \n
* $ make
*
*------------------------------------------------------------------*/
/**-------------------------------------------------------------------
* Include required header files
*------------------------------------------------------------------*/
#include "database.h"
int main(void)
{
MySQL Mysql;
Mysql.ShowTables();
return 0;
}