CµÄÎå¸ö´æ´¢Àà
´æ´¢Àà¾ÍÊÇÓÃÓÚ´æ´¢³ÌÐòÊý¾ÝµÄÄÚ´æµÄÀàÐÍ£¬ÓÉÈý¸öÊôÐÔÀ´±íʾ£º´æ´¢Ê±¼ä¡¢×÷ÓÃÓòºÍÁ´½Ó¡£
´æ´¢Ê±ÆÚÃèÊöµÄÊDZäÁ¿Õ¼ÓÃÄÚ´æµÄʱ¼ä£¬Óо²Ì¬µÄ¡¢×Ô¶¯µÄºÍ·ÖÅäµÄÈýÖÖ
×÷ÓÃÓòÊDZäÁ¿Æðµ½×÷Óõķ¶Î§£¬ÓдúÂë¿é×÷ÓÃÓòºÍÎļþ×÷ÓÃÓòÁ½ÖÖ
Á´½Ó˵Ã÷¸Ã±äÁ¿¿ÉÒÔ±»ÄÄЩµØ·½ÒýÓã¬ÓпÕÁ´½Ó¡¢ÄÚ²¿Á´½ÓºÍÍⲿÁ´½ÓÈýÖÖ
ÏÂÃæÊÇÎåÖÖ´æ´¢ÀàµÄÊôÐÔ£º
´æ´¢Àà ʱÆÚ ×÷ÓÃÓò Á´½Ó ÉùÃ÷·½Ê½
×Ô¶¯ ×Ô¶¯ ´úÂë¿é ¿Õ ´úÂë¿é»òº¯ÊýÄÚÓÃĬÈÏ·½Ê½ÉùÃ÷
¼Ä´æÆ÷ ×Ô¶¯ ´úÂë¿é ¿Õ ¹Ø¼ü×Öregister
¾²Ì¬¿ÕÁ´½Ó ¾²Ì¬ ´úÂë¿é ¿Õ ÔÚ´úÂë¿éÄÚÓÃstatic
¾²Ì¬ÍⲿÁ´½Ó &n
Ïà¹ØÎĵµ£º
Ô½½çÊÇ×îÄѲéµÄ£¬×¢Òâmemcpy strcpy,strncpyÕâЩº¯ÊýʹÓÃÇ°Ò»¶¨Òª¼ì²é±ß½ç
¡¡ÌرðÊÇÄãÌṩº¯Êý¸ø±ðÈËÓÃʱ£¬ÄãµÄº¯ÊýÖÐÓõ½ÁËÕâЩ¶«Î÷£¬Ò»¶¨Òª¼ì²é±ðÈË´«¸øÄãµÄÖ¸ÕëµÄ
¡¡±ß½ç
2¡¢±äÁ¿³õʼ»¯
¡¡ÕâÖÖÎÊÌâÒªÑø³ÉºÃÏ°¹ß£¬·ñÔò³öÀ´Å¼È»ÐÔÎÊÌ⣬·Ç³£ÄѲé
3¡¢¶àÏß³ÌÖ¸Õë¹ÜÀí
¡¡ÔÚ¶àÏ̻߳·¾³ÏÂʹÓÃÖ¸Õëʱ£¬×îºÃ²ÉÓÃÒýÓü ......
---------------------------------------------------
Ãû µÈ¼ÛÖµ º¬ Òå
BLACK 0 ºÚ
BLUE 1 ......
#include <iostream>
using namespace std;
class Base {
public:
virtual void fn(int x) {
cout << "In Base class, int x = " << x << endl;
}
};
class SubClass : public Base {
public:
// º¯ÊýµÄÖØÔØ,ÕâÑùµÄÖØÔØ·½Ê½,ÔÚJavaÖÐÄÜÐÐ,ÔÚC/C++ÖÐÈ´²»ÐÐ
virt ......
¸Ãmakefile Ö»ÊÇÔÚlinux ÖвâÊÔ¹ý£¬ Èô²ÉÓÃhu-ux Ö»ÒªÒÔÏÂmakefileÖеÄgcc ¸ÄΪaCC µ«
hu-ux δ²âÊÔ
1¡¢Ê×ÏÈÈ·¶¨pro*c ¹¤³ÌĿ¼½á¹¹
proc/bin
proc/include
proc/lib
proc/src
src/libsrc
src/project_src
&n ......
²âÊÔ´úÂëÒ»£¨VC6.0¡¢C-code£©£º
#include <stdio.h>
void main()
{
int aa;
unsigned char j1,j2;
aa=j1=j2=0;
aa=49;
j1=aa;
printf("j1=%d \n",j1);
j2=aa;
printf("j2=%c \n",j2);
}
¡¾·ÖÎö¡¿£º
[1]ÕýÈçËùÏëÏóµÄÊä³ö½á¹û£º
j1 ......