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

📄 iostream.h

📁 PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
💻 H
字号:
// $Id: iostream.H,v 1.1.1.1 2003/08/07 21:18:37 jasonk Exp $#ifndef _STREAMIO_HH_#define _STREAMIO_HH_// Miscellaneous functions for operating on IO streams in C++#include <iostream.h>#include <iomanip.h>inline void remove_white_space(istream& i) {  char c;  while ( i )     {       i.get(c);       if ( c != ' ' && c != '\t' && c != '\n' )          {            i.putback(c);            break;          }     }}inline void remove_spaces(istream& i){  char c;  while ( i )     {       i.get(c);       if ( c != ' ' )          {            i.putback(c);            break;          }     }}inline void remove_spaces_and_tabs(istream& i){  char c;  while ( i )     {       i.get(c);       if ( c != ' ' && c != '\t' )          {            i.putback(c);            break;          }     }}inline void read_till_eol(istream& i){  char c;  i.get(c);  while ( i && c != '\n' )     i.get(c);}#endif // #ifndef _STREAMIO_HH_

⌨️ 快捷键说明

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