Message: Input file name and output the result to the file. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Input file name and output the result to the file. 

Keywords: output, input
Forum: Documentation and Examples
Date: 10 Jan, 2003
From: Chase, Park <tesper@shinbiro.com>

 Hello.
 I want save the GEANT4 result in to the file(txt type). 
 I read the part of 
  "7.2.4 How to control the output of G4cout/G4cerr" in the Geant4 Manual
 as above mentioned, but I can't understand how to do.

 The function that I want to added to my code are

  1. Input the string of file name on User Interface,
  2. Capture the output result to the file.

 What I should add to my code, and where?
 My current method to save the result is too much time-consumed.

 Thanks for your concerning, and have a nice Weekend.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Input file name and output the result to the file.   (Charles Wang - 20 Jan, 2003)
(_ Question: Re: Input file name and output the result to the file.   (Umang Kakaiya - 24 Apr, 2017)
(_ None: Re: Input file name and output the result to the file.   (Ivana Hrivnacova - 26 Apr, 2017)
 Add Message Add Message
to: "Input file name and output the result to the file."

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]