CC ++ C ++object-oriented FAQ

zhaozj2021-02-16  64

C / C C / Object-Oriented objects and class members function, global function and friend functions? Write a C class, for member functions, private variables take into account? About Const Reference Parameter is used in Const Reference Parameter Do not solve the concept, differences between the C deficiency and the pure virtual function, the difference between the differences in the analysis, please introduce the difference between Copy Constructor and Assignment! A String class implemented memory management problem Class is another kind of friend, whether the class of derived class for the base class is after the virtual inheritance of his friend diamond, when is the difference between the Copy Constructor? Object-based and Object-Oriented? Why is you directly accessing a private member of another object directly in a copy constructor? What is "the particle size of the object"? Differences between C and VC? (Take laughs) Why Base Class always uses the Virtual Destructor to represent a giant integer for the "default constructor" question about the friend function about the friend function. "Href =" http://community.9cbs.net/expert/faq/ FAQ_INDEX.ASP? ID = 104766 "Target = _BLANK> VC 6.0 uses about the problem with the friend function. Pointer to the pointer of the class member function Summary about the type of conversion operator, how to pass the class object Member function pointer? Static Memeber Variable's survival is how much about constructor derived classes can be reset ("overwritten") the non-virtual function of the base class? (Please discuss) the memory size of the class object occupied why VOID * Type pointer In this way, the metalltrometry changes can change the argument? Very good topic !!> and operator <

Why Operator >> and Operator << This is a non-member function

Memory distribution problem of class objects! ! ! Language features About CIN simple issues, what is the difference between char and unsigned char, and characters are also divided into symbols and no symbols? > '"href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=169986 "Target = _BLANK> About the bit operation in C" >> "Do you tell me the internal function What is the difference between the function declaration and the function definition? The parameters of the two-dimensional array are not to understand, help !! Structure and union What is the difference? About the variable declaration in Switch Declaration "Why suffix ratio * operator is preferred Level of P plus P plus P plus 1? "- * p , * p, * p and (* p) in the initialization of structural arrays? About macro definition with #, ## Is there a generic in your code What is the overloading of member functions, coverage and hidden ?? Copy constructor's question about the order of the statement, please expert! A member function is declared as const, what does it mean? Return the reference problem. SRAND () ?? Please teach the algorithm of the number of words? What is the principle of mandatory data types? What is the destructor of non-ordinary (Nontrivial)? What is a handle, what is the use? About Delete's error About using statement Unsing indicator problem (Can't be divided!) Concept of "Flow" Concept Enumeration Type Range Question About Const A small problem!> str) this loop! "href =" http://community.9cbs.net/expert / FAQ/faq_index.asp?id=121154 "Target = _BLANK> WHILE (CIN> STR) This loop! The algorithm of even Rubik's Cube shows what function of the current date and time of this unit, how to enter EOF? What is the difference between OverLoad and Override? About ITOA's third parameters may be a Memset problem, let's take a look at the program running, the memory allocation of the structure is discussed. . . C problem: "endl" and "/ n" have any difference? Please explain in detail! Is there a virtual function that calls its base class with a derived class? Why is the number of complement in memory? How to implement SWAP without intermediate variables? Question about Volatile? "Href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=61356 "TARGET = _BLANK> For questions about this-> pointer? NULL ? How to write a Reference to Member Function? Point to Member Function I know.

Pointer problem? TypedEf void (* enrolled_tic_func) (Void); What is the use of C inheritance: The meaning and role of Virtual public cparent. How to convert an integer of 1-99999 into a string of "00001", "00002" ,, "9999".

The references in C can not point to a NULL just learned C , ask: What is the difference between the stack memory and stack IF (0 == i) vs.if (i == 0)? Const question? Questions about the two-dimensional array and pointers Using Namespace std; the difference between the lines '/ n' and the return letter '/ r', please talk about the problem of operator overload. The new data type name generated by TypeDef also has a domain ? What is the way? Urgent question: What function can I get a floating point number? ? ABORT () Differences with Exit ()? For small questions about the Inline function, explain the difference between four XXX_cast, thank you. When the array pointer is differentiated by the pointer array, the problem INT * P = New int * p = new int = INT [24] and int * p = new int = 24) How to distinguish how to use macro connection characters to implement one-dimensional array to the conversion of two-dimensional array? INT ABC (int AA, int bb, ...) How to use "..." in the function? About the problem function return value generated during constant forced type conversion When it is assigning the value of C * and & & for use in the C program, the function is compiled by the C program, why do you want to add Extern "C" statement? What is the use of TypeDef in C language? Why use const? What is the NEW & DELETE * of the bit operation of self-reduced C. NEW & DELETE *? "href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=166 "Target = _blank>. * and -> * Under DOS, how to make the pointer points to a specified Address, for example, in the B800: 0000 C language, what is the benefits of using typedef when defining structures? Is the random number not random? After learning C, how do you think it? What should I learn? The format string in Printf can be used? Variables Replace? About the function of function calls in the cycle conditions About the reference value three (talking about software engineering and coding specifications) About the problem of NRV optimization, the meaning of the initialization block in the allocated memory block, please Master: About the underlying implementation of Delete requires a positive integer, but enters a string, how to determine the error? CHAR ** Argv in the main function is all assigned? How to get it? How to remove I / O The flow of the stream is the difference between stack and heap. Everyone is paying attention to, the master is helpful! Please advise: How to prevent a class from being inherited by other classes, similar to the final modifier in Java about how to pass how CONST What is the content of Malloc and assign a value? About the difference between const and #define? How to convert numerical variables into a character variable in C (urgent, online, etc. !!) C / C C compile Link How do I call DLL files in C?

Who can tell me, Turboc2, how to configure TCC? Where can I see the test results in VC6? Online, etc., "Unresolved External Symbol _winmain ..." who can tell me if there is a C compilation environment under DOS DEBUG, Release has something different of the EXTERN "C" model professional application two-date reduction should be reduced? How to determine if the two rectangles intersect? How to edit the registry with VC ? ? ? ? ? Handal alignment problem. Linux server and Windows server sharing files about "random number". How to encrypt a file with a C language? ? ? How to solve large groups? Initialization of the display mode of the TC graphics About the B / S, C / S structure Character problem How good C related tools do you decide to start or stop running the running program through a command parameter? How to enter RING0 with C language? ? How to display Chinese characters in the size of the space of the free function released in C? Ask the CRC16 of the CRC16 (polynomial: x16 x12 x5 1), thank you. About reading and writing disk functions! I want to make a program that can insert record and delete records. How do I open a file and delete one of the records? BCB5 When using ADO access data to return a null value, the reason for the use of the INI file in the VC how to call another application in a program? Dear Ago, about 24 point algorithms: give four numbers (3, 3, 8, 8 or other), how to program 24 this figure? Why call CoCreateInstanceEx error? How does REGISTERBGIFONT issues a link to the EXE? How to digital Chinese characters English mixed text? How to receive and send data through the serial port under TC? SOCKET Binding Question 8 Queen's Source Code, please come! How to crack your dog? How to get a statement to perform the time spent? To accurate to millisecond. How can I open a small part of the one in a file to modify the one. 100 points are given you! ! Who can help me! Display the Chinese character article as: a.txt! The CRC can encode data segments, such as strings. If you check the code with a K-meter, what is good? How to use interruption to view the data file operation problem in the serial port to get the current time in C.? Urgent ... How can I make the program in memory? Urgent ... ........ How to implement 256 color display in C language? Compilation principle - lexical analysis program (Tsinghua version compilation principle words analysis flow chart) C / C standard library / other C library C boost Library explanation: Where is the installation of the Boost library to download Boost :: About C / C C / Object-Oriented Template Template Template member of the class template is specifically chased. VC6 is another bug: When "Template Parameters" does not appear in the "Genument List" in the function, the function signature cannot distinguish between different instances. What is the meaning of partial specialization in STL? How to use STL to write an abnormal code, urgent.

Resolve the problem of Tima giving a beginner STL, high-grade and seeking education! A question about overloading on traversing print MAP content How to initialize static variables in a Template class? When will I use "Typename"? ("STL Chinese version" inside a question) How to use the nested template class in the template parameter as the default template parameter? Wild design theory, ask the use of COPY () VALUE_TYPE generic? Dynamic script when compiling? Why say "If you change the unsigned char to unsigned Short, we cannot assign a block smaller than sizeof (unsigned short"? "href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=177269 "Target = _BLANK> in Chapter 4" Small Object Assignment Technology> Why if I say "if I Use the Unsigned Char ... C / C Standard Library / Other C Promark Templates Using Type_Traits to Use Templates and Offshore Transformations for Digital Types of Types ( [Template Mode] < 1>】 CRTP and Mixin Template Library Use (STL, Boost, Loki, WTL, etc.) Std :: Map to the template parameter key requirements Why STL's function does not reject illegal parameters (such as coll.ed (cooo.end) )))))? Ask the difference between Array and Vector! About open files? Where is the master help, high score? "Href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=172624 "Target = _BLANK> How to use Non-specialized VECTOR < BOOL>? C / C C / Object-Oriented C Object-Oriented Technology Shallow Copy and Deep Copy: What is the difference? When is using; relationship with the constructor? Abnormally processed abnormalities in the problem of constant reference and compiler processing method Consider, please have an experienced seniors talk about C high people invasively, relevant UNION problems struct a {a () {}}; union b}}; this is ... C language basic one example. , The unsafeness of C pointers QEW, DELETE, MALLOC, FREE Differences ?? What is the meaning of new and external delete and cross-DLL delivery objects? Does anyone know how to do this? ( Algorithm problem) C / C C standard library standard library function return value problem MEMOVE () Wherex () Wherey () role? C / C Standard Library / Other C Library C Standard Library Functions Questions, how to determine Number of parameters? How do I get the running time of the program? How to generate 20 random numbers between 1 to 200 on 1 to 200 About the NamePSpace SCANF function You can get a carriage return?

About Sort of SORT FSTREAM How to read the entire text file in a String? Questions about Function Object Binding (BIND)? How to safely put the polymorphic pointer into the STL container? How to apply for a multi-dimensional array with a Vector to slow down with C than C? Ask, about the problem and difference of the array input "href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=199 "Target = _blank> header file and

The string automatically makes it easy to make up ... When accessing the MAP container with iterators, how to prevent the iterative failure? CIN read in the problem standard C or C, there is no TRIM Function function? Range simple question about ENUM: SizeOf (CHAR type) is an array size, not 4, why? How to understand the operation of the VPTR value of the VPTR value * (void **) & a; how to switch the string how dynamically construct a two-dimensional array? The moderator, almost every day, asked the number of random numbers, I wrote a common class. If you have any questions, help it! How do C / C capture keyboard messages? Is there a string type in the number of days during two free days? Beginners about volatile! STDIO and Iostream are the difference - How do I use the current date of using a CER? ? Thank you and #include

Are two statements? "href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=169251 "Target = _BLANK> #include and #include two statements?

Restart the system of the system under TC2.0! How to search all directories and files in a home directory in a C language? About Char * and String Efficiency Compare Some Doubts on the Magic Algorithm --------- Please advise the library function in the ad hoc C language? Votile wants to convert characters to how to transformation ?? How to clean the screen in C , turn the screen again into empty. What is the use of "Using Namespace std;" about the problem with const? How to find a specific value in a custom structure sequence with a FIND_IF algorithm? I often see this BIND2nd this thing, what does it mean? Why is there so many Warning in the VC, how to implement String is not case sensitive? "href =" http://community.9cbs.net/expert/faq/faq_index.asp?id=191154 "Target = _BLANK> In a vector , how to achieve String is not case sensitive? Please Call, standard C problem, what is standard C , standard C What compiler, how to use MAP and MULTIMAP under UNIX can be stored in the order in which I entered, don't sort? About AUTO_PTR_REF how to In declaring a MAP initialization at the same time, why do you use Namespace? Istream_iterator? Internal Type and pointer's default initialization of the FSTREAM to end the problem with FeOF judgment files. How to derive in type derivation One class is another subclass of another class?