Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

C++ºÍJAVAÈçºÎÑ¡Ôñ

C++ºÍJAVAÈçºÎÑ¡Ôñ
Ò»°ãÈÏΪC++ÒªÄÑÒ»µã£¬×Ô¼º¿¼ÂÇ°É

ѧÍêc++ÔÙѧJAVAÈçͬ·ç¾í²ÐÔÆ°ãÇï·çɨÂäÒ¶¡£
ѧÍêJAVAÔÙѧc++ÓÐÈç¸üÉÏÒ»²ãÂ¥¡£
JavaÖ»ÊÇÃæÏò¶ÔÏó¡£
¶øc++ÓÐÃæÏò¹ý³Ì¡¢ÃæÏò¶ÔÏó¡¢»ùÓÚ¶ÔÏó¡¢Ä£°åµÈµÈ¡£
Èç¹ûÂ¥Ö÷ÓÐC»ù´¡£¬½¨Òéѧc++


ÓïÑÔÖ»Êǹ¤¾ß£¬¹Ø¼ü¿´Äã´ÓÊÂÐÐÒµ·½Ïò£¬»¹ÓÐÐËȤµÈ

C++°É£¬¹¦ ......

vc++£¬c#ºÍjavaÄǸö±È½ÏÓÐÇ°¾°¡£¡£

¸÷λ´óÏÀÄܲ»Äܶ¼·¢±íÒ»ÏÂ×Ô¼ºµÄ¿´·¨~ ´ó¼Ò½»Á÷һϠ ллà¶~
C# ±È½ÏÓб³¾°

¸öÈË°®ºÃ¶øÒÑ£¡Ñ§ºÃÁËǰ;һƬ¹âÃ÷£¡

ÄĸöÕÆÎÕµÄÊìÁ·Á˶¼ºÜºÃ

¿´ÔÚʲôÁìÓòÓ¦ÓÃÁË£¬±ÈÈçÔÚͼÏñ·½ÃæC++¿ÉÄÜÒª¸üʤһ³ï£¬ÒÔ¼°Ò»Ð©µ×²ãµÄ¿ª·¢£¬B/S¼Ü¹¹µÄ¿Ï¶¨ÊÇ.netºÍJavaÁË¡£ºÇºÇ£¬Ö÷Òª¿´Ó¦Óã¬ÓïÑÔÎÞÓÅÁÓ£¬Ñ§ºÃÁ˶¼ÓÐǰ;£¬²»¹ýÄ¿Ç ......

C++ µ÷Óà mysql ÖеÄÎÊÌâ

#include "stdafx.h"
#include "winsock2.h"
#include <windows.h>
#include <iostream>
#include <mysql.h>
#include <stdio.h>
#include <conio.h>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
  &nbs ......

¹ØÓÚc++¹ÜÀímysqlµÄº¯ÊýÎÊÌ⣨¼±£©

Èç¹ûÎÒÏëÓÃselect *  from mytable where ×Ö¶Î1=    and    ×Ö¶Î2=    and    ×Ö¶Î3=

ÆäÖÐ×Ö¶Î1£¬2£¬3¶¼ÒªÇó´ÓÒѶ¨ÒåµÄ±äÁ¿ÖÐÈ¡£¬ÒªÔõô×ö£¿

 

sprintfºÍmysql_queryËƺõ¶¼²»Ðа¡ Çë¸÷λ°ï°ïæ


Èç¹û¶¼ÊÇÓñäÁ¿,¿ÉÒÔʹÓÃstl::map½â¾ö
map ......

ÔÚvisual studio c++ÖÐÈçºÎµ÷ÓÃmysqlÓï¾ä

[b]ÏÈ˵ÉùÎÒÊÇÐÂÊÖ£¬  ÎÒµÄmysqlÊý¾Ý¿âÒѾ­Á¬ÉÏÁËvs £¬ µ«ºóÐøÎÒÒªÓÃc++ÓïÑÔÖ±½Ó²Ù×÷Êý¾Ý¿â£¬ »òÄܲ»Äܵ÷ÓÃmysqlµÄÓï¾äÀ´¶ÔÆä²Ù×÷£¬ ¸÷λ´óÏÀ°ï°ï棬¿ÉÒԵĻ°Ìṩµã´úÂëÀý×Ӳο¼Ò»Ï£¬ÏÈлл¸÷λÁË¡£

Ò»°ã½¨ÒéÓÃMySQLµÄC API½øÐпª·¢

¹Ù·½µÄ£ºhttp://dev.mysql.com/downloads/connector/


C++ Óм¸ÖÖÁ¬ ......

c++ÖвéѯmysqlÊý¾Ý¿âµÄÎÊÌâ ¼±°¡£¡£¡£¡£¡£¡


ÎÒÔÚc++ÖвéѯmysqlÊý¾Ý¿âʱ


ÎÒÕâÑù×ö¾Í¿ÉÒÔ
char  szSqlText[500];
sprintf(szSqlText,"select * from anchorid where xdid='1' and pointid='1' and xdupdw='up'");

µ«ÏÂÃæÕâÑù¾Í²»ÐÐ
char  szSqlText[500];
sprintf(szSqlText,&quo ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [87] [88] [89] [90] 91 [92] [93] [94] [95] [96]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ