Click here to Skip to main content
12,693,601 members (30,294 online)
Click here to Skip to main content


151 bookmarked

Include File Hierarchy Viewer

, 29 Jul 2003 CPOL
A tool to view the include file hierarchy of your source code.
// Although great care has gone into developing this software,
// it is provided without any guarantee of reliability, accuracy
// of information, or correctness of operation.  I am not responsible
// for any damages that may occur as a result of using this software.
// Use this software entirely at your own risk.
// Copyright 2003, Chris Richardson
// Description: Some global helper stuff.

#if !defined( _INC_FINDER_GLOBAL_H_ )

#include <atlbase.h>

using namespace std;

typedef basic_string<TCHAR> CTCharString;
typedef vector<CTCharString> CStdStringArray;
typedef vector<long> CStdLongArray;

struct CTCharStringLess : public binary_function<CTCharString, CTCharString, bool>
    bool operator()(const CTCharString& x, const CTCharString& y) const
      return _tcscmp( x.c_str(), y.c_str() ) < 0;

void ParseSeparatedList( const TCHAR * p_pszList, TCHAR * p_pszSeps, CStdStringArray & p_roOutput );
void HandleComboBox( CComboBox * p_poCombo, CString & p_rsString );

CTCharString GetFullPath( const TCHAR * p_pszDirectory,
                          const TCHAR * p_pszRelative );
TCHAR * ExtractString( TCHAR * p_pszOut, TCHAR * p_pszStart, TCHAR p_cSep );
bool WildcardCompare( const TCHAR *string, const TCHAR *wild );

bool GetRegKey( const TCHAR * p_pszKey, CRegKey & p_roKey );

#endif // !defined( _INC_FINDER_GLOBAL_H_ )

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Chris Richardson
Software Developer (Senior)
United States United States
I like to program, I like to sail.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 30 Jul 2003
Article Copyright 2003 by Chris Richardson
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid