Mail Archives: djgpp/1998/08/21/08:15:25
Destination: HALBN AT COSMODYNE DOT com
From: Gruber Gerhard
Group: comp.os.msdos.djgpp
Date: Thu, 20 Aug 1998 15:01:40 -0700:
> I am using a WindowsNT OS. I recently downloaded DJGPP and
>installed exactly as asked for. I have installed all the required files
>for C as well as C++. When I run a C program in the DOS window inside
>WindowsNT, the compiler does everything perfectly. But when I write a
>C++ program (with the right extension .cc or .cpp, and compile the right
>way), the compiler does not recognize any C++ functions like cin, cout,
>endl etc. It does not recognize files like "iostream.h" also (it
>recognizes "stdio.h" only).
> I have set the environment variables correctly also, and all the
>files (like "iostream.h" etc) are there. On encountering cin, cout etc
>the compiler says "undeclared function" or "undeclared operator".
Did you set LFN=n in the djgepp.env file? Long filenames don't work under NT
and this might be your problem.
--
Bye,
Gerhard
email: sparhawk AT eunet DOT at
g DOT gruber AT sis DOT co DOT at
Spelling corrections are appreciated.
- Raw text -