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

ÓÃc/c++¶¨Î»É¾³ýÒ»ÐеÄÎÊÌâ

ÓÃc/c++¶¨Î»É¾³ýÒ»ÐеÄÎÊÌâ¡£

ÎÊÌâ±³¾°£º

ËùÐèÊý¾ÝÏ൱´ó¡£aÓëbÎļþ¾ùΪһ×éÎļþ£¨a1£¬a2¡­£¬b1£¬b2¡­£©£¬aÎļþÓÐ×î´óÊý¾ÝÐÐÊý£¨Èç5000£©£¬ÒÔÐеÄÐÎʽ£¬´ÓaÎļþÖжÁÈ¡Êý¾Ý£¬½«aÖв»ÄÜ´¦ÀíµÄÊý¾Ý·ÅÔÚbÎļþÖУ¬È»ºóµ¥¶À¶Ôb¡£
bÎļþÖÐÒÀ¾É¶ÔÊý¾Ý½øÐд¦Àí£¬Èç¹ûÒѾ­´¦Àí³É¹¦£¬Ôò½«¸ÃÌõ£¨¸ÃÐУ©Êý¾Ýɾ³ý£¬Èç¹ûʧ°ÜÔò¼ÌÐø±£Áô¸ÃÊý¾Ý¡£
ÎÊÌâÇé¿ö£º
ÔÚûÓж¯ÊÖ±àµÄʱºò£¬¾õµÃÊǸöºÜÈÝÒ×µÄÎÊÌ⣬µ«ÊǺóÀ´·¢ÏÖ£¬c/c++ÌṩµÄº¯Êý£¬²¢Ã»ÓÐÖ¸¶¨É¾³ýÒ»ÐÐÊý¾ÝµÄ¿âº¯Êý¡£
ÍøÉÏ˵ÁËһЩ·½·¨ÈçÏȶ¨Î»ÔÚҪɾ³ýµÄÊý¾ÝλÖã¬È»ºó½«ºóÃæµÄÊý¾Ý¸²¸ÇÔÚÕâ¸öλÖá£
ÕâÑù×öÓÐ3¸öÎÊÌ⣺
Ò»ÊÇ£¬seekp()º¯Êý¿ÉÒÔ¶¨Î»£¬È»ºóÓÃf.write(s, strlen(s));µ«ÊǾßÌåÒªÔõÑù½«ºóÃæµÄÊý¾Ý±£´æ²¢Ð´µ½Õâ¸öλÖÃÄØ£¿ ºóÃæµÄÊý¾Ý¿ÉÄÜÓм¸Ç§ÐУ¬¶øÇÒÊÇÓС®\n¡®µÄ×Ö·ûµÄ¡£
¶þÊÇ£¬ÈçÓÐ10ÌõÊý¾Ý£¬ÄÇôÕâʱºòÒª½«µÚ¶þÌõɾ³ý£¬ÄÇô¾Í½«µÚÈýÌõÍùºóµÄ7ÌõÊý¾Ý£¬¶¼¸²¸Ç¹ýÀ´£¬ÄÇô֮ǰµÄ×îºóÒ»Ìõ£¬¼´µÚÊ®ÌõÊý¾Ý²¢Ã»ÓÐʲôÀ´¸øËü¸²¸ÇÁË£¿ÄÇÒªÔõôȥµôÔ­À´µÄµÚÊ®Ìõ£¿
ÈýÊÇ£¬ÕâÑù×öËüµÄËÙ¶ÈÎÊÌâÄØ£¿¼¸Ç§ÐÐÿ´¦Àí³É¹¦Ò»´Î£¬¾ÍÒª½«Êý¾ÝÕûÌåÍùǰŲ£¬Æµ·±×öÕâ¸ö¶¯×÷ЧÂʿ϶¨²»¸ß¡£

ÄÇôÓÐûÓÐÆäËûµÄºÃ·½·¨ÄØ£¿£¿


ÁíÍ⣬»¹ÓÐÒ»Ìõ·£¬¾ÍÊÇÓÃÊý¾Ý¿â´úÌæÕâ¸ö¹¦ÄÜ£¬
ÄÇô»¹»áÓÐÏÂÃæµÄ¿¼ÂÇ£º
Ò»ÊÇÊý¾Ý¿âÒ²´æÔÚ±£´æ³É¹¦ºÍʧ°ÜµÄÎÊÌ⣻
¶þÊÇƵ·±²Ù×÷Êý¾Ý¿â»á²»»á¸üûÓÐЧÂÊÄØ£¿£¨ÓëƵ·±²Ù×÷Îļþ¶ÁÈ¡Ïà±È£©

Çë´ó¼Ò¿´Ò»Ï°ɡ£¡£²»ÄÜ·¢ºÜ¶à·Ö²»ÖªµÀΪʲô¡£²»ºÃÒâ˼ÁË
À§ÈÅÎҺܾÃÁË¡£
¿ÉÒÔÓà MFC ÀïÃæµÄ CStdioFile
Óà ReadString ½«Êý¾ÝÒ»ÐÐÒ»ÐеĶÁ½øÀ´£¬Èç¹ûÎÞ·¨´¦Àí£¬½«¸ÃÐÐ×Ö·û´®·ÅÈëÒ»¸ö CStri


Ïà¹ØÎÊ´ð£º

CÈí¼þ תÕý¹¤×ʶàÉÙºÏÊÊ£¿

µØµãÔÚÉîÛÚÄÏɽ
¡¡¡¡×öCÈí¼þ¡£ÊÔÓÃ2K£¬²»ÖªµÀתÕý¸ø¹«Ë¾Ì¸¶àÉÙºÏÊÊ°¡£¿
¡¡¡¡ÁíÍ⣬±¾ÈËС±¾£¬Ó¢ÓïÁù¼¶£¬ÊÔÓÃÈý¸öÔ±íÏÖµÃÒ²ËãÖÐÉÏˮƽ¡£µ«ÊÇÏÖÔÚ»¹²»ÄÜ×öÏîÄ¿¡£ÁíÍâ±ÏҵѧУûÓÐÃûÆø¡£
¡¡¡¡×ªÕý¸ø¹«Ë¾Ì¸¶àÉ ......

ΪʲôCдDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷ÓÃ

ΪʲôCдµÄDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷Óã¿
VBÀïΪʲôÓеÄDLLÖ±½Óͨ¹ýÒýÓÿÉÒÔʹÓã¿ÓеÄÐèҪͨ¹ýdeclareÉêÃ÷Íⲿº¯Êý£¿ÕâЩDLLÓÐʲô²î±ð£¿

1¡¢ÎªÊ²Ã´PBÄÜͨ¹ýDECLAREÉùÃ÷¶øVB²»ÐУ¿
2¡¢Èç¹ûÕâ¸ödllÖÐµÄ ......

CÖеÄһЩСÎÊÌâ¡£¡£¡£

/* Note:Your choice is C IDE

×÷Ó㺠Ëæ»úÊý¼ÓÃÜ·¨£¬£¬£¬£¬
ÒÔÏÂÓÐÐí¶à²»¶®£¬Çë½Ìһϣ¬ÇëÖ÷Òâ´úÂë;
*/
#include <stdio.h>
#include <stdlib.h>
union
{
int value;
struct
{
c ......

ÓÃC»òC++ÈçºÎ±àдÇó½â3Dħ·½³ÌÐò - C/C++ / C++ ÓïÑÔ

ÇëÎÊÓÃC»òC++ÈçºÎ±àдÇó½â3Dħ·½µÄ³ÌÐò£¬¸Ã´ÓºÎ¿ªÊ¼£¿
лл¸÷룬°ïæÌáµã½¨Òé°É¡£

http://www.mofang.net/code/176/182/6581.html

ÎÒÖ»ÄÜÍ»ÆÆ60Ã룡°¦¡£

ÎÒ¸Õ¹ý40Ãë

googleµÄandroidÖÐÓиöOpenGL ES + ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ