PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and

源代码在线查看: iostream.h

软件大小: 7006 K
上传用户: sinoarts
关键词: applications environment footprint operating
下载地址: 免注册下载 普通下载 VIP

相关代码

				// $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 				#include 								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_											

相关资源