<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>cout</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=647>
<meta name=layout-width content=916>
<meta name=date content="05 13, 2002 6:26:06 AM">


<!--(Links)=========================================================-->

<link rel=StyleSheet href=default.css>



</head>

<!--(Body)==========================================================-->


<body>

<h1>cout</h1>

<h2>Purpose</h2>

<p>Send output to standard output or user-supplied stream.</p>

<h2>Syntax</h2>

<p style="line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;">returnedOstream = cout()</p>

<p style="margin-left: 40px;
			line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;">returnedOstream - type: ostream</p>

<h2>Returns</h2>

<h2>Remarks</h2>

<p>For use in embedded or standalone analyzers. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->User 
 may supply an output stream to an API call such as nlp-&gt;analyze(). 
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Then sending 
 output to cout() will write to the user-supplied output stream.</p>

<h2>Example</h2>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;">@CODE</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;"># In VisualText, output to a file. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Outside VisualText, output to user-supplied stream.</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;">if (interactive())</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->G(&quot;out&quot;) = &quot;out.txt&quot;;</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;">else</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->G(&quot;out&quot;) = cout();</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;">G(&quot;out&quot;) &lt;&lt; &quot;Hello output stream!&quot; &lt;&lt; &quot;\n&quot;;</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: small;
			margin-top: 0.5pt;
			margin-bottom: 0pt;">@@CODE</p>

<h2>See Also</h2>

</body>

</html>
