锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国内精品久久久久久中文字幕,香蕉久久永久视频,久久99精品国产99久久6http://www.shnenglu.com/flyingxu/category/1323.htmlto get ready...zh-cnSun, 25 May 2008 19:10:21 GMTSun, 25 May 2008 19:10:21 GMT60Make header files self-sufficient鐨勪竴涓緥瀛?/title>http://www.shnenglu.com/flyingxu/archive/2006/06/23/8908.htmlflyingxuflyingxuFri, 23 Jun 2006 12:56:00 GMThttp://www.shnenglu.com/flyingxu/archive/2006/06/23/8908.htmlhttp://www.shnenglu.com/flyingxu/comments/8908.htmlhttp://www.shnenglu.com/flyingxu/archive/2006/06/23/8908.html#Feedback5http://www.shnenglu.com/flyingxu/comments/commentRss/8908.htmlhttp://www.shnenglu.com/flyingxu/services/trackbacks/8908.htmlIf one header file won't work unless the file that includes it also includes another header, that's gauche and puts unnecessary burden on that header file's users. 鍛靛懙錛岃嫳璇湁鐐規嫍鍙o紝鍚庨潰涓劇殑渚嬪瓙涔熼兘鏄ā鏉跨殑渚嬪瓙銆傛垜鍊掓槸閬囧埌榪囦竴涓疄闄呯殑渚嬪瓙錛岀畝鍖栧悗濡備笅錛?br />
]]>Is Hungarian notation obsolete?http://www.shnenglu.com/flyingxu/archive/2006/04/05/5043.htmlflyingxuflyingxuWed, 05 Apr 2006 11:45:00 GMThttp://www.shnenglu.com/flyingxu/archive/2006/04/05/5043.htmlhttp://www.shnenglu.com/flyingxu/comments/5043.htmlhttp://www.shnenglu.com/flyingxu/archive/2006/04/05/5043.html#Feedback5http://www.shnenglu.com/flyingxu/comments/commentRss/5043.htmlhttp://www.shnenglu.com/flyingxu/services/trackbacks/5043.html涔︿笂璇村寛鐗欏埄鍛藉悕娉曞凡緇忚繃鏃朵簡錛屾垜涓嶈繖鏍瘋涓恒?br /> 鏈変漢璁や負鐜板湪緙栬瘧鍣ㄥ凡緇忓彲浠ュ緢濂界殑媯嫻嬪嚭綾誨瀷鐨勪笉鍖歸厤錛屾垨鑰匢DE涓彲浠ュ緢蹇殑鐪嬪埌綾誨瀷錛屾墍浠ュ湪c涓彲鑳介渶瑕侊紝鍦–錛嬶紜錛堝己綾誨瀷璇█錛変腑灝變笉闇瑕佷簡銆?br />C++ made it harder to do that without wicked casting and the compiler catches most of those kind of errors.聽 So, I agree with the previous poster that it's now redundant. Also, modern IDEs allow you to hover the cursor over a variable and show you the variable's definition.
涓嶈繃鎴戣寰椾唬鐮佷笉鏄啓緇欑紪璇戝櫒鐪嬬殑錛岃屾槸鍐欑粰浜虹湅鐨勶紝榪欓噷灝辨湁self-documenting鍜宺eadability鐨勯棶棰樸?br />寰堟槑鏄撅紝濡傛灉浣犵湅鍒皀Index 鎴栬卻trFile鎴栬厀ndNext錛屽氨鍙互寰堝揩鐭ラ亾鍒嗗埆鏄痠nt CString CWnd綾誨瀷錛岃屼笉鐢ㄥ洖澶村幓鐪嬪彉閲忓畾涔夛紝榪欐牱錛岀湅浠g爜鏃跺氨浼氬緢蹇?br />鑰屼笖錛屽浜嶮FC紼嬪簭鍛樻潵璇達紝鏇撮噸瑕佷竴浜涳紝鍥犱負MFC閲岄潰鐨勫彉閲忛兘鏄敤鍖堢墮鍒╁懡鍚嶆硶鐨勩?br />If you're programming C++/MFC you're better sticking to hungarian for consistency with the class library & Win32 API declarations. 寰蔣鐨勭害瀹?/a>錛屽氨鏄爣鍑嗕簡