Çë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£¨£©ÉÏ
Ïà¹ØÎÊ´ð£º
13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔÀ´µÄÐòºÅ
½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈË°ï¸ÄÒ»ÏÂ
#include <stdio.h>
#include < ......
ΪʲôCдµÄDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷Óã¿
VBÀïΪʲôÓеÄDLLÖ±½Óͨ¹ýÒýÓÿÉÒÔʹÓã¿ÓеÄÐèҪͨ¹ýdeclareÉêÃ÷Íⲿº¯Êý£¿ÕâЩDLLÓÐʲô²î±ð£¿
1¡¢ÎªÊ²Ã´PBÄÜͨ¹ýDECLAREÉùÃ÷¶øVB²»ÐУ¿
2¡¢Èç¹ûÕâ¸ödllÖÐµÄ ......
ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ
²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿
ÔËÐÐÁË/ext_skel --extname=Ä ......
6ÔÂ5ÈÕÏûÏ¢£¬XXÍøÕ¾ÈÕÇ°ÆÀ³öÁË10Ïî´óÊÆÒÑÈ¥µÄ¼ÆËã»ú¼¼Êõ¡£ÆäÖУ¬ÓÐЩ¼¼ÊõÒѾ±»ÌÔÌ£¬ÓÐЩ¼´½«±»ÌÔÌ¡£ÈçÖøÃûµÄCobolÓïÑÔ£¬ÒÔ¼°IBMµÄOS/2ϵͳ¡£
¡¡¡¡ÒÔÏÂΪXXÍøÕ¾ÆÀ³öµÄ±»ÌÔ̵Ä10Ïî¼ÆËã»ú¼¼Êõ£º
¡¡¡¡ ......