🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages Started by Ron Romero Fri, 22 Mar 1996 15:02
Symantec 7.2 Hello World Problem
#2814
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads