Solved

MFC CString Implementation

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 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.

828 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