Click here to Skip to main content
15,891,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FileName from File Handle Pin
ThatsAlok26-Jan-05 18:44
ThatsAlok26-Jan-05 18:44 
GeneralRe: FileName from File Handle Pin
22491726-Jan-05 18:06
22491726-Jan-05 18:06 
GeneralRe: FileName from File Handle Pin
Jijo.Raj27-Jan-05 18:43
Jijo.Raj27-Jan-05 18:43 
GeneralRe: FileName from File Handle Pin
22491727-Jan-05 19:20
22491727-Jan-05 19:20 
Questioncan a protectecd class be inherited by derived class Pin
phijophlip26-Jan-05 16:53
phijophlip26-Jan-05 16:53 
AnswerRe: can a protectecd class be inherited by derived class Pin
Ryan Binns26-Jan-05 17:28
Ryan Binns26-Jan-05 17:28 
GeneralRe: can a protectecd class be inherited by derived class Pin
Aamir Butt26-Jan-05 18:44
Aamir Butt26-Jan-05 18:44 
AnswerRe: can a protectecd class be inherited by derived class Pin
toxcct26-Jan-05 22:02
toxcct26-Jan-05 22:02 
phijophlip wrote:
Can a class be declared as protected ?

no, a class is a type which you can use to create objects.
in the opposite, a class can have its members (datas or functions) set as public, protected or private, but that delimits only the access to the members from outside of the class...


phijophlip wrote:
class X : protected Y { /*...*/ };

what is signifance of the above code ?


you are not declaring X as protected, you are declaring X, adding the precision that X is derivated ("protectedly") from Y, that means that only public and protected members of Y will be accessible from X...

ps : don't forget the smi-colon (';') after the declaration-closing bracket ('}') of the class...


TOXCCT >>> GEII power
[toxcct][VisualCalc]
QuestionDo you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 16:00
bobi_zcl26-Jan-05 16:00 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
Ken Mazaika26-Jan-05 16:39
Ken Mazaika26-Jan-05 16:39 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 16:45
bobi_zcl26-Jan-05 16:45 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
JKallen26-Jan-05 16:45
JKallen26-Jan-05 16:45 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 19:52
bobi_zcl26-Jan-05 19:52 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
22491726-Jan-05 18:15
22491726-Jan-05 18:15 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
rwestgraham26-Jan-05 20:26
rwestgraham26-Jan-05 20:26 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 21:11
bobi_zcl26-Jan-05 21:11 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
rwestgraham26-Jan-05 22:37
rwestgraham26-Jan-05 22:37 
GeneralPS: Pin
rwestgraham26-Jan-05 22:59
rwestgraham26-Jan-05 22:59 
Generallittle OLE DB question Pin
lisoft26-Jan-05 15:47
lisoft26-Jan-05 15:47 
GeneralCString Problem - Should Be Simple Pin
JKallen26-Jan-05 12:35
JKallen26-Jan-05 12:35 
GeneralRe: CString Problem - Should Be Simple Pin
peter271326-Jan-05 13:01
peter271326-Jan-05 13:01 
GeneralRe: CString Problem - Should Be Simple Pin
JKallen26-Jan-05 13:04
JKallen26-Jan-05 13:04 
GeneralRe: CString Problem - Should Be Simple Pin
Michael Dunn26-Jan-05 13:37
sitebuilderMichael Dunn26-Jan-05 13:37 
GeneralFriend Classes Pin
Ken Mazaika26-Jan-05 12:24
Ken Mazaika26-Jan-05 12:24 
GeneralRe: Friend Classes Pin
Christian Graus26-Jan-05 12:40
protectorChristian Graus26-Jan-05 12:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.