All pastes #613456 Raw Edit

morten@Westparkstr42:/Bjarne_Str

public text v1 · immutable
·published 2007-07-11 00:03 UTC
rendered paste body
morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$ rm  a.out
morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$ rm  a.out
rm: cannot remove `a.out': No such file or directory
morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$ g++  -ansi -pedantic -Wall dc_except.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/strstream:51,
                 from dc_except.c:199:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2: 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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$ ./a.out
new expression:
4+5
9
new expression:
8*9
72
new expression:
8*8
64
new expression:
11*11
121
new expression:

morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$ grep  -ire '#include*'  dc_except.c
#include <map>
#include<iostream>
#include<cctype>
#include<string>
// #include <strstream>
#include <strstream>
morten@Westparkstr42:~/Bjarne_Stroustrup/06_Chapter_06$