]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do a workaround for setw(), since this seems not to be in the present libg++ library...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Apr 1998 13:24:57 +0000 (13:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Apr 1998 13:24:57 +0000 (13:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@118 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index 6b0b5d3a8e38bbdec49572eaaaf771b3d0b2e084..55888ede83995449676fa49c1f158ebd0a6a892a 100644 (file)
@@ -2,13 +2,22 @@
 
 #include <basic/parameter_handler.h>
 #include <fstream.h>
-#include <iomanip.h>
+//#include <iomanip.h>
 
 extern "C" {
 #include <stdlib.h>
 }
 
 
+String setw (unsigned int n) {
+  String s;
+  for (unsigned int i=0; i<n; ++i)
+    s =+ ' ';
+  return s;
+};
+
+
+
 
 const String ParameterHandler::RegularExpressions::WhiteSpace = "[ \n\t]+",
             ParameterHandler::RegularExpressions::Integer    = "\\(-?[0-9]+[ \n\t]*\\)",

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.