CͼÐκ¯Êý½âÎö
CÓïÑÔÖУ¬Í¼Ðκ¯Êý´óÖ¿ɷÖΪÁ½Àࣺ×Ö·ûģʽº¯ÊýºÍͼÐÎģʽº¯Êý¡£±¾½ÚÎÒÃÇÁ·Ï°Ê¹ÓÃ×Ö·ûģʽº¯Êý¡£
ʹÓÃ×Ö·ûģʽº¯ÊýÓ¦¸ÃÔÚ³ÌÐòÖÐÁªÈëconio.hÍ·²¿Îļþ¡£
ÏÂÃæÊÇһЩº¯ÊýµÄ×÷ÓÃ
1) void clreol(); ´Ó¹â±ê´¦É¾³ýµ½±¾ÐÐÄ©
2) void delline(); Çå³ý±¾ÐÐÄÚÈÝ£¬ÏÂÃæÄÚÈÝÉÏÌáÒ»ÐÐ
delline();º¯Êýʵ¼ÊÉÏ»¹Æðµ½ÁËÏòÉϾíÆÁµÄ×÷Óá£
3) void insline(); ÔÚ¹â±êËùÔÚÐвåÈëÒ»¿ÕÐУ¬ÔÀ´¸ÃÐм°ÒÔ
ϸ÷ÐнÔÏòÏÂÒÆÒ»ÐÐ
4) int wherex(); ·µ»Øµ±Ç°¹â±êµÄx(ÐÐ)×ø±ê
5) int wherey(); ·µ»Øµ±Ç°¹â±êµÄy(ÁÐ)×ø±ê
6) void highvideo(); ×Ö·ûÊä³öÓøßÁÁ¶È×Ö·û
7) void lowvideo(); ×Ö·ûÊä³öÓõÍÁÁ¶È×Ö·û
8) void normvideo(); ×Ö·ûÊä³öÓÃÆÕͨÁÁ¶È×Ö·û
ÔÚÒÔÉϵĸ÷º¯ÊýÖнԲ»´ø²ÎÊý£¬µ±È»Ò²¿ÉÒÔд³ÉÀ¨ºÅÖÐÓÐvoidµÄÐÎʽ£º
void wherex(void); »¹¿ÉÒÔд³É wherex();
ÇåÆÁ¡¢ÇåÐС¢ÏòºóɾÐС¢²åÐеIJÙ×÷ÕæÓÐЩCCED¡¢WPSµÈ±à¼Èí¼þµÄ·ç¸ñ£¬¾ÍÊÇÔÚÄãƽʱµÄÆÁÄ»Éè¼ÆÖÐÒ²ÓÃÉÙ²»ÁË¡£·µ»Ø×ø±êµÄº¯ÊýÔò¸øÄãµÄÉè¼ÆÌṩÿһ¸ö»·½ÚµÄ¹â±ê×ø±êÖµ¡£ÓÐÀû
Ïà¹ØÎĵµ£º
תÌû×Ôhttp://teren.itpub.net/post/15914/189516дµÄ·Ç³£ºÃ£¬Í¬Ê±¶Ô×÷Õß´òÆÆÉ°¹øÎʵ½µ×µÄ¾«Éñ³¹µ×ÕÛ·þ
¡¶³¹µ×¸ã¶¨CÖ¸Õë¡·µÚһƪ ±äÁ¿µÄÄÚ´æʵÖÊ
ÒªÀí½âCÖ¸Õ룬ÎÒÈÏΪһ¶¨ÒªÀí½âCÖГ±äÁ¿”µÄ´æ´¢ÊµÖÊ£¬ËùÒÔÎҾʹӓ±äÁ¿”Õâ¸ö¶«Î÷¿ªÊ¼½²Æð°É£¡
ÏÈÀ´Àí½âÀí½âÄÚ´æ¿Õ¼ä°É£¡Çë¿´ÏÂͼ£º
ÄÚ´æµØ ......
HTTP·ÖΪÇëÇóÐУ¬ÇëÇóÍ·²¿ÒÔ¼°ÇëÇóÄÚÈÝ
ÄǸö³¤¶ÈÊý×ÖÖµ¾ÍÊÇÇëÇóÄÚÈݵij¤¶È£¨×Ö½ÚΪµ¥Î»£©
¸øÒ»¶ÎÀý×ÓÄã¾Í»ù±¾Ã÷°×ÁË:
onst CString getString(int i)
{
CString s;
s.Format(_T("%d"), i);
return s;
}
////////////////////////////////
CS ......
ÔÚʹÓûص÷º¯ÊýÖУ¬ÍùÍù»áÉèÖÃÒ»¸öÖ¸Ïòº¯ÊýµÄÖ¸Õ룬ÄÇΪʲô²»Ö±½Ó½«º¯ÊýÃû×÷Ϊ²ÎÊý´«µÝÄØ£¿
ÔÒòÊÇ£ºÔÚCÓïÑÔÖк¯Êý±¾Éí²»ÊDZäÁ¿£¬µ«ÊÇ¿ÉÒÔ¶¨ÒåÖ¸Ïòº¯ÊýµÄÖ¸Õë¡£ÕâÖÖÀàÐ͵ÄÖ¸Õë¿ÉÒÔ±»¸³Öµ¡¢´æ·ÅÔÚÊý×éÖС¢´«µÝ¸øº¯ÊýÒÔ¼°×÷Ϊº¯ÊýµÄ·µ»ØÖµ£¬
ÏÂÃæÊÇÎÒÔÚÍøÉÏÕÒµ½µÄÒ»¸ö¹ØÓڻص÷º¯ÊýµÄСÀý×Ó£¨¶ÔÔÎĵÄÀý×ÓÓÐËùÐ޸ģ©
ÔÎÄÁ ......
[C/C++ Digestion] – Rule of Three,
¸´ÖÆ¿ØÖÆ
×÷Õߣº
Jason Lee @
http://blog.csdn.net/jasonblog
ÈÕÆÚ£º
2010-04-13
[1]
¸´Öƹ¹Ô캯Êý
copy constructor
Rule of Three
ÊÇÖ¸ÀàÈç¹ûÐèÒªÎö¹¹º¯Êý£¬Ôòͨ³£Ò²ÐèÒª¸´Öƹ¹Ô캯ÊýºÍ¸³Öµ²Ù×÷·û¡£¶øÆäʵϰ¹ßµØÏÔʾ±àдÕâÈýÕß±¾¾ÍÊÇÒ»¸öÁ¼ºÃµÄÏ°¹ß¡£Òò ......