(C++) strstream.h
February 24, 2017 · View on GitHub
(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
Libraries used:
- STL: from GCC, shipped with Qt Creator 2.0.0
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.