From: third-party Date: Wed, 12 Sep 2001 13:56:37 +0000 (+0000) Subject: Fix missing std::'s. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75eeca68e78599cdcf23870febbc605147c2a49b;p=dealii-svn.git Fix missing std::'s. git-svn-id: https://svn.dealii.org/trunk@4977 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-10/step-10.cc b/deal.II/examples/step-10/step-10.cc index 74d0867dad..25afd71837 100644 --- a/deal.II/examples/step-10/step-10.cc +++ b/deal.II/examples/step-10/step-10.cc @@ -44,7 +44,7 @@ void gnuplot_output() ++refinement, triangulation.refine_global(1)) { std::cout << "Refinement level: " << refinement << std::endl; - string filename_base="ball"; + std::string filename_base="ball"; filename_base += ('0'+refinement); for (unsigned int order=1; order<4; ++order) @@ -52,10 +52,10 @@ void gnuplot_output() std::cout << "Order = " << order; const MappingQ mapping (order); - string filename=filename_base+"_mapping_q"; + std::string filename=filename_base+"_mapping_q"; filename += ('0'+order); filename += ".dat"; - ofstream gnuplot_file(filename.c_str()); + std::ofstream gnuplot_file(filename.c_str()); std::cout << ". Writing gnuplot file <" << filename << ">..." << std::endl; @@ -137,7 +137,7 @@ void compute_pi_by_perimeter () const QGauss4 quadrature; for (unsigned int order=1; order<5; ++order) { - std::cout << "Order = " << order << endl; + std::cout << "Order = " << order << std::endl; Triangulation triangulation; GridGenerator::hyper_ball (triangulation);