Click here to Skip to main content
14,737,281 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FileName from File Handle Pin
ThatsAlok26-Jan-05 19:44
MemberThatsAlok26-Jan-05 19:44 
GeneralRe: FileName from File Handle Pin
22491726-Jan-05 19:06
Member22491726-Jan-05 19:06 
GeneralRe: FileName from File Handle Pin
Jijo.Raj27-Jan-05 19:43
MemberJijo.Raj27-Jan-05 19:43 
GeneralRe: FileName from File Handle Pin
22491727-Jan-05 20:20
Member22491727-Jan-05 20:20 
Questioncan a protectecd class be inherited by derived class Pin
phijophlip26-Jan-05 17:53
Memberphijophlip26-Jan-05 17:53 
AnswerRe: can a protectecd class be inherited by derived class Pin
Ryan Binns26-Jan-05 18:28
MemberRyan Binns26-Jan-05 18:28 
GeneralRe: can a protectecd class be inherited by derived class Pin
Aamir Butt26-Jan-05 19:44
MemberAamir Butt26-Jan-05 19:44 
AnswerRe: can a protectecd class be inherited by derived class Pin
toxcct26-Jan-05 23:02
Membertoxcct26-Jan-05 23: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 17:00
Memberbobi_zcl26-Jan-05 17:00 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
Ken Mazaika26-Jan-05 17:39
MemberKen Mazaika26-Jan-05 17:39 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 17:45
Memberbobi_zcl26-Jan-05 17:45 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
JKallen26-Jan-05 17:45
MemberJKallen26-Jan-05 17:45 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 20:52
Memberbobi_zcl26-Jan-05 20:52 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
22491726-Jan-05 19:15
Member22491726-Jan-05 19:15 
AnswerRe: Do you still develop by Visual C++ 6.0? Pin
rwestgraham26-Jan-05 21:26
Memberrwestgraham26-Jan-05 21:26 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
bobi_zcl26-Jan-05 22:11
Memberbobi_zcl26-Jan-05 22:11 
GeneralRe: Do you still develop by Visual C++ 6.0? Pin
rwestgraham26-Jan-05 23:37
Memberrwestgraham26-Jan-05 23:37 
GeneralPS: Pin
rwestgraham26-Jan-05 23:59
Memberrwestgraham26-Jan-05 23:59 
Generallittle OLE DB question Pin
lisoft26-Jan-05 16:47
Memberlisoft26-Jan-05 16:47 
GeneralCString Problem - Should Be Simple Pin
JKallen26-Jan-05 13:35
MemberJKallen26-Jan-05 13:35 
GeneralRe: CString Problem - Should Be Simple Pin
peter271326-Jan-05 14:01
Memberpeter271326-Jan-05 14:01 
GeneralRe: CString Problem - Should Be Simple Pin
JKallen26-Jan-05 14:04
MemberJKallen26-Jan-05 14:04 
GeneralRe: CString Problem - Should Be Simple Pin
Michael Dunn26-Jan-05 14:37
sitebuilderMichael Dunn26-Jan-05 14:37 
GeneralFriend Classes Pin
Ken Mazaika26-Jan-05 13:24
MemberKen Mazaika26-Jan-05 13:24 
GeneralRe: Friend Classes Pin
Christian Graus26-Jan-05 13:40
protectorChristian Graus26-Jan-05 13: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.