[Dev-C++] Clarification on HTML and digest formats
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jonathan T. <jt...@it...> - 2002-03-08 03:14:17
|
Dear all,
Just to help those who don't understand about the HTML/NonHTML issue, and about digest formats. A digest format is where the list server bundles up a bunch of messages sent to the list, and then sends this bunch of emails as *one* complete email to my inbox. This saves having my mailbox overflowed with many individual messages, and also gives a quick way to scan what topics are covered, to see if there are any interesting mails to read. The list server sends a bunch of emails whenever it feels it has enough emails to send (haven't worked out the paramters on this particular one!).
Below I have cut and pasted a *complete* digest email I received a little while back. Hopefully your email reader hasn't tried to be super smart and render the HTML code rather than just display it raw. This, as far as digests go, is not too bad - many posts are in plain text. But yours, Daniel Glenfield is actually in HTML funnily enough.
Well hopefully you can see why it is so annoying. Please, find the option in your email program that sets it to send *plain-text* only, and use it!
Thanks,
Jonathan.
P.S. Sorry to send this rather long email to those who understand and observe the netiquette!
-------------------------------------------------------
Send Dev-cpp-users mailing list submissions to
dev...@li... <mailto:dev...@li...>
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
or, via email, send a message with subject or body 'help' to
dev...@li... <mailto:dev...@li...>
You can reach the person managing the list at
dev...@li... <mailto:dev...@li...>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dev-cpp-users digest..."
Today's Topics:
1. RE: (no subject) (Ioannis Vranos)
2. Do Dev-C++4 support Texture Mapping? (Ope...@ao... <mailto:Ope...@ao...>)
3. Re: Do Dev-C++4 support Texture Mapping? (Quentin Smith)
4. Re: What lang. to learn first. (Samuel Keding)
5. A suggestion (Jonathan & Brigitte)
6. help (Mohammed Riyaz)
7. RE: help (Ioannis Vranos)
8. Re: A suggestion (Daniel Glenfield)
9. Re: help (Jason Hardman)
--__--__--
Message: 1
From: "Ioannis Vranos" <no...@ya...> <mailto:no...@ya...>
To: "Dev-C++" <dev...@li...> <mailto:dev...@li...>
Subject: RE: [Dev-C++] (no subject)
Date: Wed, 6 Mar 2002 02:09:28 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C1C4B3.F2A479E0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
-----Original Message-----
From: dev...@li... <mailto:dev...@li...>
[mailto:dev...@li...] On Behalf Of
h.r...@gm... <mailto:h.r...@gm...>
Sent: Tuesday, March 05, 2002 11:19 PM
To: Dev...@li... <mailto:Dev...@li...>
Subject: Re: [Dev-C++] (no subject)
As you said "C++ provides all the paradigms and facilities both high
level and low level,..." which I think is actualy a reason for not
learning C++ straight off. Also is the fact that C++ is a hybrid
language in that it can operate as both a structured language and an OOP
language, or a bit of both. When learning an approach it's important
that the learner is not confused by the features of a language, and is
kept on a 'tight leash' so to say.
=20
Another thing that C and C++ does is to expose pointers and references
more than most languages, as it is a middle level language. It would be
better to start with high level language which doesn't confuse complete
newbies with such things. I think pointers are one of the harder
concepts that most learning programmers have to get thier heads around
at some point, but not right at the beginning.
=20
=20
In C++ there is no need to use pointers or references. For simple tasks
you can use the provided facilities without bothering for low level
stuff: vectors, strings, cin, cout, e.t.c.. If you need to use pointers
then you are dealing with advanced concepts not being able to implement
them with a simpler language anyway. Also there is no need to learn C!
=20
=20
=20
As for C++ being the *best* language, it's a matter of point of view,
but I wouldn't say that any language is the best, much the same that any
spoken language is the best. When approaching a development you choose
the one that is right at the time. An additional benefit of learning
Pascal (or some other language) is that you can write on your CV
(Resume) that you can program in Pascal (or whatever). I believe that
Cobol programmers are very much in demand these days.
=20
=20
Knowing C i bought a Pascal book and learned it in 2 days. And this
because C's abilities are a superset of Pascal abilities (after all the
most Pascal compilers are written in C). After finishing with C++ i
think i can learn any programming language of any of C++'s supported
paradigms in the same time frame.
=20
=20
C++ is not the "best language". It is the "best general purpose
programming language". Or if you do not like this, it is the dominant
general purpose programming language. [:)] According to IDC, in 2001 the
1st in use programming language was C++ & C (mainly C++), 2nd was Visual
Basic and then the others.
=20
I do not underestimate the other languages and their followers but i am
just saying the facts. After all if C++ wasn't the best i would not
study it in the first place. I wasn't forced to learn C++, i chose to
learn it after checking the facts.
=20
=20
=20
Ioannis
=20
* Ioannis Vranos
* Programming pages: <http://www.noicys.d2g.com/>
http://www.noicys.d2g.com
* Alternative URL: <http://run.to/noicys> http://run.to/noicys
------=_NextPart_000_0007_01C1C4B3.F2A479E0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DTahoma size=3D2>-----Original =
Message-----<BR><B>From:</B>=20
dev...@li...=20 <mailto:dev...@li...=20>
[mailto:dev...@li...] <B>On Behalf Of=20
</B>h.r...@gm... <mailto:h.r...@gm...><BR><B>Sent:</B> Tuesday, March 05, 2002 11:19=20
PM<BR><B>To:</B> Dev...@li... <mailto:Dev...@li...><BR><B>Subject:</B> =
Re:=20
[Dev-C++] (no subject)<BR><BR></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px =
solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2>As you said "<FONT =
color=3D#000080><STRONG>C++=20
provides all the paradigms and facilities both high level and low =
level,..."=20
</STRONG></FONT><FONT color=3D#000000>which I think is actualy a =
reason for not=20
learning C++ straight off. Also is the fact that C++ is a hybrid =
language in=20
that it can operate as both a structured language and an OOP language, =
or a=20
bit of both. When learning an approach it's important that the learner =
is=20
not confused by the features of a language, and is kept on a =
'tight=20
leash' so to say.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D010405823-05032002><STRONG><FONT=20
color=3D#000080> </FONT></STRONG></SPAN>Another thing that =
C and C++=20
does is to expose pointers and references more than most languages, as =
it is a=20
middle level language. It would be better to start with high level =
language=20
which doesn't confuse complete newbies with such things. I think =
pointers are=20
one of the harder concepts that most learning programmers have to get =
thier=20
heads around at some point, but not right at the=20
beginning.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BLOCKQUOTE>
<DIV dir=3Dltr><SPAN class=3D010405823-05032002><FONT face=3DArial><FONT =
size=3D2><STRONG><FONT color=3D#000080>In C++ there is no need to use =
pointers or=20
references. For simple tasks you can use the provided facilities without =
bothering for low level stuff: vectors, strings, cin, cout, e.t.c.. If =
you need=20
to use pointers then you are dealing with advanced concepts not being =
able to=20
implement them with a simpler language anyway. Also there is no need to =
learn=20
C!</FONT></STRONG></FONT></FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px =
solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>As for C++ being the *best* language, =
it's a=20
matter of point of view, but I wouldn't say that any language is the =
best,=20
much the same that any spoken language is the best. When approaching a =
development you choose the one that is right at the time. An =
additional=20
benefit of learning Pascal (or some other language) is that you can =
write on=20
your CV (Resume) that you can program in Pascal (or whatever). I =
believe that=20
Cobol programmers are very much in demand these days.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BLOCKQUOTE>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG>Knowing C i bought a Pascal book and =
learned it=20
in 2 days. And this because C's abilities are a superset of Pascal=20
abilities (after all the most Pascal compilers are written in C). =
After=20
finishing with C++ i think i can learn any programming language of any =
of C++'s=20
supported paradigms in the same time frame.</STRONG></SPAN></FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG>C++ is not the "best language". It is =
the "best=20
general purpose programming language". Or if you do not like this, it is =
the=20
dominant general purpose programming language. :) According =
to IDC,=20
in 2001 the 1st in use programming language was C++ & C =
(mainly=20
C++), 2nd was Visual Basic and then the =
others.</STRONG></SPAN></FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG>I do not underestimate the other =
languages and=20
their followers but i am just saying the facts. After all if C++ wasn't =
the best=20
i would not study it in the first place. I wasn't forced to learn C++, i =
chose=20
to learn it after checking the facts.</STRONG></SPAN></FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000080 size=3D2><SPAN=20
class=3D010405823-05032002>
<DIV align=3Dleft>
<DIV align=3Dleft><STRONG><FONT face=3DArial color=3D#000080=20
size=3D2>Ioannis</FONT></STRONG></DIV>
<DIV align=3Dleft> </DIV>
<DIV align=3Dleft><STRONG><FONT face=3DArial color=3D#000080 size=3D2>* =
Ioannis=20
Vranos</FONT></STRONG></DIV>
<DIV><FONT color=3D#000080><STRONG><FONT face=3DArial size=3D2>* =
Programming pages:=20
</FONT><A href=3D"http://www.noicys.d2g.com/" <http://www.noicys.d2g.com/>><FONT face=3DArial=20
size=3D2>http://www.noicys.d2g.com</FONT></A></STRONG></FONT></DIV>
<DIV><STRONG><FONT color=3D#000080><FONT face=3DArial size=3D2>* =
Alternative URL:=20
</FONT><A href=3D"http://run.to/noicys" <http://run.to/noicys>><FONT face=3DArial=20
size=3D2>http://run.to/noicys</FONT></A></FONT></STRONG></DIV></DIV></SPA=
N></FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C1C4B3.F2A479E0--
--__--__--
Message: 2
From: Ope...@ao... <mailto:Ope...@ao...>
Date: Tue, 5 Mar 2002 19:33:41 EST
To: dev...@li... <mailto:dev...@li...>
Subject: [Dev-C++] Do Dev-C++4 support Texture Mapping?
--part1_f3.175eb790.29b6bde5_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Ive been using Dev-C++4 for at leats 2 months now. Ive been programming
OpenGL/ WIN32 with Dev-C++4.But When I try to texture Map with it it dont
show My texture. Even when I download a sample from a site it dont show the
texture on the object. My system specs are 512MB of RAM, 1.6GIGZ in speed, a
nVidia TNT 2 M64 32MB of RAM AGP graphics card, WINDOWS XP. So why doesnt it
supports Texture Mapping and do anybody else has this same problem and how
did you fix it.
--part1_f3.175eb790.29b6bde5_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Ive been using Dev-C++4 for at leats 2 months now. Ive been programming OpenGL/ WIN32 with Dev-C++4.But When I try to texture Map with it it dont show My texture. Even when I download a sample from a site it dont show the texture on the object. My system specs are 512MB of RAM, 1.6GIGZ in speed, a nVidia TNT 2 M64 32MB of RAM AGP graphics card, WINDOWS XP. So why doesnt it supports Texture Mapping and do anybody else has this same problem and how did you fix it.</FONT></HTML>
--part1_f3.175eb790.29b6bde5_boundary--
--__--__--
Message: 3
Date: Tue, 5 Mar 2002 19:41:02 -0500
Subject: Re: [Dev-C++] Do Dev-C++4 support Texture Mapping?
Cc: dev...@li... <mailto:dev...@li...>
To: Ope...@ao... <mailto:Ope...@ao...>
From: Quentin Smith <mac...@bi...> <mailto:mac...@bi...>
--Apple-Mail-1-560840692
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Hi-
a) it does support texture mapping
b) no one else has this problem
c) no idea
HTH,
--Quentin
On Tuesday, March 5, 2002, at 07:33 PM, Ope...@ao... <mailto:Ope...@ao...> wrote:
> > Ive been using Dev-C++4 for at leats 2 months now. Ive been programming
> > OpenGL/ WIN32 with Dev-C++4.But When I try to texture Map with it it
> > dont show My texture. Even when I download a sample from a site it dont
> > show the texture on the object. My system specs are 512MB of RAM,
> > 1.6GIGZ in speed, a nVidia TNT 2 M64 32MB of RAM AGP graphics card,
> > WINDOWS XP. So why doesnt it supports Texture Mapping and do anybody
> > else has this same problem and how did you fix it.
> >
--Apple-Mail-1-560840692
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
Hi-
a) it does support texture mapping
b) no one else has this problem
c) no idea
HTH,
--Quentin
On Tuesday, March 5, 2002, at 07:33 PM, Ope...@ao... <mailto:Ope...@ao...> wrote:
<excerpt><fontfamily><param>Arial</param><smaller>Ive been using
Dev-C++4 for at leats 2 months now. Ive been programming OpenGL/ WIN32
with Dev-C++4.But When I try to texture Map with it it dont show My
texture. Even when I download a sample from a site it dont show the
texture on the object. My system specs are 512MB of RAM, 1.6GIGZ in
speed, a nVidia TNT 2 M64 32MB of RAM AGP graphics card, WINDOWS XP.
So why doesnt it supports Texture Mapping and do anybody else has this
same problem and how did you fix it.</smaller></fontfamily>
</excerpt>
--Apple-Mail-1-560840692--
--__--__--
Message: 4
From: "Samuel Keding" <big...@ya...> <mailto:big...@ya...>
To: <dev...@li...> <mailto:dev...@li...>
Date: Tue, 5 Mar 2002 19:40:37 -0600
Subject: [Dev-C++] Re: What lang. to learn first.
Hey,
To be trueful, you have to make up your own mind.There our tons of langs.
out there, each with their own benefits. If you get a good book, it can
teach you to do structured programming in C or C++. Whatever you do, you are
going to have a lot of work to do on your own. There isn't nothing that is
to hard to understand as long as you have a compiler/interpeter and a good
book or tutorial. Some people will talk about how hard pointers are. There
only hard if you don't point any work in understanding them at all. I am not
even an intermediate programming, but I can understand the ideas behind
pointers just from doing a little reading on them. Even I used any more time
on them, I could even program with them. The only problem I have is I am
wasting time on other stuff like my classes in college. When I first started
out I played with GW Basic, later C++. I learned as much as I put time in
them. The main question is are you willing to put out the time necassary to
learn a new lang., and do you have the time. Someone else made the lang.
unless they did a sorry job, you should be able to learn it. A language that
I would consider is Java, it is built on top of C++ and you can download a
free compiler from Sun. Good Luck.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--__--__--
Message: 5
Date: Wed, 06 Mar 2002 12:43:02 +0800
From: Jonathan & Brigitte <jo...@pa...> <mailto:jo...@pa...>
To: Dev...@li... <mailto:Dev...@li...>
Subject: [Dev-C++] A suggestion
Hi guys,
Just a little suggestion, could you please try to send
plain-text emails only to the list?
Since I get the list in digest format, it is made quite difficult to
read when I have the email usually first in plain-text, then in HTML
code which I have to scroll past, and then when you have several replies
you haven't deleted from the bottom of your email, the problem is
compounded - making it especially hard to find the start of the next
real new message.
Thanks,
Jonathan.
--__--__--
Message: 6
From: "Mohammed Riyaz" <p_m...@ho...> <mailto:p_m...@ho...>
To: dev...@li... <mailto:dev...@li...>
Date: Wed, 06 Mar 2002 07:43:50 +0000
Subject: [Dev-C++] help
Hey guys,
i wrote a program to solve the knight's problem.(move to every block on the
chess board using the knight's movements, but never reach the same block
twice.)
I feel though i coded the program right my system is unable to run the
program.
In order to test it i compiled the program with two compilers, as a result
both the exe files gave errors. but the exe file created by dev-c++ compiler
ran longer than the other(i.e it could try more to reach the result).
the error message for both theexe files was
" this program has performed an illegal operation and will be shut down"
but the details causing the error were diffrent in the either case:
When compiled with Dev-c++ compiler:
KNIGHT caused a stack fault in module KERNEL32.DLL at 0167:bff7a2a1.
Registers:
EAX=0054fffc CS=0167 EIP=bff7a2a1 EFLGS=00000216
EBX=78037780 SS=016f ESP=00552018 EBP=00552024
ECX=c1413f00 DS=016f ESI=00000024 FS=4d3f
EDX=bffc9490 ES=016f EDI=81661bc0 GS=0000
Bytes at CS:EIP:
58 5f 8b e5 5d c3 a1 e8 9c fc bf 8b 08 ff 41 38
Stack dump:
81660a14 00000002 c1413f00 00552044 bff75d40 00000002 00000024 78037780
bffa0001 81660a14 00000000 00552480 78011eb2 0000000c 0055206c 00000002
When compiled with borland v5.5 compiler:
KNIGHT caused a stack fault in module KNI.EXE at 0167:0041557a.
Registers:
EAX=00000006 CS=0167 EIP=0041557a EFLGS=00010206
EBX=00562018 SS=016f ESP=00562000 EBP=0056205c
ECX=005624f1 DS=016f ESI=005624f1 FS=4d1f
EDX=00000000 ES=016f EDI=0000000a GS=0000
Bytes at CS:EIP:
55 53 56 57 8b 5c 24 14 8b 4c 24 18 0b c9 75 08
Stack dump:
00415991 0000000a 00000000 00000024 005625e6 00562664 004159a4 0000000a
00000000 00000024 005625fe 00562664 00000001 00000020 0056260e 00562664
cud some one tell me what i cud do?
i didnt use dynamic memory allocation in my program.
-riyaz
========================================================================
P.Mohammed riyaz
Student, Computer Science And Engineering
========================================================================
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--__--__--
Message: 7
From: "Ioannis Vranos" <no...@ya...> <mailto:no...@ya...>
To: "Dev-C++" <dev...@li...> <mailto:dev...@li...>
Subject: RE: [Dev-C++] help
Date: Wed, 6 Mar 2002 14:12:02 +0200
We must see the source code, send it in the list.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.d2g.com
* Alternative URL: http://run.to/noicys
> > -----Original Message-----
> > From: dev...@li... <mailto:dev...@li...>
> > [mailto:dev...@li...] On Behalf
> > Of Mohammed Riyaz
> > Sent: Wednesday, March 06, 2002 9:44 AM
> > To: dev...@li... <mailto:dev...@li...>
> > Subject: [Dev-C++] help
> >
> >
> >
> > Hey guys,
> >
> > i wrote a program to solve the knight's problem.(move to
> > every block on the
> > chess board using the knight's movements, but never reach the
> > same block
> > twice.)
> >
> > I feel though i coded the program right my system is unable
> > to run the
> > program.
> >
> > In order to test it i compiled the program with two
> > compilers, as a result
> > both the exe files gave errors. but the exe file created by
> > dev-c++ compiler
> > ran longer than the other(i.e it could try more to reach the result).
> >
> > the error message for both theexe files was
> > " this program has performed an illegal operation and will be
> > shut down"
> >
> > but the details causing the error were diffrent in the either case:
> >
> > When compiled with Dev-c++ compiler:
> >
> > KNIGHT caused a stack fault in module KERNEL32.DLL at 0167:bff7a2a1.
> > Registers:
> > EAX=0054fffc CS=0167 EIP=bff7a2a1 EFLGS=00000216
> > EBX=78037780 SS=016f ESP=00552018 EBP=00552024
> > ECX=c1413f00 DS=016f ESI=00000024 FS=4d3f
> > EDX=bffc9490 ES=016f EDI=81661bc0 GS=0000
> > Bytes at CS:EIP:
> > 58 5f 8b e5 5d c3 a1 e8 9c fc bf 8b 08 ff 41 38
> > Stack dump:
> > 81660a14 00000002 c1413f00 00552044 bff75d40 00000002
> > 00000024 78037780
> > bffa0001 81660a14 00000000 00552480 78011eb2 0000000c
> > 0055206c 00000002
> >
> >
> >
> > When compiled with borland v5.5 compiler:
> >
> > KNIGHT caused a stack fault in module KNI.EXE at 0167:0041557a.
> > Registers:
> > EAX=00000006 CS=0167 EIP=0041557a EFLGS=00010206
> > EBX=00562018 SS=016f ESP=00562000 EBP=0056205c
> > ECX=005624f1 DS=016f ESI=005624f1 FS=4d1f
> > EDX=00000000 ES=016f EDI=0000000a GS=0000
> > Bytes at CS:EIP:
> > 55 53 56 57 8b 5c 24 14 8b 4c 24 18 0b c9 75 08
> > Stack dump:
> > 00415991 0000000a 00000000 00000024 005625e6 00562664
> > 004159a4 0000000a
> > 00000000 00000024 005625fe 00562664 00000001 00000020
> > 0056260e 00562664
> >
> >
> > cud some one tell me what i cud do?
> > i didnt use dynamic memory allocation in my program.
> > -riyaz
> >
> > ==============================================================
> > ==========
> > P.Mohammed riyaz
> > Student, Computer Science And Engineering
> > ==============================================================
> > ==========
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li... <mailto:Dev...@li...>
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
--__--__--
Message: 8
From: "Daniel Glenfield" <sp...@ho...> <mailto:sp...@ho...>
To: jo...@pa... <mailto:jo...@pa...>, Dev...@li... <mailto:Dev...@li...>
Subject: Re: [Dev-C++] A suggestion
Date: Wed, 06 Mar 2002 12:26:46 +0000
<html><div style='background-color:'><DIV>
<P>Hmm....I only get it in text, not html. Odd.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: Jonathan & Brigitte <JO...@PA...> <mailto:JO...@PA...>
<DIV></DIV>>To: Dev...@li... <mailto:Dev...@li...>
<DIV></DIV>>Subject: [Dev-C++] A suggestion
<DIV></DIV>>Date: Wed, 06 Mar 2002 12:43:02 +0800
<DIV></DIV>>
<DIV></DIV>>Hi guys,
<DIV></DIV>> Just a little suggestion, could you please try to send
<DIV></DIV>>plain-text emails only to the list?
<DIV></DIV>>
<DIV></DIV>>Since I get the list in digest format, it is made quite difficult to
<DIV></DIV>>read when I have the email usually first in plain-text, then in HTML
<DIV></DIV>>code which I have to scroll past, and then when you have several
<DIV></DIV>>replies
<DIV></DIV>>you haven't deleted from the bottom of your email, the problem is
<DIV></DIV>>compounded - making it especially hard to find the start of the next
<DIV></DIV>>real new message.
<DIV></DIV>>
<DIV></DIV>>Thanks,
<DIV></DIV>>Jonathan.
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Dev-cpp-users mailing list
<DIV></DIV>>Dev...@li...
<DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
<DIV></DIV></div><br clear=all><hr>Join the world's largest e-mail service with MSN Hotmail. <a href='http://g.msn.com/1HM105301/15'>Click Here</a><br></html>
--__--__--
Message: 9
From: "Jason Hardman" <jas...@bt...> <mailto:jas...@bt...>
To: "Dev-C++" <dev...@li...> <mailto:dev...@li...>,
"Mohammed Riyaz" <p_m...@ho...> <mailto:p_m...@ho...>
Subject: Re: [Dev-C++] help
Date: Wed, 6 Mar 2002 16:24:43 -0000
I couldn't tell you exactly what the problem is without the seeing the
source code, which I'm interested in doing anyway as it's not a problem I've
come across before. However I can suggest what may be the cause. By any
chance is the algorithm used a recursive one? That could be one reason you
are getting a 'stack fault' as every time you call a method you are creating
a new set of instance variables (amongst other things) on the stack for it,
and there is only a limited amount of space allocated to the stack usualy.
Notice that in both versions the stack pointer (ESP) is about 00560000h
which is about 5 Meg assuming it started a zero. I think on intel machines
that is the case?
There may be another cause but that seems the most likely. If you are using
a recursive function then try to reimplement it in a non-recursive manner,
it will be faster that way too.
If recursive calls are the cause, then this fault also suggests that there
may be an error in the termination condition of the function(s), so you are
going through an infinite number of recursive calls, although it may just be
that the algorithm requires so many calls that the termination condition
would never be met before a stack overflow.
This is all just a stab in the dark without seeing the code, but I hope it
helps.
Jason
----- Original Message -----
From: "Mohammed Riyaz" <p_m...@ho...> <mailto:p_m...@ho...>
To: <dev...@li...> <mailto:dev...@li...>
Sent: Wednesday, March 06, 2002 7:43 AM
Subject: [Dev-C++] help
> >
> > Hey guys,
> >
> > i wrote a program to solve the knight's problem.(move to every block on
the
> > chess board using the knight's movements, but never reach the same block
> > twice.)
> >
> > I feel though i coded the program right my system is unable to run the
> > program.
> >
> > In order to test it i compiled the program with two compilers, as a result
> > both the exe files gave errors. but the exe file created by dev-c++
compiler
> > ran longer than the other(i.e it could try more to reach the result).
> >
> > the error message for both theexe files was
> > " this program has performed an illegal operation and will be shut down"
> >
> > but the details causing the error were diffrent in the either case:
> >
> > When compiled with Dev-c++ compiler:
> >
> > KNIGHT caused a stack fault in module KERNEL32.DLL at 0167:bff7a2a1.
> > Registers:
> > EAX=0054fffc CS=0167 EIP=bff7a2a1 EFLGS=00000216
> > EBX=78037780 SS=016f ESP=00552018 EBP=00552024
> > ECX=c1413f00 DS=016f ESI=00000024 FS=4d3f
> > EDX=bffc9490 ES=016f EDI=81661bc0 GS=0000
> > Bytes at CS:EIP:
> > 58 5f 8b e5 5d c3 a1 e8 9c fc bf 8b 08 ff 41 38
> > Stack dump:
> > 81660a14 00000002 c1413f00 00552044 bff75d40 00000002 00000024 78037780
> > bffa0001 81660a14 00000000 00552480 78011eb2 0000000c 0055206c 00000002
> >
> >
> >
> > When compiled with borland v5.5 compiler:
> >
> > KNIGHT caused a stack fault in module KNI.EXE at 0167:0041557a.
> > Registers:
> > EAX=00000006 CS=0167 EIP=0041557a EFLGS=00010206
> > EBX=00562018 SS=016f ESP=00562000 EBP=0056205c
> > ECX=005624f1 DS=016f ESI=005624f1 FS=4d1f
> > EDX=00000000 ES=016f EDI=0000000a GS=0000
> > Bytes at CS:EIP:
> > 55 53 56 57 8b 5c 24 14 8b 4c 24 18 0b c9 75 08
> > Stack dump:
> > 00415991 0000000a 00000000 00000024 005625e6 00562664 004159a4 0000000a
> > 00000000 00000024 005625fe 00562664 00000001 00000020 0056260e 00562664
> >
> >
> > cud some one tell me what i cud do?
> > i didnt use dynamic memory allocation in my program.
> > -riyaz
> >
> > ========================================================================
> > P.Mohammed riyaz
> > Student, Computer Science And Engineering
> > ========================================================================
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li... <mailto:Dev...@li...>
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
--__--__--
_______________________________________________
Dev-cpp-users mailing list
Dev...@li... <mailto:Dev...@li...>
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
End of Dev-cpp-users Digest
|