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

½â¾ö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 Ò»´ÎÏÔʾһ¸ö½á¹ûÆÁÄ»¡£


Ïà¹ØÎĵµ£º

PRO*C±à³ÌÖгöÏֵĴíÎó


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:~ ......

C/C++ÖÐÖظ´¶¨ÒåµÄÎÊÌâ


ÓÃ#include¿ÉÒÔ°üº¬ÆäËûÍ·ÎļþÖбäÁ¿¡¢º¯ÊýµÄÉùÃ÷£¬ÎªÊ²Ã´»¹Òªextern¹Ø¼ü×Ö,Èç¹ûÎÒÏëÒýÓÃÒ»¸öÈ«¾Ö±äÁ¿»ò
º¯Êýa£¬ÎÒÖ»ÒªÖ±½ÓÔÚÔ´ÎļþÖаüº¬#include<xxx.h>
(xxx.h°üº¬ÁËaµÄÉùÃ÷)²»¾Í¿ÉÒÔÁËô£¬ÎªÊ²Ã´»¹ÒªÓÃexternÄØ£¿£¿Õâ¸öÎÊÌâÒ»Ö±Ò²ÊÇËÆÊǶø·ÇµÄÀ§ÈÅ×ÅÎÒÐí¶àÄêÁË£¬½ñÌìÉÏÍøºÝºÝ²éÁËÒ»ÏÂ×ÜËãСÓÐ
Ëù»ñÁË£º
Í· ......

c/c++ ÄÚ´æ¶ÔÆë sizeof

   һƪ½²¶ÔÆë±È½ÏºÃµÄÎÄÕ£¬×ªÌùÈçÏÂ:
´óÖ±ê×¢Ò»¶þ:
1.ÄÚ´æ¶ÔÆë:¼ÆËã»úϵͳ¶Ô»ù±¾ÀàÐÍÊý¾ÝÔÚÄÚ´æÖдæ·ÅµÄλÖÃÓÐÏÞÖÆ£¬ËüÃÇ»áÒªÇóÕâЩÊý¾ÝµÄÊ×µØÖ·µÄÖµÊÇij¸öÊýk(ͨ³£ËüΪ4»ò8)µÄ±¶ÊýkÔò±»³ÆΪ¸ÃÊý¾ÝÀàÐ͵ĶÔÆëÄ£Êý(alignment modulus)
2.²»Í¬±àÒëÆ÷ĬÈϵÄ×î´ó¶ÔÆë×Ö½ÚÊýÊDz»Ò»ÑùµÄ,±ÈÈçvc==8,gcc==4,¿ÉÒÔͨ¹ ......

c/C++±àÒëµÄ³ÌÐòÕ¼ÓõÄÄÚ´æÇé¿ö ÎÄ×Ö³£Á¿Çø

Ê×ÏÈ¿´ÏÂÏÂÃæÕâ¶Î£º
int main()
{
char *name = "fengkewei";
char name1[] = "fengkewei";
char *name2 = "fengkewei";
char *name3 = "woaifengkewei";
int i = 10;
int j = 10;
int k = 11;
return 0;
}
ÈôÄú¾õµÃËüÃÇÓ¦¸Ã¶¼±£´æÔÚÄÚ´æÖеÄÒ»¿éµØ·½£¬ÄÇÇëÍùÏ¿´¡£¡£¡£¡£
ÏÂÃæÊDZàÒëÆ÷Ϊ¸÷¸ö±äÁ¿·ÖÅäµÄÄÚ´æµØ ......

linuxÏÂÃüÁîÐÐϱàÒëc³ÌÐò

£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
LinuxmineÊÕ¼¯ÕûÀí¡¡ ×÷Õߣºlinux±¦¿â (http://www.linuxmine.com)¡¡ ʱ¼ä£º2006-10-11
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
C ÊÇËùÓа汾µÄUNIXÉϵÄϵͳÓïÑÔ.
C ÔÚ¹ýÈ¥ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ