From: curt Date: Tue, 21 Mar 2000 21:06:07 +0000 (+0000) Subject: MSVC++ tweaks contributed by Christian Mayer. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2160b1479e63211ce98c19d3d08c1fb8c17e01e;p=simgear.git MSVC++ tweaks contributed by Christian Mayer. --- diff --git a/simgear/ephemeris/stars.cxx b/simgear/ephemeris/stars.cxx index ff5d6aa4..4ff128b5 100644 --- a/simgear/ephemeris/stars.cxx +++ b/simgear/ephemeris/stars.cxx @@ -21,6 +21,7 @@ // $Id$ +#include #include #include "stars.hxx" @@ -49,11 +50,12 @@ bool FGStars::load() { // build the full path name to the stars data base file data_path.append( "stars" ); - cout << " Loading stars from " << data_path.str() << endl; + FG_LOG( FG_ASTRO, FG_INFO, " Loading stars from " << data_path.str() ); fg_gzifstream in( data_path.str() ); if ( ! in.is_open() ) { - cout << "Cannot open star file: " << data_path.str() << endl; + FG_LOG( FG_ASTRO, FG_ALERT, "Cannot open star file: " + << data_path.str() ); exit(-1); } @@ -110,7 +112,7 @@ bool FGStars::load() { ++nstars; } - cout << " Loaded " << nstars << " stars" << endl; + FG_LOG( FG_ASTRO, FG_INFO, " Loaded " << nstars << " stars" ); return true; }