[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 4 17:36:06 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2:

student3.cpp updated: 1.1 -> 1.2
---
Log message:

Compile


---
Diffs of the changes:  (+2 -1)

Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/deriv2/student3.cpp	Mon Oct  4 19:35:25 2004
@@ -1,7 +1,8 @@
 // Written for undergraduate C++ course project at Dept of
 // Computer Science, Rutgers University.  
-#include <stream.h>
+#include <iostream>
 #include <string.h>
+using namespace std;
 #include "student3.h"
 // evaluation of a constant is the value of the constant.
 double const_expr::eval(double numb)






More information about the llvm-commits mailing list