From: Simon Rit Date: Fri, 16 Sep 2011 16:22:02 +0000 (+0200) Subject: Do both OuputDebugString and standard output for DD on Windows X-Git-Tag: v1.3.0~215^2~5 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=62fec36fbd5a7a092ab29af461b590c22c7a3baa;p=clitk.git Do both OuputDebugString and standard output for DD on Windows --- diff --git a/common/clitkDD.h b/common/clitkDD.h index f43db9d..c21bb81 100644 --- a/common/clitkDD.h +++ b/common/clitkDD.h @@ -29,6 +29,7 @@ std::ostringstream ossDD; \ ossDD << #a " = [ " << a << " ]" << std::endl; \ OutputDebugString(ossDD.str().c_str()); \ + std::cout << ossDD.str() << std::endl; \ } #else # define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl;std::cout.flush();