🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2814

Symantec 7.2 Hello World Problem

#2814
From: Ron Romero
Date: Fri, 22 Mar 1996 15:02
23 lines
1057 bytes
I'm having trouble doing a C++ Hello World program with Symantec C++ 7.2, using output to windows 
3.11 console.  It seems like this should be trivial, but it dowsn't work.  It works with printf, 
but cout produces no output.  

Here's the code:

-----Cut Here------------
#include <iostream.h>
#include <stdio.h>

main()
{
    cout << "Hello World" << endl;

    printf("Goodbye World\n");
}
-----Cut Here------------

This produces "Goodbye World" on the first line of the console window.  

Any ideas?  Am I just not linking right?

Ron Romero
Technical Details
Message-ID: <3152C11F.2975@ssds.com>
Path: arc1-ca.pugleaf.net!ssds.com!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ssds.com!usenet
From: Ron Romero <ron.romero@ssds.com>
Newsgroups: comp.os.ms-windows.programmer.misc,comp.lang.c++
Subject: Symantec 7.2 Hello World Problem
Date: Fri, 22 Mar 1996 10:02:55 -0500
Organization: SSDS, Inc.
Distribution: inet
Message-ID: <3152C11F.2975@ssds.com>
NNTP-Posting-Host: rem_vie23.ssds.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win16; I)
CC: ron.romero@ssds.com