c/s - C/C++ / ÐÂÊÖÀÖÔ°
±¾ÈËÓÐÒ»¸öCÏîÄ¿£¬ÒªÓõ½client-server,µ«ÊÇÒÔÇ°´Óû½Ó´¥¹ýc/sµÄ¶«Î÷£¬ÓÐûÓÐËÄÜÍƼöһЩºÃµÄÎÄÕ£¬ÎÄÕÂ×îºÃÄܾßÌå½âÊÍʵÏֵķ½·¨ºÍÔÀí¡£Ð»Ð»
http://www.cnki.com.cn/Article/CJFDTotal-KJIG200803068.htm
http://download.csdn.net/source/1099061
µ½ÍøÉÏËÑË÷һЩsocket·þÎñÆ÷±à³ÌµÄ¶«Î÷,Èç¹ûд¸ö¼òµ¥µÄsocket serverÖ»ÐèÒª½Óµ½socketÇëÇóºóÆðнø³Ì´¦Àí¾Í¿ÉÒÔÁË,Èç¹û¸´ÔӵĿÉÒÔʹÓÃһЩ¿ò¼Ü,±ÈÈçace,ÕâÑù¾Í¿ÉÒԱȽϼòµ¥µÄ±àд¸ßÐÔÄܵÄc.s server¶ËÁË,client¾Í±È½Ï¼òµ¥ÁËÁ¬ÉÏserverÊÕ·¢ÏûÏ¢¾Í¿ÉÒÔÁË
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
ËÄÜ°ïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......
ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......
ÈçºÎ½«Ò»¸öListBoxÖеÄÊý¾Ý´æÔÚÊý¾Ý¿âÖеÄÒ»¸ö×Ö¶ÎÏÂÃ棬²¢ÇÒÿÌõ¼Ç¼µÄ×Ö·û´®¸öÊý²»Ò»¶¨ ÒÔ¼°ÈçºÎ´ÓÊý¾Ý¿âÖжÁÈ¡¸ÃListBoxÖеÄËùÓмǼ
C/C++ code:
//´æÈëÊý¾Ý¿â
void __fastcall TForm1::Button5Click(TO ......