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 thread & process?
How to update windows title bar dynamically?
what is functioning of DIalodDataXchange ..?
What does mfc stand for?
what is the size of a process
What is primitive and non-primitive application?
What is the difference between Synchronous sockets and asynchronous sockets?
What is the difference between the SDI and MDI
What interface must be supported by an ActiveX control?
How you find memory leaks?
What is #progma and where it is used?
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?