| delorie.com/archives/browse.cgi | search |
| From: | mmjulian AT my-deja DOT com (Jul) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Installing djgpp on windowsxp |
| Date: | 30 Nov 2002 08:22:04 -0800 |
| Organization: | http://groups.google.com/ |
| Lines: | 21 |
| Message-ID: | <8efdb721.0211300822.1c328d15@posting.google.com> |
| NNTP-Posting-Host: | 62.31.64.2 |
| X-Trace: | posting.google.com 1038673324 13909 127.0.0.1 (30 Nov 2002 16:22:04 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | 30 Nov 2002 16:22:04 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I have just installed the djgpp gnu c++ compiler on windows xp I set
the variables to c:\djgpp\djgpp.env in my computer and edited my
autoexec.bat file to include
set DJGPP=%djgpprun%\DJGPP\DJGPP.ENV
set PATH=%djgpprun%\DJGPP\BIN;%PATH%
call setdjgpp %djgpprun%\djgpp %djgpprun%/djgpp
On trying to compile a hello world program with this code
I get 'cout' undeclared (first use this function) what am I doing
wrong?. This is the code
#include <iostream>
int main()
{
cout << "hello world" <<endl;
}
I alo get endl undeclared has it been installed properly or are other
people having problems with djgpp under windowsxp?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |