Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ò»¸öcСÎÊÌ⣨²ËÄñÌáÎÊ£© - C/C++ / CÓïÑÔ

ÎÒˮƽºÜ²Ë£¬ÌáÎʵĹÀ¼ÆÒ²ºÜ¸ãЦ£¬ºÇºÇ£¬¸ßÊÖ¼ûÁ¡£

ÎÒÔÚ´úÂëÀïÃæÌí¼ÓÁËÒ»¸ö.cÎļþA£¬ÀïÃæÓÐÒ»¸öº¯Êýf£¬È»ºóÎÒÔÚÁíÍâÒ»¸ö.cÎļþBÖе÷Óô˺¯Êýf£¬µ«ÊÇ£¬BÎļþÖв¢Ã»Óаüº¬¶Ôº¯ÊýfµÄÉùÃ÷£¬Ò²¾ÍÊÇ˵ûÓаüº¬ÎļþAµÄ.h£¬¶Ôº¯ÊýfҲûÓÃ×öexternµÄÉùÃ÷¡£

ÎÊÌâÊÇBÎļþ¶ÔAÎļþÖеĺ¯Êýfµ÷ÓþÓȻûÓÐÎÊÌ⣿

²»¶®°¡£¬¸ú¸ßÊÖѧϰ
C±àÒëÆ÷¸ù¾ÝÄãµ÷Óú¯ÊýµÄ²ÎÊýÀàÐͺͷµ»ØÖµ£¬
¸øÄãĬÈϵÄÌí¼ÓÁËÒ»¸öº¯ÊýÉùÃ÷£¬µ±È»²»Ò»¶¨×¼È·£¬´æÔÚ°²È«Òþ»¼¡£
ËùÒÔ»¹ÊÇ×Ô¼ºÉùÃ÷Ò»¸öºÃ¡£

C++¾Í²»¿ÉÒÔ¡£

Ò²ÐíÄã°üº¬ÁËÆäËûµÄÎļþ~Äãд¸ö²âÊÔ³ÌÐò£¬¼òµ¥µÄ²âϾÍÖªµÀ¿©·

±àÒëÆ÷Ö§³Ö

ÒýÓÃ
ÎÒˮƽºÜ²Ë£¬ÌáÎʵĹÀ¼ÆÒ²ºÜ¸ãЦ£¬ºÇºÇ£¬¸ßÊÖ¼ûÁ¡£

ÎÒÔÚ´úÂëÀïÃæÌí¼ÓÁËÒ»¸ö.cÎļþA£¬ÀïÃæÓÐÒ»¸öº¯Êýf£¬È»ºóÎÒÔÚÁíÍâÒ»¸ö.cÎļþBÖе÷Óô˺¯Êýf£¬µ«ÊÇ£¬BÎļþÖв¢Ã»Óаüº¬¶Ôº¯ÊýfµÄÉùÃ÷£¬Ò²¾ÍÊÇ˵ûÓаüº¬ÎļþAµÄ.h£¬¶Ôº¯ÊýfҲûÓÃ×öexternµÄÉùÃ÷¡£

ÎÊÌâÊÇBÎļþ¶ÔAÎļþÖеĺ¯Êýfµ÷ÓþÓȻûÓÐÎÊÌ⣿

²»¶®°¡£¬¸ú¸ßÊÖѧϰ


Õâô˵£¬Ó¦¸ÃÔÙѧѧ±àÒëÔ­Àí°É£¿³õѧ°¡£¬ÃþË÷ÖУ¬ÍûÖ¸µãÒ»¶þ°¡£¬²»Éõ¸Ð¼¤

ÒýÓÃ
C±àÒëÆ÷¸ù¾ÝÄãµ÷Óú¯ÊýµÄ²ÎÊýÀàÐͺͷµ»ØÖµ£¬
¸øÄãĬÈϵÄÌí¼ÓÁËÒ»¸öº¯ÊýÉùÃ÷£¬µ±È»²»Ò»¶¨×¼È·£¬´æÔÚ°²È«Òþ»¼¡£
ËùÒÔ»¹ÊÇ×Ô¼ºÉùÃ÷Ò»¸öºÃ¡£

C++¾Í²»¿ÉÒÔ¡£


Õâô˵£¬Ó¦¸ÃÔÙѧѧ±àÒëÔ­Àí°É£¿³õѧ°¡£¬ÃþË÷ÖУ¬ÍûÖ¸µãÒ»¶þ°¡£¬²»Éõ¸Ð¼¤
ÔΣ¬¸ÕÒýÓôíÁË

ÒýÓÃ
ÒýÓà 1 Â¥ freezezdj µÄ»Ø¸´:
C±àÒëÆ÷¸ù¾ÝÄãµ÷Óú¯ÊýµÄ²ÎÊýÀàÐͺÍ


Ïà¹ØÎÊ´ð£º

Çó½Ìc/c++ÓïÑÔÏà¹ØÎÊÌâ - C/C++ / CÓïÑÔ

ÓÐÒ»10*10¾ØÕ󣬳ýÈ¥µÚÒ»¸öµã£¨0£¬0£©ºÍ×îºóÒ»µã£¨9£¬9£©£¬»¹Óа˸öµãΪ1£¬ÆäËû¶¼Îª0£¬ÒªÇóÓöþάÊý×é±íʾ¡£°Ë¸öµãÊÇËæ»úÉú³ÉµÄ£¬±àдÏà¹Ø³ÌÐò±íʾ¾ØÕóËùÓпÉÄÜÇé¿ö¡£
ÕæÐÄÇó½Ì¸÷λ¸ßÊÖ£¬°¥£¡±¾ÈËÌ«²ËÁË£¡ºÇºÇ£¡
......

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

Ϊʲôxml²»ÄÜÏÔʾ°¢À­²®ÎÄ - C/C++ / C++ ÓïÑÔ

ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À­²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎĶ¼¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À­²®ÎĵÄ×Ö¿âÄãÓÐô£¿

ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......

ÇóÖú£ºC´úÂëchange toVB´úÂë - VB / »ù´¡Àà

ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó­¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......

CÖÐÈçºÎÅжÏdoubleÐÍÊý×éΪ¿Õ - C/C++ / CÓïÑÔ

[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£

"ÈκÎÖµ" µÄ¶¨Òå?

¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ

¿ÉÒÔ¿¼Â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ