@bytecode
In the C++ tutorial book I'm using, it mentions that about the .h, and it compiles fine under G++ in windoze. But the Amiga version I have doesn't seem to have those versions, unless I'm looking at this the completely wrong way (it complains it cannot find them without the .h extension)
I'm wondering... Have you tried to search for say, "iostream" or "iostream.h"? You might have to set up some environment variable that points to the directory holding the headers.
I remember using gcc on UAE, and prior to building anything, I would run a *nix shell (sh). Try this, maybe?
WORK> sh
> g++ -o hellocpp hello.cpp
> ./hellocpp
It's quite possible that the shell will set the correct variables for you (on *nix I'd tell you to look in $HOME/.bashrc or /etc/bashrc, or even /etc/profile, but I have no idea where this shell emulation might have written it, if at all). Note that *nix is case sensitive, and so will that shell emulator.
If that doesn't work, I'll try and install GCC on UAE again.
BTW Welcome to A.org
This is actually my 4th or 5th post, but I've been so active that my account disappeared :-D. Thanks though :-).
Hope this helps.