I can i set size of integer variable should be fixed for
different operating systems(Ex i want integer size is
2bytes in OS)
Answers were Sorted based on User's Feedback
Answer / wizards
we can define with #ifdef's
Ex:
#ifdef OS==WINDOWS
int a:32;
#endif
#ifdef OS==UNIX
int a:64;
#endif
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vijay visana
one can define integer class
like
class Int {
byte data[2];
public:
//overload all basic operation of integer here
//like + - etc
};
Is This Answer Correct ? | 1 Yes | 3 No |
General purpose classes in MFC
1)why we cant create more than one instance of the class Derived from CWinApp
1)At run-time, you can change the icon by calling the LoadIcon() function?
If i derive a new class from CObject what are the basic features my derived wil get ?
how do u identify RTTI in vc++
What is serialization ?which function is responsible for serializing data ?
1)set the Title for The File DialogBox, in MFC?
What is the base class for MFC
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?
What are the differences between MFC Exception macros and C++ exception keywords?
1)how to Display the File Dialog Box, in MFC ?