C++ FAQ - Revision: 20-April-92 Author contact: Marshall...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Revision: 20-April-92 Author contact: Marshall Cline Paradigm Shift, Inc 65 N. Main St. / Norwood NY 13668-1121 voice:315/353-4585, fax:315/353-6110 email:[email protected] Copyright: Copyright (C), 1991,1992 Marshall P. Cline, Ph.D. Permission to copy all or part of this work is granted, provided that the copies are not made or distributed for resale (except nominal copying fee may be charged),and provided that the NO WARRANTY, author-contact, and copyright notice are retained verbatim & are displayed conspicuously. If anyone needs other permissions that aren't covered by the above, please contact the author. ============================================================================== SUBSECTION: Table of Contents ============================================================================== PART01 -- Introduction and table of contents Table of Contents Nomenclature and Common Abbreviations PART02 -- Environmental/managerial issues Q1: What is C++? What is OOP? Q2: What are some advantages of C++? Q3: Who uses C++? Q4: Does C++ run on machine `X' running operating system `Y'? Q5: What C++ compilers are available? Q6: Is there a translator that turns C++ code into C code? Q7: Are there any C++ standardization efforts underway? Q8: Where can I ftp a copy of the latest ANSI-C++ draft standard? Q9: Is C++ backward compatible with ANSI-C? Q10: What books are available for C++? Q11: How long does it take to learn C++? PART03 -- Basics of the paradigm Q12: What is a class? Q13: What is an object? Q14: What is a reference? Q15: What happens if you assign to a reference? Q16: How can you reseat a reference to make it refer to a different object? Q17: When should I use references, and when should I use pointers? Q18: What are inline fns? What are their advantages? How are they declared? PART04 -- Constructors and destructors Q19: What is a constructor? Why would I ever use one? Q20: What are destructors really for? Why would I ever use them? PART05 -- Operator overloading Q21: What is operator overloading? Q22: What operators can/cannot be overloaded? Q23: Can I create a `**' operator for `to-the-power-of' operations? PART06 -- Friends Q24: What is a `friend'? Q25: Do `friends' violate encapsulation? Q26: What are some advantages/disadvantages of using friends?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Q27: What does it mean that `friendship is neither inherited nor transitive'? Q28: When would I use a member function as opposed to a friend function? PART07 -- Input/output via and Q29: How can I provide printing for a `class X'? Q30: Why should I use instead of the traditional ? Q31: Printf/scanf weren't broken; why `fix' them with ugly shift operators? PART08 -- Freestore management Q32: Does `delete ptr' delete the ptr or the pointed-to-data?
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/08/2010 for the course IIM CAT taught by Professor Cat during the Spring '06 term at Indian Institute Of Management, Ahmedabad.

Page1 / 56

C++ FAQ - Revision: 20-April-92 Author contact: Marshall...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online