smartgwt (C)
SmartGWTÊÇÒ»¸öÀûÓÃGWT·â×°SmartClientµÄ¿ªÔ´ÏîÄ¿¡£ÀàËÆÓÚGWT-Ext¡£SmartClientÊÇÒ»¸öÆóÒµ¼¶µÄajax¿ò¼Ü£¬°üÀ¨·Ç³£³öÉ«µÄUI¿â¡¢¹¤¾ß¿âºÍ¿Í»§¶Ë·þÎñ¶ËÊý¾Ý°ó¶¨µÈ¹¦ÄÜ¡££¨ÒýÓã©
UI¿â£ººÜ¶à¿ò¼ÜµÄUI¿âºÜ³öÉ«£¬¿¼ÂǵĺÜÍêÉÆ£¬ä¯ÀÀÆ÷¼æÈÝÐÔÒ²ºÜºÃ£¬µ«ÍùÍùÖ»ÊÇǰ̨µÄ£¬µ±ÄãÏëÉîÈë×öµãÓ¦ÓÃʱ£¬¾Í»á·¢Ïֺͺǫ́µÄ½áºÏÐÔ²»¼Ñ£¬Êý¾ÝÀàÐͺܵ¥Ò»£¬ÎÞ·¨´ó¹æÄ£µÄ¿ª·¢¡£È»¶øsmartgwt²»Í¬£¬²»½öÌṩÁËÕûÌ×UI£¨Tree¡¢Grid¡¢Window...£©¼°Æ¤·ôϵͳ£¬Êý¾Ý°ó¶¨¸üÊÇÇ¿´ó¡£
¿Í»§¶Ë·þÎñ¶ËÊý¾Ý°ó¶¨£ºsmartgwtÊý¾Ý¸ÐÖªÌØÐÔ£¬ÌṩÁËÍêÕûµÄ¶Ëµ½¶ËÓû§½»»¥£¬ËüÃǶ¼¿ÉÒÔ×Ô¶¯²úÉúÊʵ±µÄ·þÎñÆ÷ÇëÇóÒÔʹÓÃÒ×ÓÚ¶¨ÖƵļòµ¥ÐÒéÀ´¸üÐÂÊý¾Ý¡£
smartgwtÓÅȱµãºÍÉæ¼°µ½µÄÎÊÌ⣨¸öÈ˼û½â£©
Óŵ㣺
½çÃæ½á¹¹ºÍ±íÏÖÐÎʽͳһ£¬ËùÒԸоõרҵ¡£
½çÃæÑéÖ¤¼òµ¥Áé»î£¬Ò»¸öÊôÐԾ͸㶨£¬¸´ÔÓµÄÑéÖ¤¿ÉÒÔ½áºÏÕýÔò¿Ø¼þ¡£
¼æÈÝ6ÖÖÖ÷Á÷ä¯ÀÀÆ÷£¬ÎÞÐèΪjs¡¢css·³ÄÕ¡£
¸üÈÝÒ×Ä£·ÂÓ¦ÓóÌÐòµÄ²Ù×÷½çÃæºÍÏ°¹ß£¬Óû§ÈÝÒײÙ×÷¡£
ÓµÓÐjavaµÄºÜ¶àÌص㣬¼Ì³Ð¡¢ÃæÏò¶ÔÏó...дͨÓýçÃæºÍ²Ù×÷ʱ£¬¸üÈÝÒ׳éÈ¡ºÍÖØÓá£
¿Í»§¶Ë·þÎñ¶Ë¼ä´«ÊäµÄÊý¾ÝÓÐÊý¾ÝÔ´µÄ¸ÅÄî¡£
ÄܽáºÏ¶àÖÖ¿ò¼Ü¼¼Êõ£¨spring¡¢hibernate£©¡£
×Ô´øµ÷ÊÔ¹¤¾ß¡£
ȱµã£º
ä¯ÀÀÆ÷µÄ»º´æ»úÖƲ»Í¬£¬£¨IE£©¿ÉÄܻᱣ´æµ½ÁÙʱÎļþÖУ¨Í¼Æ¬¡¢jsµÈ£©£¬ÒÔ±ãÏ´οìËÙ·ÃÎÊ£¬ËùÒÔ»á³öÏÖδ¸üеļÙÏó¡£
¶ÔµçÄÔÅäÖÃÓÐÒ»¶¨µÄÒªÇ󣬲»ÄÜÌ«¹ÅÀÏÁË£¬·ñÔò½çÃæÈ«js²Ù×÷¾Í»á²»Á÷³©£¬µ÷ÊÔÒ²»áºÜ¿¨¡£
¹ú¼Ê»¯²»¹»¼ò½à¡£
±àд²¼¾Ö´úÂë±È½ÏÂé·³£¬ÓÈÆäǶÌס£
±àÒë±È½Ï·Ñʱ¡£
ûÓÐÀàËÆdatetime¿Ø¼þ¡£
¾ÀúµÄÎÊÌ⣺
»ñÈ¡IP£¨Òѽâ¾ö£ºÍ¨¹ýjsp£©¡£
¶à±íÊý¾ÝºÏ³ÉÒ»¸öTree£¨Òѽâ¾ö£º´«Í³Ë¼Â·£¬µã»÷½Úµã£¬ÔÙ¼ÓÔØÏÂÒ»½ÚµãÊý¾Ý£©¡£
º£Á¿Êý¾Ý45GB±íµÄ²éѯ·ÖÒ³£¨Òѽâ¾ö£ºË÷ÒýºÜ¹Ø¼ü£©¡£
¿Í»§¶ËÓÐЩ¹¦Äܲ»Õý³££¨Òѽâ¾ö£º¼ÓÔØjsÊôÐÔµÄ˳Ðò£©¡£
´óÕûÊýBigInteger£¨Òѽâ¾ö£ºgwt-math.jar£¬gwt-math-server.jar£©¡£
ÉÏ´«Îļþ×÷Ϊ²éѯÌõ¼þ£¨Òѽâ¾ö£ºservlet·þÎñ¶ËÏÈ´¦ÀíÊý¾Ý£¬¿Í»§¶ËÑÓ³Ù»ñÈ¡£¬Ï޵Ͳ¢·¢»·¾³£©¡£
Í϶¯Tree¸üзþÎñ¶ËÊý¾Ý£¨Î´½â¾ö£©¡£
ÏÂÀ¿ò2¼¶Áª¶¯£¬µÚ¶þ¸öÏÂÀ¿ò²»Îȶ¨£¨Î´½â¾ö£©¡£
smartgwt×Ô´øÏÂÀ¿ò·ÖÒ³¹¦ÄÜÎÞ·¨ÊµÏÖ£¨Î´½â¾ö£©¡£
Ïà¹ØÎĵµ£º
¡¡extern "C" °üº¬Ë«Öغ¬Ò壬´Ó×ÖÃæÉϼ´¿ÉµÃµ½£ºÊ×ÏÈ£¬±»ËüÐÞÊεÄÄ¿±êÊÇ“extern”µÄ£»Æä´Î£¬±»ËüÐÞÊεÄÄ¿±êÊÇ“C”µÄ¡£ÈÃÎÒÃÇÀ´Ïêϸ½â¶ÁÕâÁ½Öغ¬Òå¡£
¡¡¡¡£¨1£© ±»extern "C"ÏÞ¶¨µÄº¯Êý»ò±äÁ¿ÊÇexternÀàÐ͵ģ»
¡¡¡¡externÊÇC/C++ÓïÑÔÖбíÃ÷º¯ÊýºÍÈ«¾Ö±äÁ¿×÷Ó÷¶Î§£¨¿É¼ûÐÔ£©µÄ¹Ø¼ü×Ö£¬¸Ã¹Ø¼ü× ......
ºÜÆæ¹Ö£¬ÒÔÇ°Ò»Ö±ÒÔΪC++ÊǼæÈÝCµÄ£¬µ«ÊÇ£¬½ñÌìÓÃlex&yaccÉú³ÉµÄC´úÂë¿ÉÓÃͨ¹ýGCCµÄ±àÒ룬
µ«ÊÇÔõô¶¼Í¨²»¹ýG++µÄ±àÒ룬¶øÆä´íÎóºÜ¶à£¬ÓпÉÄÜÊÇlex&yaccÉú³ÉµÄC´úÂëÌ«ÀÏÁË£¬£¬£¬
ÎÒÊÇÕâÑù½â¾öµÄ
°Ñlex&yaccÉú³ÉµÄ´úÂë Óà GCC -c ±àÒë³É lex.o µÄÄ¿±êÎļþ¡£È»ºó g++ main.cpp lex.o ,¾ÍOKÁË
¼ÇµÃ£º ÔÚ main. ......
ÏñPHPºÍperlÒ»Ñù£¬MySQLÒ²ÌṩµÄCÓïÑÔʹÓõÄAPI. C´úÂëµÄAPIÊÇËæMySQLÒ»Æð·¢²¼µÄ¡£ Ëü°üº¬ÔÚmysqlclient¿âÖУ¬ ¿ÉÒÔʹC³ÌÐòÀ´·ÃÎÊÊý¾Ý¿â¡£
MySQLÔ´Âë°üÖеÄÐí¶à¿Í»§¶Ë¶¼ÊÇÓÃCдµÄ¡£ Èç¹ûÄãÕýÔÚÕÒʹÓÃÕâЩC APIµÄÀý×Ó£¬ ¿ÉÒÔ¿´¿´¿Í»§¶ËµÄд·¨¡£Äã¿ÉÒÔÔÚMySQLÔ´Âë°üµÄclientsĿ¼ÕÒµ½ÕâЩÀý×Ó¡£
& ......
VCÖÐÏÂÃ漸¸ö½á¹¹Ìå´óС·Ö±ðÊǶàÉÙÄØ
struct MyStruct
{
double m4;
char m1;
int m3£»
};
s ......
ÓÃÒ»¾ä»°¸ÅÀ¨extern “C”Õâ¸öÉùÃ÷µÄÕæʵĿµÄ¾ÍÊÇʵÏÖC++ÓëC¼°ÆäËüÓïÑԵĻìºÏ±à³Ì¡£
extern "C"µÄ¹ßÓ÷¨
£¨1£©ÔÚC++ÖÐÒýÓÃCÓïÑÔÖеĺ¯ÊýºÍ±äÁ¿£¬ÔÚ°üº¬CÓïÑÔÍ·Îļþ£¨¼ÙÉèΪcExample.h£©Ê±£¬Ðè½øÐÐÏÂÁд¦Àí£º
extern "C"
{
££i nclude "cExample.h"
}
¶øÔÚCÓïÑÔµÄÍ·ÎļþÖУ¬¶ÔÆäÍⲿº¯ÊýÖ»ÄÜÖ¸¶¨ÎªexternÀà ......