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 |
What is the difference between OnInitialUpdate and OnUpdate?
What is the difference between ASSERT and VERIFY?
how u can move CDC pointer to one line in cview?
What types of threads are supported by MFC framework?
What is subclassing?
How to handle dynamic menus in MFC?
What is the use of CObject::Dump function ?
how do u identify RTTI in vc++
List out the parameters of WinMain Function.
Which MFC function is used to display output?
What is the use of UpdateData funciton ?
how can u change button shape at run time