| sqlitewrapped. SQLIteWrapped´Â SQLite µ¥ÀÌÅͺ£À̽º C ÀÀ¿ë ÇÁ·Î±×·¥ ÇÁ·Î±×·¡¹Ö ÀÎÅÍÆäÀ̽ºÀÇ C ·¡ÆÛÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
sqlitewrapped. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Anders Hedstr
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.alhem.net/project/wsdl2cpp/
sqlitewrapped. ű×
sqlitewrapped. ¼³¸í
SQLIteWrapped´Â SQLite µ¥ÀÌÅͺ£À̽º C ÀÀ¿ë ÇÁ·Î±×·¥ ÇÁ·Î±×·¡¹Ö ÀÎÅÍÆäÀ̽ºÀÇ C ·¡ÆÛÀÔ´Ï´Ù. SQLIteWrapped´Â SQLite µ¥ÀÌÅͺ£À̽º C ÀÀ¿ë ÇÁ·Î±×·¥ ÀÎÅÍÆäÀ̽ºÀÇ C ·¡ÆÛÀÔ´Ï´Ù. Linux / UNIX ¹× Win32¿¡¼´Â ÄÚµå ÀÛµ¿ÇÕ´Ï´Ù. ÀÌ ¶óÀ̺귯¸®´Â SQLite µ¥ÀÌÅͺ£À̽ºÀÇ ¹öÀü 3À» Áö¿øÇÕ´Ï´Ù. ¹öÀü 1.2¿¡¼ ¿¬°á Ç®À» threadsafe.examples : #include #include #include #include #include #include "database.h"#include "Äõ¸®" .h "int main () {µ¥ÀÌÅͺ£À̽º DB ("database_file.db "); Q (DB); Q.Execute ( "»ç¿ëÀڷκÎÅÍ »èÁ¦"); Q.Execute ( "»ç¿ëÀÚ °ª¿¡ »ðÀÔ (1, 'ù ¹ø° »ç¶÷'¿¡ »ðÀÔ"); Q.Execute ( "»ç¿ëÀÚ °ª¿¡ »ðÀÔ (2, '´Ù¸¥ »ç¶÷')"); Q.GET_RESULT ( "¼ýÀÚ ¼±ÅÃ, »ç¿ëÀڷκÎÅÍ À̸§"); while (q.fetch_row ()) {long num = q.getVal (); std :: string name = q.getstr (); PRINTF ( "»ç¿ëÀÚ # % ld : % sn", num, name.c_str ()); } Q.FREE_RESULT ();}ÀÌ ¸±¸®½ºÀÇ »õ·Î¿î ±â´É : ¡¤ÀÌ ¸±¸®½º´Â ¿ À̸§À¸·Î ¼³Á¤µÈ °á°úÀÇ °ª¿¡ ¾×¼¼½ºÇÏ´Â ¸Þ¼µå¸¦ Ãß°¡ÇÕ´Ï´Ù.
sqlitewrapped. °ü·Ã ¼ÒÇÁÆ®¿þ¾î