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

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

¶¨ÒåÁË

ifstream fin("in.txt");

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

int M;
char* str;

fin>>M;
fin>>str;

M¿ÉÒÔ¶Á³öÀ´£¬str×ÜÊÇÎÞ·¨¶ÁÈ¡£¬¾Í±¨´íÁË¡£

Èç¹û²»¶ÁM£¬Ò»¿ªÊ¼¾ÍÊǶÁ×Ö·û´®µÄ»°Ò²¿ÉÒÔ£¬µ«ÏȶÁÒ»¸öÕûÐÍÔÙ¶Á×Ö·û´®¾Í²»ÐÐÁË¡£

ÎªÊ²Ã´ÄØ
strÄãµÃÏÈ·ÖÅäÄÚ´æ¡£

ÄãµÄstrûÓÐÉêÇë¿Õ¼ä¡£
ÊÔÊÔchar* str;
str=new char[100];
fin>>M;
fin>>str;
delete []str;

¹À¼ÆÊǣͺóÃæ¸úÁ˿ոñ£¬ÄãÖ»¶Á³öÀ´Ò»¸ö¿Õ¸ñ¡£¡£

·ÖÅäÄÚ´æ
»òÕßÄã¿ÉÒÔÓÃ
string str;
fin>>str;

¿ÉÊÇÎÒÎÞÂÛÊÇÓÃnew char[]»¹ÊÇÓÃmalloc·ÖÅ䣬ÔËÐеÄʱºò¾Í»á³öÏÖ

DAMAGE: after Normal block (#157) at 0x00384FB8

Èç¹ûÊÇûÓзÖÅäÄÚ´æµÄ»°£¬ÎªÊ²Ã´Ò»¿ªÊ¼¾Í¶Á×Ö·û´®¾Í¿ÉÒÔ£¬¶øÏȶÁÕûÐÍÔÙ¶Á×Ö·û´®¾Í²»ÐÐÄØ


Ïà¹ØÎÊ´ð£º

jspÖÐ <c:if test> Ïà¹ØÎÊÌâ

ÔÚ²éѯºó½«²éѯ³öÀ´µÄÖµ¸³¸ø¸÷ÊäÈë¿ò
<c:if test="${not empty dataValue}">
      fm.SAMPLING_DATE.value=" <c:out value='${dataValue.SAMPLING_DATE}'/ ......

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

QQȺ 29152388
ÓÑÇéUP

°ï¶¥

up

°ïup

up Ö§³Ö£¡

up jf

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

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

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

¼ÓÁË¡£

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

ÎÒºÜÉËÐÄ£¬C¼´½«±»ÌÔÌ­£¡

6ÔÂ5ÈÕÏûÏ¢£¬XXÍøÕ¾ÈÕǰÆÀ³öÁË10Ïî´óÊÆÒÑÈ¥µÄ¼ÆËã»ú¼¼Êõ¡£ÆäÖУ¬ÓÐЩ¼¼ÊõÒѾ­±»ÌÔÌ­£¬ÓÐЩ¼´½«±»ÌÔÌ­¡£ÈçÖøÃûµÄCobolÓïÑÔ£¬ÒÔ¼°IBMµÄOS/2ϵͳ¡£

¡¡¡¡ÒÔÏÂΪXXÍøÕ¾ÆÀ³öµÄ±»ÌÔÌ­µÄ10Ïî¼ÆËã»ú¼¼Êõ£º

¡¡¡¡ ......

ÇëC/C++¸ßÊÖ½ø£¬Çë½Ì£¡

¹¦ÄÜÊÇʵÏÖ×Ö·û´®µÄ·­×ª£¬²»ÖªµÀÄÄÀïÓдíÎó£¬ÇëÖ¸½Ì
#include <iostream>
#include <stdio.h>

using namespace std;
void reverse()
{
char ch;
scanf("%c",ch) ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ