Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) strstream.h

 

strstream.h is a depreciated header file. Use sstream.h instead.

 

 

 

 

 

Example

 

Operating system: Ubuntu 10.04 LTS Lucid Lynx

IDE: Qt Creator 2.0.0

Project type: Qt4 Console Application

Compiler: G++ 4.4.1

Libraries used:

 

The example below #includes strstream.h:

 

#include <strstream>

int main() {}

 

 

The G++ compiler emits the following compile warning:

 

/usr/include/c++/4.4/backward/strstream:47: In file included from /usr/include/c++/4.4/backward/strstream:47,
/MyFolder/main.cpp:1: from ../CppStrstreamH/main.cpp:1:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict