Advertisement
Guest User

Untitled

a guest
Mar 1st, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <iostream>
  3.  
  4. #include "mysql_connection.h"
  5.  
  6. #include "mysql_driver.h"
  7. #include <cppconn/driver.h>
  8. #include <cppconn/exception.h>
  9. #include <cppconn/resultset.h>
  10. #include <cppconn/statement.h>
  11.  
  12. using namespace std;
  13.  
  14. char cc;
  15.  
  16. int main()
  17. {
  18. sql::mysql::MySQL_Driver *driver;
  19. sql::Connection *con;
  20.  
  21. driver = sql::mysql::get_mysql_driver_instance();
  22.  
  23. cin >> cc;
  24.  
  25. return EXIT_SUCCESS;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement