Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



I can i set size of integer variable should be fixed for different operating systems(Ex i want int..

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

I can i set size of integer variable should be fixed for different operating systems(Ex i want int..

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

Post New Answer

More MFC Interview Questions

What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


What function is used to disable a control at runtime?

7 Answers  


How can we create thread in MFC framework?

3 Answers  


1)does Frame Thickness in MFC?

1 Answers   winfoware,


What is the base class for MFC Framework ?

4 Answers  


How to create a Modeless Dialog?

5 Answers  


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


Have you ever used win32 APIs ?

4 Answers   Microsoft,


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


what is the use of CWinApp class?

3 Answers   Mphasis,


List out the parameters of WinMain Function.

2 Answers   Mphasis,


Explain StretchBlt and BitBlt

1 Answers  


Categories