⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filesup.h

📁 一个完整的编辑器的代码(很值得参考
💻 H
字号:
///////////////////////////////////////////////////////////////////////////
//  File:    filesup.h
//  Version: 1.1.0.4
//  Updated: 19-Jul-1998
//
//  Copyright:  Ferdinand Prantl
//  E-mail:     prantl@ff.cuni.cz
//
//  Some handy stuff to deal with files and their names
//
//  You are free to use or modify this code to the following restrictions:
//  - Acknowledge me somewhere in your about box, simple "Parts of code by.."
//  will be enough. If you can't (or don't want to), contact me personally.
//  - LEAVE THIS HEADER INTACT
////////////////////////////////////////////////////////////////////////////

#ifndef __FILESUP_H__INCLUDED__
#define __FILESUP_H__INCLUDED__

/////////////////////////////////////////////////////////////////////////////

bool EDITPADC_CLASS FileExist(LPCTSTR lpszPath);
int EDITPADC_CLASS GetExtPosition (LPCTSTR pszString);
CString EDITPADC_CLASS GetExt (CString sString);
CString EDITPADC_CLASS GetName (const CString & sString);
CString EDITPADC_CLASS GetNameExt (const CString & sString);
int EDITPADC_CLASS GetNamePosition (LPCTSTR pszString);
CString EDITPADC_CLASS GetPath (const CString & sString, BOOL bClose = FALSE);
CString EDITPADC_CLASS GetPathName (const CString & sString);

/////////////////////////////////////////////////////////////////////////////

#ifndef _DEBUG
#include "filesup.inl"
#endif // _DEBUG

/////////////////////////////////////////////////////////////////////////////

#endif // __FILESUP_H__INCLUDED__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -