Solved

MFC CString Implementation

Posted on 1999-01-22
2
658 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

729 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