Can't link iostream library

Matthew Majka mmajka@cs5.dasd.honeywell.com
Mon Nov 22 14:23:00 GMT 1999


On Mon, 22 Nov 1999, Tim Beauchamp wrote:

> #include<iostream.h>
> 
> void main()
> {           
>     cout << "Hello World\n";
> }
> 
> When I compile, I get unresolved externals for the cout and <<

% gcc hello.c++ -o hello++ -lstdc++
%



More information about the Gcc-help mailing list