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

📄 tfile.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{File classes and functions overview}\label{wxfileoverview}Classes: \helpref{wxFile}{wxfile}, \helpref{wxDir}{wxdir}, \helpref{wxTempFile}{wxtempfile}, \helpref{wxTextFile}{wxtextfile}Functions: see \helpref{file functions}{filefunctions}.wxWidgets provides some functions and classes to facilitate working with files.As usual, the accent is put on cross-platform features which explains, forexample, the \helpref{wxTextFile}{wxtextfile} class which may be used to convertbetween different types of text files (DOS/Unix/Mac).wxFile may be used for low-level IO. It contains all the usual functions to workwith files (opening/closing, reading/writing, seeking, and so on) but compared withusing standard C functions, has error checking (in case of an error a messageis logged using \helpref{wxLog}{wxlog} facilities) and closes the fileautomatically in the destructor which may be quite convenient.wxTempFile is a very small file designed to make replacing the files contentssafer - see its \helpref{documentation}{wxtempfile} for more details.wxTextFile is a general purpose class for working with small text files on lineby line basis. It is especially well suited for working with configuration filesand program source files. It can be also used to work with files with "nonnative" line termination characters and write them as "native" files if needed(in fact, the files may be written in any format).wxDir is a helper class for enumerating the files or subdirectories of adirectory. It may be used to enumerate all files, only files satisfying thegiven template mask or only non-hidden files.

⌨️ 快捷键说明

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