Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ÌõÊý¾Ý£¬¶¼¸²¸Ç¹ýÀ´£¬ÄÇô֮ǰµÄ×îºóÒ»Ìõ£¬¼´µÚÊ®ÌõÊý¾Ý²¢Ã»ÓÐʲôÀ´¸øËü¸²¸ÇÁË£¿ÄÇÒªÔõôȥµôÔ­À´µÄµÚÊ®Ìõ£¿
ÈýÊÇ£¬ÕâÑù×öËüµÄËÙ¶ÈÎÊÌâÄØ£¿¼¸Ç§ÐÐÿ´¦Àí³É¹¦Ò»´Î£¬¾ÍÒª½«Êý¾ÝÕûÌåÍùǰŲ£¬Æµ·±×öÕâ¸ö¶¯×÷ЧÂʿ϶¨²»¸ß¡£

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

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


˵´íÁ˵㣬¾ÍÊÇÄãҪɾ³ýµÄÄÇÒ»ÐÐÇ°Ãæ¿ÉÒÔ¸ñʽ²»Ò»Ñù£¬µ«ÊÇÄãÿÐÐҪɾ³ýµÄÊý¾Ý¸ñʽµÄÊÇÒ»Ñù
Æ©Èç˵£ºÈç¹ûÄãÊÇɾ³ýÈÕÆÚʱ¼äÄãͳһºÃ¸ñʽ£¬ÄÇôҪɾ³ýµÄÄÇÐеÄ×Ö·ûÊý¾ÍÊÇÒ»ÑùµÄÀ²

ÒýÓÃ


Ïà¹ØÎÊ´ð£º

ѧϰÌÖÂÛ C/C++ QQȺ - C/C++ / ·Ç¼¼ÊõÇø

QQȺ 29152388
ÓÑÇéUP

°ï¶¥

up

°ïup

up Ö§³Ö£¡

up jf

...ÄѵÀÓзÖ..?

up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£

Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ

¼ÓÁË¡£

¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......

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

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

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

²ËÄñÇó½â:cͼÐÎÎÊÌâ

#include <stdio.h>
#include <graphics.h>
void main()
{
  int x0,y0,x1,y1,driver,mode,i;
  driver=VGA;
  mode=VGAHI;
  initgraph(&driver,&mode,&qu ......

PHPÀ©Õ¹CʱµÄÎÊÌâ

ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ

²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿

ÔËÐÐÁË/ext_skel --extname=Ä ......

´ÓÎļþ¶ÁC´®µÄÎÊÌâ

¶¨ÒåÁË

ifstream fin("in.txt");

±ÈÈçÎļþÊ×ÐÐÊÇÒ»¸öÊý×Ö£¬µÚ¶þÐÐÊÇÒ»´®×Ö·û¡£

int M;
char* str;

fin>>M;
fin>>str;

M¿ÉÒÔ¶Á³öÀ´£¬str×ÜÊÇÎÞ·¨¶ÁÈ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ