Solved

MFC CString Implementation

Posted on 1999-01-22
2
640 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parsing XML instructions in Java/any other language.... 3 110
Template syntax for variable length arrays 9 75
Add values of each row in an array 3 56
Safe conversion? 4 67
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

785 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