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

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

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

using namespace std;
void reverse()
{
char ch;
scanf("%c",ch);
if(ch!='.')
{
reverse();
printf("%c",ch);
}
}

void main()
{
reverse();
}
ÄãµÄreverse()º¯ÊýûÓÐʵÏÖÈκι¦ÄÜ

%cÊÇÓÃÀ´ÊäÈë×Ö·û£¬²»ÊÇ×Ö·û´®¡£

scanf("%c",ch);
ºÃÏñÓдí

scanf("%c",ch);  ==> scanf("%c",&ch);



C/C++ code:

#include <iostream>
#include <string>

using namespace std;

void reverse()
{
char ch = '\0';
cin>>ch;
if(ch!='.')
{
reverse();
cout<<ch<<endl;
}
}

void main()
{
reverse();
}



#include <string> //Õâ¸ö²»ÐèÒª
ÁíÍâѧC++ÁËÓÃcinºÍcout±È½ÏºÃ¡£

scanf("%c", &ch)

º¯Êý¹¦Äܵ¹ÊÇʵÏÖÁ˵ģ¬ÀûÓõݹ鷴Ðò´òÓ¡ÁËÒ»±é¡£

Õâ¸öµÝ¹é·´ÐòÓеãÒâ˼£¡ÎÊÌâȷʵÔÚscnf£¨£©ÉÏ


Ïà¹ØÎÊ´ð£º

Ò»¸ö¼òµ¥µÄcÓÎÏ·

13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔ­À´µÄÐòºÅ
½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈË°ï¸ÄÒ»ÏÂ
#include <stdio.h>
#include < ......

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

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

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

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

¹ØÓÚthe c program µÄÒ»µÀÌâ!

±àд³ÌÐòdetab, ½«ÊäÈëÖеÄÖƱí·ûÌæ»»³ÉÊʵ±ÊýÄ¿µÄ¿Õ¸ñ£¬Ê¹¿Õ¸ñ³äÂúµ½ÏÂÒ»¸öÖƱí·ûÖÕÖ¹µÄµØ·½¡£¼ÙÉèÖƱí·ûÖÕֹλµÄλÖÃÊǹ̶¨µÄ£¬±ÈÈçÿ¸ônÁоͻá³öÏÖÒ»¸öÖƱí·ûÖÕֹλ¡£
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­ ......

C ³ÌÐòÎÊÌâ (¶þ) - C/C++ / CÓïÑÔ

ÎÊһϣº
#include <stdio.h>
int main()
{
  char x, y, z;
  int i;
  int a[16];
  for(i=0; i<=16; i++)
  {
  a[i] = 0;
  ......

ÄãÃÇÏÖÔÚ»¹ÔÚÓÃCÂð£¿CÓÐǰ;Âð£¿

ÄãÃÇÏÖÔÚ»¹ÔÚÓÃCÂð£¿CÓÐǰ;Âð£¿
Ò»¶¨£¬²¢ÓÀÔ¶¼á³Ö

ÒýÓÃ
Ò»¶¨£¬²¢ÓÀÔ¶¼á³Ö

¶¥

ÓÐÓá£

Â¥Ö÷ºÎ³ö´ËÑÔ

Â¥Ö÷À´c°æÎÊÕâ¸öÎÊÌâÊÇÌß¹ÝÓÃÒâÂð¹þ¹þ

Ô½À´Ô½ÀäÊǿ϶¨µÄ£¬ÍêÈ«ÌÔÌ­µ¹Ò²Ã»ÄÇôÈÝÒ×

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