|
From: John P. <jpa...@ya...> - 2002-04-07 09:37:04
|
Can someone tell me why my DOS windows close on me all the time. I cleared the "close on exit" box, but it still closes on me. |
|
From: Bob W. <bo...@ph...> - 2002-04-07 11:21:18
|
John,
>> Can someone tell me why my DOS windows close on me all the time. I =
cleared the "close on exit" box, but it still closes on me. <<
The simple answer is that is the way windows is designed to function, =
but don't ask me why.=20
I perfer this method:
#include <iostream.h>
#include <conio_mingw.h>
int main()
{
/* your code goes here */
while (!kbhit());
return 0;
}
Regards,
Bob
|
|
From: <h.r...@gm...> - 2002-04-07 12:03:17
|
> John,
>
> >> Can someone tell me why my DOS windows close on me all the time. I
> cleared the "close on exit" box, but it still closes on me. <<
>
> The simple answer is that is the way windows is designed to function,
> but don't ask me why.
>
> I perfer this method:
> #include <iostream.h>
> #include <conio_mingw.h>
>
> int main()
> {
> /* your code goes here */
>
> while (!kbhit());
> return 0;
> }
> Regards,
>
> Bob
>
Hi,
a other method is:
#include <cstdlib>
int main(int argc, char *argv[])
{
[...]
system("PAUSE");
return 0;
}
regards
Horst
--
--------------------------
Horst Rößner
Postf. 1802
52205 Stolberg
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: Napoleon A. <nah...@so...> - 2002-04-07 15:38:02
|
Hi all, I am about to get myself a new PC. I have always used Intel based PC's and after all that I have heard about AMD ATHLON in terms of speed (ie faster than its INTEL competitor) I am tempted to give it a try. I however want know if this claim is true and if it has any drawbacks with respect to programming Cheers Napleon. |
|
From: Ioannis V. <no...@ho...> - 2002-04-07 16:22:33
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Napoleon Ahiable > Sent: Sunday, April 07, 2002 5:36 PM > To: dev...@li... > Subject: Re: [Dev-C++] AMD ATHLON v PENTIUM 4 > > > Hi all, > I am about to get myself a new PC. I have always used Intel > based PC's and > after all that I have heard about AMD ATHLON in terms of > speed (ie faster > than its INTEL competitor) I am tempted to give it a try. I > however want > know if this claim is true and if it has any drawbacks with respect to > programming It is usually faster than equivallent MHz INTEL CPUs (they have the rating to which INTEL CPU are equivallent, e.g. 1800+ etc). You can compare prizes between an AMD "rating-speed" CPU and an Intel CPU to decide. For example an 1800+ AMD CPU has the same overall performance to an INTEL 1800 MHz CPU. So you can buy the cheaper. On the other side, Intel CPUs are the standard. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys Intel on the other side is the standard. |
|
From: Jason H. <jas...@bt...> - 2002-04-07 23:49:53
|
At the moment Athlons are faster and cheaper than their equivalents in the P4 range, which is good enough for me. Also, just a quick correction, the official line with the Athlon XP ????+ where the ???? is a number i.e. 2100, the number represents how fast the clock speed of an Athlon based on the older Athlon CPU core would have to run to get the same performance. Here's an article you may find interesting: http://news.zdnet.co.uk/story/0,,t269-s2107765,00.html Personally I think the Athlons represent a bettor ethos in engineering, and that Intel is trying to use big numbers i.e. clock speed and transistor count, to make the uneducated think it must be better. Jason. PS: BTW there's a pretty obvious mistake in the article where it says 1.733MHz which I assume should be 1.733GHz. My old spectrum processor (Z80) ran faster than 1.733MHz! :) ----- Original Message ----- From: "Napoleon Ahiable" <nah...@so...> To: <dev...@li...> Sent: Sunday, April 07, 2002 4:35 PM Subject: Re: [Dev-C++] AMD ATHLON v PENTIUM 4 Hi all, I am about to get myself a new PC. I have always used Intel based PC's and after all that I have heard about AMD ATHLON in terms of speed (ie faster than its INTEL competitor) I am tempted to give it a try. I however want know if this claim is true and if it has any drawbacks with respect to programming Cheers Napleon. _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: David M. <ci...@ya...> - 2002-04-08 18:36:15
|
Sorry but I have to put in my 2 cents check out his site for information on the chips themselves http://www.emulators.com/pentium4.htm Check out round 1 for a comparison of both price and performance. it is under the Pentium 4 - Generation 7 or complete stupidity? section also as a C++ programmer you have nothing to worry about, the compiler takes care of those details. if you were programming in assembly the only difference is you have a few more or a few less instructions avalible this rarely makes a difference unless you have a program optimized for that specific processor as most of the extra instructions. ---- Original Message ----- > From: "Napoleon Ahiable" <nah...@so...> > To: <dev...@li...> > Sent: Sunday, April 07, 2002 4:35 PM > Subject: Re: [Dev-C++] AMD ATHLON v PENTIUM 4 > > > Hi all, > I am about to get myself a new PC. I have always used Intel based > PC's and > after all that I have heard about AMD ATHLON in terms of speed (ie > faster > than its INTEL competitor) I am tempted to give it a try. I however > want > know if this claim is true and if it has any drawbacks with respect > to > programming > > Cheers > > Napleon. __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ |