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

1)dynamic creation of a Button ?

2 Answers   TCS,


what are the feauters of CObject

4 Answers   Siemens, Wipro,


Tell us something about MFC?

7 Answers   Microsoft,


Hi can anyone explain about the synchronization objects types and where we are using in the code.

1 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first

10 Answers   Siemens, Symphony,


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  


What is Multithreading

1 Answers   Invensys,


what is the use of CCmdTarget?

4 Answers   Siemens,


What is the range of intensity of RGB

1 Answers  


1)set the Title for The File DialogBox, in MFC?

1 Answers  


Categories