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 are the advantages of using Doc/View or SDI over DialogBox
What is document-view architecture ? Give me one real time example for SDI ?
1)dynamic creation of a Button ?
What is LPCTSTR? What does LP denote it?
how does the UIThread and worker thread communicates and handle events
What?s the difference between Modal and Modeless Dialog?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first
What is CArchive class dowes?
What is the base class for MFC Framework ?
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.