|
From: Dale H. <da...@us...> - 2002-06-13 23:42:14
|
Update of /cvsroot/corelinux/corelinux/src/testdrivers/ex19 In directory usw-pr-cvs1:/tmp/cvs-serv21984/src/testdrivers/ex19 Modified Files: EditColleague.cpp SelectColleague.cpp examp19.cpp Log Message: Has added in: #ifdef REQUIRE_STD_NAMESPACE using namespace std; #endif to allow for compilation under compilers that require a namespace declaration. Index: EditColleague.cpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex19/EditColleague.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** EditColleague.cpp 7 May 2000 03:46:00 -0000 1.1 --- EditColleague.cpp 13 Jun 2002 23:42:08 -0000 1.2 *************** *** 35,38 **** --- 35,43 ---- #endif + #include <iostream> + #ifdef REQUIRE_STD_NAMESPACE + using namespace std; + #endif + // Buffer space for cin.getline Index: SelectColleague.cpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex19/SelectColleague.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** SelectColleague.cpp 7 May 2000 04:03:02 -0000 1.2 --- SelectColleague.cpp 13 Jun 2002 23:42:08 -0000 1.3 *************** *** 35,38 **** --- 35,43 ---- #endif + #include <iostream> + #ifdef REQUIRE_STD_NAMESPACE + using namespace std; + #endif + using namespace corelinux; Index: examp19.cpp =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex19/examp19.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** examp19.cpp 31 Aug 2000 22:49:01 -0000 1.2 --- examp19.cpp 13 Jun 2002 23:42:08 -0000 1.3 *************** *** 64,67 **** --- 64,71 ---- #include <exception> + #ifdef REQUIRE_STD_NAMESPACE + using namespace std; + #endif + // // In module function prototypes |