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
This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BDAE8B.DBDB2020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0004_01BDAE8B.DBDB2020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>I am running FreeBSD 2.2.6 with a = bash=20 shell. I have a C++ program that is supposed to output data to the = terminal. It uses <iostream.h> and cout. The program = compiles=20 correctly but when I run it, no output is displayed on the screen. = When I=20 use gdb it outputs correctly. Am I doing something incorrectly = with=20 FreeBSD setup? Any help would be greatly appreciated.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>John</FONT></DIV> <DIV><FONT color=3D#000000 = size=3D2>john@sokol.org</FONT></DIV></BODY></HTML> ------=_NextPart_000_0004_01BDAE8B.DBDB2020-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bdaead$656169a0$0cd2accf>