delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/15/23:15:45

From: shayoom AT hotmail DOT com (Jonquil)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: whats wrong with my compiler
Date: 15 Nov 2002 19:09:58 -0800
Organization: http://groups.google.com/
Lines: 88
Message-ID: <63b211f7.0211151909.88e8259@posting.google.com>
References: <20021115043144 DOT 31342 DOT qmail AT web13005 DOT mail DOT yahoo DOT com> <3DD556A9 DOT 4D37297B AT lmco DOT nospam DOT com>
NNTP-Posting-Host: 213.189.83.103
X-Trace: posting.google.com 1037416198 7928 127.0.0.1 (16 Nov 2002 03:09:58 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 16 Nov 2002 03:09:58 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello, this is Shaymaa Alterkait again..

>In addition, get yourself a new C++ book - whatever
>you're using is out of date. I recommend "Accelerated
>C++" by Andrew Koenig and Barbara Moo.
 

Thats funny. because i got to Kuwait University and we are all using
Programming and Problem Solving with C++ by Nell Dale, Chip Weems and
Mark Headington. it was published in 1999... will C++ change so often?
i think the GCC we are using at the Univ. is 2.9, will it run on Xp? i
am definitaly going to check the title you gave me,, as well as other
2002 books if it helps..

sometimes a book comes out, its so great but it has errors that you
will find the corrections for on the book's website, then comes a new
edition of the book, a correct one... as soon as that comes out and
new version of C++ pops out... isnt that whats happening here?

programming is great but why does it have to change? i mean, add new
libraries and stuff like that but why is the code and format of the
algorithms changing too?

> (1) change the cout line to:
>std::cout << "TESTING!!";

yes, i remember "using namespace std; "... i tried both and after
compiling i get: Installation error, cannot exec 'as': No such file or
directory (ENEONT)

> or (2) add a line right before it that reads as follows:
> using std::cout;        

for this one, i get: parse error before '<<' token.

> change file to #include<iostream.h>

i get the deprecated error:

#warning This file includes at least one deprecated or antiquated
header. \
Please consider using one of the 32 headers found in section 17.4.1.2
of the \
C++ standard. Examples include substituting the <X> header for the
<X.h> \
header for C++ includes, or <sstream> instead of the deprecated header
\
<strstream.h>. To disable this warning use -Wno-deprecated.

now i dont know what to do.. i will ask my prof. at the university if
we will update to GCC 3.2 (what i have now). if we dont do i just swap
the GCC files 3.2 back to 2.9... will it work? because i need
something that will run on windows Xp.

another thing, as i was looking through the FAQ at DJGPP's website i
got something that might help out in one of the errors that i am
getting.. here is the link:
http://www.delorie.com/djgpp/v2faq/faq6_5.html
when i went to c:\djgpp\bin to check if i have the listed programs, i
dont have the following: cc1.exe, cc1plus.exe, gasp.exe, as.exe,
ld.exe, and (for Objective-C) cc1obj.exe. i did not find them in the
bin folder, are they in a different folder? or should i download
something to put them back there?
am i missing something?

these are the files that i unzipped in one folder in drice C:

C:\> mkdir djgpp
C:\> cd djgpp
C:\DJGPP> unzip32 d:\tmp\djdev203.zip
C:\DJGPP> unzip32 d:\tmp\faq230b.zip
C:\DJGPP> unzip32 d:\tmp\rhid149b.zip
C:\DJGPP> unzip32 d:\tmp\bnu213b.zip
C:\DJGPP> unzip32 d:\tmp\fil41b.zip
C:\DJGPP> unzip32 d:\tmp\gcc32b.zip
C:\DJGPP> unzip32 d:\tmp\gpp32b.zip
C:\DJGPP> unzip32 d:\tmp\mak3791b.zip
C:\DJGPP> unzip32 d:\tmp\txi42b.zip
C:\DJGPP> unzip32 d:\tmp\ntlfn08b.zip
C:\DJGPP> unzip32 d:\tmp\all402.zip
C:\DJGPP> unzip32 d:\tmp\grx245s.zip

thank you all so much for your help. i really appreciate it very much.

Best Regards,
Shaymaa Alterkait

PS sorry for the long email...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019