From 62fec36fbd5a7a092ab29af461b590c22c7a3baa Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Fri, 16 Sep 2011 18:22:02 +0200 Subject: [PATCH] Do both OuputDebugString and standard output for DD on Windows --- common/clitkDD.h | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.45.1