When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)



When you deliver your C++ headers and C++ library of a class (what all can you change in the class s..

Answer / Vijay Prakash Singh Yadav

To ensure that users of your C++ class don't have to recompile their code, make sure your header files only contain function prototypes and class declarations. The class implementation (including any inline functions or constructors) should be in a separate .cpp file, which is compiled into the library. Users will link against this library, and changes to it won't require them to recompile their code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is the purpose of checked Menu options

1 Answers  


Which design patterns have you used?

1 Answers  


what is difference between oracle and pl/sql

1 Answers  


how does database connection using ADO.NET?

1 Answers  


SELECT A~FTRMI A~AUFNR B~MATNR D~MAKTX B~PSMNG B~WEMNG C~MTART E~CHARG C~MATKL C~SPART R~BWART R~CHARG R~MATNR E~BWART R~BDMNG INTO TABLE ITAB FROM AFKO AS A INNER JOIN AFPO AS B ON A~AUFNR = B~AUFNR * INNER JOIN AFVC AS A1 ON A~AUFPL = A1~AUFPL AND B~DWERK = A1~WERKS INNER JOIN MARA AS C ON B~MATNR = C~MATNR INNER JOIN MAKT AS D ON C~MATNR = D~MATNR INNER JOIN MSEG AS E ON B~MATNR = E~MATNR AND A~AUFNR = E~AUFNR AND B~DWERK = E~WERKS INNER JOIN RESB AS R ON A~AUFNR = R~AUFNR AND E~AUFNR = R~AUFNR AND R~RSNUM = A~RSNUM AND R~WERKS = E~WERKS AND R~BAUGR = E~MATNR INNER JOIN MARA AS C1 ON R~MATNR = C1~MATNR WHERE A~FTRMI IN S_DATE AND A~AUFNR IN S_AUFNR AND C~MTART IN S_TYPE AND C~MATKL = 'T' AND R~BWART ='261' AND E~BWART = '101' AND R~XWAOK ='X' AND B~DWERK = '2000' AND R~XLOEK EQ SPACE AND E~KZBEW ='F' AND D~SPRAS = 'E' AND R~KZEAR = 'X' AND C~MATNR IN S_MATNR. This query gives repetative records from RESB.There must be some common field which i am not taking thats why its giving repetative records. If u find any solution pls lety me know ASAP. Thanks Swati Ghadge

1 Answers  


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

1 Answers   TCS,


Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance

0 Answers  


1. Consider the following input and generate the object code using single pass assembler. JOHN START 0 USING *,15 L 1,FIVE A 1,FOUR ST 1,TEMP FOUR DC F’4’ FIVE DC F’5’ TEMP DS ‘F END

1 Answers   Wipro,


Which method protects back button to retrieve old value from previous page in Struts.

1 Answers  


public static void main(String args[]) describe it

1 Answers  


if there are n nodes in a binary tree, how many null pointers are there?

4 Answers   Hughes,


what is difference between scripts, smartforms and adobe forms

5 Answers  


Categories