I'll vote for <iostream> over <iostream.h>. Why? Here's why:

warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard.  Examples include
substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>.
To disable this warning use -Wno-deprecated.

And grep shows:

kcontrol/kfontinst/kfontinst/FontListWidget.cpp:#include <iostream>
kdm/kfrontend/liloinfo.cpp:#include <iostream>
kioslave/sftp/ksshprocesstest.cpp:#include <iostream>
kioslave/mac/kio_mac.cpp:#include <iostream>
libkonq/konq_propsview.cc:#include <iostream>
konsole/konsole/TEHistory.cpp:#include <iostream>

svn path=/trunk/kdebase/kcontrol/; revision=191581
icc-effect-5.14.5
Alex Zepeda 2002-12-02 10:50:03 +00:00
parent 3702f720ed
commit 6c9a60ba18
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#include <qfileinfo.h>
#include <qdatetime.h>
#include <iostream.h>
#include <iostream>
static int primes[] = {
2, 3, 5, 7, 11, 13, 17, 19, 23, 29,