Solved

MFC CString Implementation

Posted on 1999-01-22
2
635 Views
Last Modified: 2008-02-26
I have read a few magazine articles on how the MFC CString works.  I use it frequently and understand it well, but I was wondering if there is a way I can view the actual source code (.cpp file) to see some of the implementation details.

0
Comment
Question by:VEngineer
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 20 total points
ID: 1184897
The complete code for MFC is shipped with VC.  Look in the strex.cpp file.
0
 

Expert Comment

by:dweezil012499
ID: 1184898
If you have an old version of c++, the CString class definiton is in strcore1.cpp and strcore2.cpp.  The class declaration is in afx.h
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now