急: 岩岩學C++,有basic問題想問,求解

Constructs 簡單D講係唔係就係initialize data member?
另外class係唔係就係oo入面既object?

concept未清...求各位C兄解釋

本帖最後由 lampuiho 於 2013-5-14 18:27 編輯

回復 1# Jimmy0911


    Class 個constructor 係用黎建立le 個class 既object

你當class 係草圖,object 係坐樓就得

坐樓會起係一個叫Memory 既地方

TOP

I think you'd better to read an introduction book from Chapter 1 to the end. There is no fast-track on C++. Don't depend on this forum, you need to study harder.

TOP

回復 23# bluenemo

    Thanks bluenemo! The explanations in the website is really clear and easy to understand. It's a good starting point for me.

To Jimm0911:
唔好意思啊,我功力太淺,解釋唔到比你聽,但我建議你去睇下 "Head First C#" or  "Head First Java",
入面有好多生動例子,相信可以幫你到。

To Jackass_TMxCK:
多謝師兄你介紹GOF本書比我,我之前都有搵過黎睇下,但覺得太深就未有好好咁睇落去。
希望終有一日會睇得明啦......

TOP

回復 18# Sora


    想問下polymorphism ge binding 又係咩黎,好亂

TOP

TOP

回復  Sora


    尼D叫Design Pattern?
inheritance 個D都係?
Jimmy0911 發表於 2013-5-8 23:03

唔太算係...
DP主要係講個廿個(我記唔唒...唔記得數目...)(反正真係要用個陣通常就會有返印象去搵返)OO class Modal
inheritance只係適用於某幾種Modal既其中一種Construct形式

TOP

回復  Sora


    尼D叫Design Pattern?
inheritance 個D都係?
Jimmy0911 發表於 8/5/2013 11:03 PM



    inheritance 唔係DP

TOP

回復 18# Sora


    尼D叫Design Pattern?
inheritance 個D都係?

TOP

出現啦!!高手出現啦!!
簡潔而有力地介紹左咩係object!
bluenemo師兄,請問有無學design pattern 書好介 ...
Sora 發表於 8/5/2013 08:11 PM


呢本:http://en.wikipedia.org/wiki/Design_Patterns_(book)

學Design Pattern為何唔睇四人幫呢本?

TOP