½â¾öCºÍC++ÖÐÉú³ÉµÄEXEÎļþÖ´Ðк󴰿ھÍÏûʧÁË£¡
Óô˷¨Ç°È·±£ÄãµÄCÔ´´úÂëÊÇÎÞ´íµÄ~~
½â¾ö°ì·¨£º
C:
ÔÚÖ÷º¯Êýºó¼Ógetch()»òch=getch(); (ÈóÌÐòµÈ´ýÄã°´ÏÂÈÎÒâ¼ü£¬ÔÙ¼ÌÐøÖ´ÐÐÏÂÃæµÄÓï¾ä)
C++:
1.°üº¬Í·Îļþʱ£º #include <stdlib.h>/*header file£¬ÒòΪÔÚstdlib.hÍ·ÎļþÖж¨ÒåÁËsystem()º¯Êý*/
2.ÔÚ×îºóÒ»¾ä¼ÓÉÏ£ºsystem("PAUSE");//systemº¯Êý£¬PauseÊôÓÚDOSÃüÁî
ʵ¼ÊÉÏsystemº¯ÊýÊÇ¿ÉÒÔµ÷ÓÃһЩDOSÃüÁî
ÒÔÏÂΪDOSÃüÁ
ASSOC ÏÔʾ»òÐÞ¸ÄÎļþÀ©Õ¹Ãû¹ØÁª¡£
AT ¼Æ»®ÔÚ¼ÆËã»úÉÏÔËÐеÄÃüÁîºÍ³ÌÐò¡£
ATTRIB ÏÔʾ»ò¸ü¸ÄÎļþÊôÐÔ¡£
BREAK ÉèÖûòÇå³ýÀ©Õ¹Ê½ CTRL+C ¼ì²é¡£
CACLS ÏÔʾ»òÐÞ¸ÄÎļþµÄ·ÃÎÊ¿ØÖÆÁбí(ACLs)¡£
CALL ´ÓÁíÒ»¸öÅú´¦Àí³ÌÐòµ÷ÓÃÕâÒ»¸ö¡£
CD ÏÔʾµ±Ç°Ä¿Â¼µÄÃû³Æ»ò½«Æä¸ü¸Ä¡£
CHCP ÏÔʾ»òÉèÖû´úÂëÒ³Êý¡£
CHDIR ÏÔʾµ±Ç°Ä¿Â¼µÄÃû³Æ»ò½«Æä¸ü¸Ä¡£
CHKDSK ¼ì²é´ÅÅ̲¢ÏÔʾ״̬±¨¸æ¡£
CHKNTFS ÏÔʾ»òÐÞ¸ÄÆô¶¯Ê±¼ä´ÅÅ̼ì²é¡£
CLS Çå³ýÆÁÄ»¡£
CMD ´ò¿ªÁíÒ»¸ö Windows ÃüÁî½âÊͳÌÐò´°¿Ú¡£
COLOR ÉèÖÃĬÈÏ¿ØÖÆ̨ǰ¾°ºÍ±³¾°ÑÕÉ«¡£
COMP ±È½ÏÁ½¸ö»òÁ½Ì×ÎļþµÄÄÚÈÝ¡£
COMPACT ÏÔʾ»ò¸ü¸Ä NTFS ·ÖÇøÉÏÎļþµÄѹËõ¡£
CONVERT ½« FAT ¾íת»»³É NTFS¡£Äú²»ÄÜת»»
µ±Ç°Çý¶¯Æ÷¡£
COPY ½«ÖÁÉÙÒ»¸öÎļþ¸´ÖƵ½ÁíÒ»¸öλÖá£
DATE ÏÔʾ»òÉèÖÃÈÕÆÚ¡£
DEL ɾ³ýÖÁÉÙÒ»¸öÎļþ¡£
DIR ÏÔʾһ¸öĿ¼ÖеÄÎļþºÍ×ÓĿ¼¡£
DISKCOMP ±È½ÏÁ½¸öÈíÅ̵ÄÄÚÈÝ¡£
DISKCOPY ½«Ò»¸öÈíÅ̵ÄÄÚÈݸ´ÖƵ½ÁíÒ»¸öÈíÅÌ¡£
DOSKEY ±à¼ÃüÁîÐС¢µ÷Óà Windows ÃüÁî²¢´´½¨ºê¡£
ECHO ÏÔʾÏûÏ¢£¬»ò½«ÃüÁî»ØÏÔ´ò¿ª»ò¹ØÉÏ¡£
ENDLOCAL ½áÊøÅúÎļþÖл·¾³¸ü¸ÄµÄ±¾µØ»¯¡£
ERASE ɾ³ýÖÁÉÙÒ»¸öÎļþ¡£
EXIT Í˳ö CMD.EXE ³ÌÐò(ÃüÁî½âÊͳÌÐò)¡£
FC ±È½ÏÁ½¸ö»òÁ½Ì×Îļþ£¬²¢ÏÔʾ
²»Í¬´¦¡£
FIND ÔÚÎļþÖÐËÑË÷ÎÄ×Ö×Ö·û´®¡£
FINDSTR ÔÚÎļþÖÐËÑË÷×Ö·û´®¡£
FOR ΪһÌ×ÎļþÖеÄÿ¸öÎļþÔËÐÐÒ»¸öÖ¸¶¨µÄÃüÁî
FORMAT ¸ñʽ»¯´ÅÅÌ£¬ÒÔ±ã¸ú Windows ʹÓá£
FTYPE ÏÔʾ»òÐÞ¸ÄÓÃÓÚÎļþÀ©Õ¹Ãû¹ØÁªµÄÎļþÀàÐÍ¡£
GOTO ½« Windows ÃüÁî½âÊͳÌÐòÖ¸ÏòÅú´¦Àí³ÌÐò
ÖÐij¸ö±êÃ÷µÄÐС£
GRAFTABL ÆôÓà Windows À´ÒÔͼÏñģʽÏÔʾ
À©Õ¹×Ö·û¼¯¡£
HELP Ìṩ Windows ÃüÁîµÄ°ïÖúÐÅÏ¢¡£
IF Ö´ÐÐÅú´¦Àí³ÌÐòÖеÄÌõ¼þÐÔ´¦Àí¡£
LABEL ´´½¨¡¢¸ü¸Ä»òɾ³ý´ÅÅ̵ľí±ê¡£
MD ´´½¨Ä¿Â¼¡£
MKDIR ´´½¨Ä¿Â¼¡£
MODE ÅäÖÃϵͳÉ豸¡£
MORE Ò»´ÎÏÔʾһ¸ö½á¹ûÆÁÄ»¡£
Ïà¹ØÎĵµ£º
1. linuxÏÂÆô¶¯oracle
su - oracle
sqlplus /nolog
conn /as sysdba
startup
exit
lsnrctl start
exit
2. linuxϹرÕoracle
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
lsnrctl stop
exit
3¡¢Æô¶¯¼àÌýÆ÷
oracle@suse92:~> lsnrctl start
4¡¢Í£Ö¹¼àÌýÆ÷
oracle@suse92:~ ......
ÓÃ#include¿ÉÒÔ°üº¬ÆäËûÍ·ÎļþÖбäÁ¿¡¢º¯ÊýµÄÉùÃ÷£¬ÎªÊ²Ã´»¹Òªextern¹Ø¼ü×Ö,Èç¹ûÎÒÏëÒýÓÃÒ»¸öÈ«¾Ö±äÁ¿»ò
º¯Êýa£¬ÎÒÖ»ÒªÖ±½ÓÔÚÔ´ÎļþÖаüº¬#include<xxx.h>
(xxx.h°üº¬ÁËaµÄÉùÃ÷)²»¾Í¿ÉÒÔÁËô£¬ÎªÊ²Ã´»¹ÒªÓÃexternÄØ£¿£¿Õâ¸öÎÊÌâÒ»Ö±Ò²ÊÇËÆÊǶø·ÇµÄÀ§ÈÅ×ÅÎÒÐí¶àÄêÁË£¬½ñÌìÉÏÍøºÝºÝ²éÁËÒ»ÏÂ×ÜËãСÓÐ
Ëù»ñÁË£º
Í· ......
Eclipse³ýÁË¿ÉÒÔ開發JavaÖ®Í⣬還Ö§Ô®ÁË許¶à語ÑÔ£¬現ÔÚÏȽé紹
C¡¢C++µÄ開發環¾³設¶¨£¬ÒÔááÓÐ機會ÔÙ½é紹ÆäËüµÄ¡£Enjoy it£¡
OS£ºWindows XP Professional SP1
ʹÓð汾£ºEclipse 2.1.2
Ò».Ê×ÏÈÒªÏÂ載CDT£¬Eclipse 2.1.2 ......
һƪ½²¶ÔÆë±È½ÏºÃµÄÎÄÕ£¬×ªÌùÈçÏÂ:
´óÖ±ê×¢Ò»¶þ:
1.ÄÚ´æ¶ÔÆë:¼ÆËã»úϵͳ¶Ô»ù±¾ÀàÐÍÊý¾ÝÔÚÄÚ´æÖдæ·ÅµÄλÖÃÓÐÏÞÖÆ£¬ËüÃÇ»áÒªÇóÕâЩÊý¾ÝµÄÊ×µØÖ·µÄÖµÊÇij¸öÊýk(ͨ³£ËüΪ4»ò8)µÄ±¶ÊýkÔò±»³ÆΪ¸ÃÊý¾ÝÀàÐ͵ĶÔÆëÄ£Êý(alignment modulus)
2.²»Í¬±àÒëÆ÷ĬÈϵÄ×î´ó¶ÔÆë×Ö½ÚÊýÊDz»Ò»ÑùµÄ,±ÈÈçvc==8,gcc==4,¿ÉÒÔͨ¹ ......