5d6 Subj : Does cout really write to stdout? having problems To : borland.public.cpp.borlandcpp From : "Chris Miles" Date : Wed Oct 15 2003 09:39 am Im using console applications developed with my cluster software called condor on which i have to submit jobs (application) that write their output to stdout.. when i submit my console apps written with c++ builder the output to stdout is not being captured?? i even tried submitting a batch file with the exe and running the batch file which has these lines.. @echo off echo this is just some text myapp.exe net name ipconfig everything else to the batch file worked... when i create a console app in borland with this code it does not work #include #pragma hdrstop #pragma argsused int main(int argc, char* argv[]) { for(int i=0;i<50;++i) std::cout << "out\n"; return 0; } when i create a console app in ms visual c++ with this code it works #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { for(int i = 0; i < 10; i++) { std::cout << "Testing\n"; } return 0; } (include is) // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include #include