在c++里没有sstream怎么办

来源:百度知道 编辑:UC知道 时间:2024/05/29 13:51:56
做一个编程练习的时候在编译器里没有sstream.h这个文件该怎么办谁给我一个源文件,小弟感激不尽

给你sstream.h源代码吧:

/* $Id: sstream.h,v 1.4 2003/02/11 11:48:13 aa5779 Exp $ */
/* sstream.h -- declarations for user-defined streams */
/*
Copyright (C) 2001, 2002 Artem V. Andreev (artem@AA5779.spb.edu)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Bost