📄 streams.stdio.html
字号:
<html><!-- #BeginTemplate "/Templates/tmpl.dwt" --><head><!-- #BeginEditable "doctitle" --> <title>PTypes: streams: Standard input, output and error devices</title><!-- #EndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="styles.css"></head><body bgcolor="#FFFFFF" leftmargin="40" marginwidth="40"><p><a href="../index.html"><img src="title-1.7.gif" width="213" height="34" alt="C++ Portable Types Library (PTypes) Version 1.7" border="0"></a> <hr noshade><!-- #BeginEditable "body" --> <p class="hpath"><a href="index.html">Top</a>: <a href="streams.html">Streams</a>: Standard input, output and error devices </p><blockquote> <pre class="lang">#include <pstreams.h>instm pin;outstm pout;outstm perr;outstm pnull;</pre></blockquote><p>PTypes declares four static stream objects for standard input, output, error and null devices - <span class="lang">pin</span>, <span class="lang">pout</span>, <span class="lang">perr</span> and <span class="lang">pnull </span>respectively. These objects can be used in place of the standard C or C++ input/output interfaces. <span class="lang">Pnull</span> is an output stream that discards any data written to it.</p><p class="seealso">See also: <a href="streams.iobase.html">iobase</a>, <a href="streams.instm.html">instm</a>, <a href="streams.outstm.html">outstm</a>, <a href="streams.examples.html">Examples</a></p><!-- #EndEditable --><hr size="1"><a href="../index.html" class="ns">PTypes home</a></body><!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -