Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use at for STL list Pin
El Corazon27-May-10 6:53
El Corazon27-May-10 6:53 
QuestionCEdit Pin
john563227-May-10 0:20
john563227-May-10 0:20 
AnswerRe: CEdit Pin
Aescleal27-May-10 0:29
Aescleal27-May-10 0:29 
GeneralRe: CEdit Pin
john563227-May-10 0:41
john563227-May-10 0:41 
GeneralRe: CEdit Pin
Iain Clarke, Warrior Programmer27-May-10 9:25
Iain Clarke, Warrior Programmer27-May-10 9:25 
Questionhi Pin
gmallax27-May-10 0:17
gmallax27-May-10 0:17 
AnswerRe: hi Pin
Code-o-mat27-May-10 0:22
Code-o-mat27-May-10 0:22 
AnswerForward Declaration Pin
Aescleal27-May-10 0:24
Aescleal27-May-10 0:24 
Hi back,

You can refer to a class that hasn't been defined (in simple terms not had it's .h included) but you can't do anything that requires the compiler to know the size or composition of the class. So, without the .h file you can...

- declare a reference to an object of the class
- declare a pointer to an object of the class
- assign pointer to objects of the class

You'd be pushed to say that this lot is "using" the class though. What you can't do...

- call member functions of the class
- do any sort of RTTI (run time type information)
- get the size of the class which in turn means you can't create objects of the class

Cheers,

Ash
QuestionEditing Visual Studio's MSI Setup for "Launch Now" option Pin
rahul.kulshreshtha26-May-10 23:48
rahul.kulshreshtha26-May-10 23:48 
QuestionC++ DLL question Pin
Keith Vitali26-May-10 22:41
Keith Vitali26-May-10 22:41 
AnswerRe: C++ DLL question Pin
hanq_3891013026-May-10 23:43
hanq_3891013026-May-10 23:43 
AnswerRe: C++ DLL question Pin
Aescleal27-May-10 0:01
Aescleal27-May-10 0:01 
Questionis it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 15:53
ForNow26-May-10 15:53 
AnswerRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
«_Superman_»26-May-10 17:42
professional«_Superman_»26-May-10 17:42 
GeneralRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 22:28
ForNow26-May-10 22:28 
AnswerRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
Stephen Hewitt26-May-10 17:44
Stephen Hewitt26-May-10 17:44 
GeneralRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 22:40
ForNow26-May-10 22:40 
QuestionNeed to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
glitteringsound26-May-10 7:58
glitteringsound26-May-10 7:58 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Maximilien26-May-10 8:11
Maximilien26-May-10 8:11 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Aescleal26-May-10 8:37
Aescleal26-May-10 8:37 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
CPallini26-May-10 9:22
mveCPallini26-May-10 9:22 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Hristo-Bojilov26-May-10 10:25
Hristo-Bojilov26-May-10 10:25 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Cedric Moonen26-May-10 20:09
Cedric Moonen26-May-10 20:09 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Marcelo Miacca3-Jun-10 15:01
Marcelo Miacca3-Jun-10 15:01 
Questiondatetimecontrol Pin
viliam26-May-10 3:46
viliam26-May-10 3:46 

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.