Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 18:27:14 -0400
From:      "John Sokolowski" <john@sokol.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Compiling C++ programs
Message-ID:  <000701bdaead$656169a0$0cd2accf@jsokol>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I am running FreeBSD 2.2.6 with a bash shell.  I have a C++ program that is supposed to output data to the terminal.  It uses <iostream.h> and cout.  The program compiles correctly but when I run it, no output is displayed on the screen.  When I use gdb it outputs correctly.  Am I doing something incorrectly with FreeBSD setup?  Any help would be greatly appreciated.

John
john@sokol.org

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I am running FreeBSD 2.2.6 with a bash 
shell.&nbsp; I have a C++ program that is supposed to output data to the 
terminal.&nbsp; It uses &lt;iostream.h&gt; and cout.&nbsp; The program compiles 
correctly but when I run it, no output is displayed on the screen.&nbsp; When I 
use gdb it outputs correctly.&nbsp; Am I doing something incorrectly with 
FreeBSD setup?&nbsp; Any help would be greatly appreciated.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>John</FONT></DIV>
<DIV><FONT color=#000000 size=2>john@sokol.org</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bdaead$656169a0$0cd2accf>