So I am trying to use a really old library (last updated in 1999) that performs numerical integration over two-dimensional regions using cubature rules. The problem I'm encountering is that every single file in the library (both headers and source files, so probably 40 or more files) uses
Instead of using
Furthermore, it just uses
cout << "Whatever it is you want to print"
std::cout << "Things for printing"
And finally when importing all the c++ standard library files it uses
Does anybody know of a convenient and efficient way of going through each file and changing this? Maybe some sort of shell script or something? I really do not want to go through all these files by hand. While we're on the topic, does anyone know of a good numerical integration package that isn't so ancient and integrates over any two-dimensional shape? I'm using this one because it handles integration over oddly shaped regions really well, and if I can get it to compile it will be perfect for my purposes. I looked at CUBA but their integration methods only integrate over the unit hypercube, and I need to integrate over triangles and rectangles and all sorts of strange shapes.