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 serialization ?which function is responsible for serializing data ?
what if we provide two message handler for same message ?
Difference between Cclint DC & Cpaint Dc
Explain Doc/View architecture
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
1)How to change the size of a button at run time ?
Differ GetMessage, PostMessage & PeakMessage?
What four types of properties are supported by an ActiveX control?
1) Enable or disable a Cancel button at run time?
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
What function is called by a document class to notify views that the document has been changed?
what message is sent to an application when the user presses the primary button?