dev-cpp-users Mailing List for Dev-C++ (Page 88)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Richard V. W. <ric...@ai...> - 2006-02-15 04:44:30
|
We can use zero as shorthand for the following number:
0.0000000000000000000000000000000000000000000000000000000000000000000000000=
0000000000000000000000000000000000000000001
Or as a quick way of writing 1 / infinity.
"1/Infinity" is quicker than writing zeros on every piece of paper in the=20
universe, forever, followed by a 1.
lordSauron <lor...@gm...>
Sent by: dev...@li...
15/02/2006 01:30 PM
=20
To: "Alfred P. Reaud" <al...@ya...>
cc: Dev-Cpp UserList <dev...@li...>
Subject: Re: [Dev-C++] How connect c++ to a database?
Man... send in plaintext - it saves more space.
On 2/14/06, Alfred P. Reaud <al...@ya...> wrote:
> That's all in the calculus, and the concept of limits.
I try not to think with limits. When you put limits you limit
yourself. Leave yourself without limits and you are limitless. Don't
be scared by the concept of ininfity.
> In reality, think about what the zero operation means with respect to=20
physics and
> quantum mechanics. As long as you deal with limits, the conventional=20
wisdom applies.
> But at 0, things reach a boundary condition. This is illustrated by=20
the Dirac Delta
> Function
I was talking more about logic, really, not physics and/or quantum=20
mechanics.
> First, for edification, let's address the identity: 1/(infinity) =3D 0, o=
n=20
a common object, an
> orange. This orange, when divided, will eventually reach a slice which=20
can't be further
> divided and still give you an orange slice. That last slice, though of=20
a molecular
You're not thinking abstractedly. When I think about math, I think
abstractedly, which has no limits. When you apply this to your
orange, while it's a good learning crutch, it natrually applies many
limits.
> thickness, is still the last slice. If you divide it further, you're=20
not dealing with an orange
> anymore, rather you are dealing with constituent atoms and molecules. So =
you don't get
> an infinite number of orange slices, rather you get a finite though=20
large number of
> slices.
>
> So what happens when you actually divide by 0? Physically, IMHO, you do =
not preform
> the operation. The physical operation 0 is a null operation (as in=20
addition and
> subtraction). The logic is that if you try to divide an orange 0 times, =
you actually don't
> divide the orange by anything, i.e. 1/0 =3D 1 (with respect to physical=20
objects). However,
> the identity 1*0 =3D 0 still works because as you're not preforming the=20
multiplication (0 is
> the null operator, hence no operation), therefore the sum of additions=20
which make a
> multiplication isn't done, so the result is 0.
You're not making any logical or mathematical sense to me.
> This must be the reason why general relativity and quantum mechanics=20
don't meet...;^)
Since when do computers care about reality? When on a microprocessor,
you're working with the most abstractable thing there is! Pi can be 3
so long as it's proportionately reletive to the other numbers! What
is 1? Or 2? Numerics is entirely abstract. You can arbitrarily say
"that is 1 organge" but when you first defined the link between the
pure abstract and the numbers you lost a lot of precision, if you will
allow me to term it that way. Division by zero is very real, but real
division by zero is not, if you follow my meaning.
> Per Westermark <pw...@ia...> wrote:
> Why do you say that x/0 appr oximates to infinity?
That's how my math teacher termed it. What are we if nothing more
than parrots of what we were taught?
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log=20
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Daniel K. O. <dan...@ya...> - 2006-02-15 03:52:34
|
And the article to end this pointless offtopic: http://en.wikipedia.org/wiki/Division_by_zero This is IMHO the relevant quote: "Division by zero must be left undefined in any mathematical system that obeys the axioms of a field <http://en.wikipedia.org/wiki/Field_%28mathematics%29>." If you define any kind of result from a division by zero, you open a hole in your system for fallacies like "2=1" (see the example in the Wikipedia article). --- Daniel K. O. _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com |
|
From: lordSauron <lor...@gm...> - 2006-02-15 03:30:27
|
Man... send in plaintext - it saves more space.
On 2/14/06, Alfred P. Reaud <al...@ya...> wrote:
> That's all in the calculus, and the concept of limits.
I try not to think with limits. When you put limits you limit
yourself. Leave yourself without limits and you are limitless. Don't
be scared by the concept of ininfity.
> In reality, think about what the zero operation means with respect to phy=
sics and
> quantum mechanics. As long as you deal with limits, the conventional wis=
dom applies.
> But at 0, things reach a boundary condition. This is illustrated by the=
Dirac Delta
> Function
I was talking more about logic, really, not physics and/or quantum mechanic=
s.
> First, for edification, let's address the identity: 1/(infinity) =3D 0, o=
n a common object, an
> orange. This orange, when divided, will eventually reach a slice which c=
an't be further
> divided and still give you an orange slice. That last slice, though of a=
molecular
You're not thinking abstractedly. When I think about math, I think
abstractedly, which has no limits. When you apply this to your
orange, while it's a good learning crutch, it natrually applies many
limits.
> thickness, is still the last slice. If you divide it further, you're not=
dealing with an orange
> anymore, rather you are dealing with constituent atoms and molecules. So=
you don't get
> an infinite number of orange slices, rather you get a finite though la=
rge number of
> slices.
>
> So what happens when you actually divide by 0? Physically, IMHO, you do =
not preform
> the operation. The physical operation 0 is a null operation (as in addit=
ion and
> subtraction). The logic is that if you try to divide an orange 0 times, =
you actually don't
> divide the orange by anything, i.e. 1/0 =3D 1 (with respect to physical o=
bjects). However,
> the identity 1*0 =3D 0 still works because as you're not preforming the m=
ultiplication (0 is
> the null operator, hence no operation), therefore the sum of additions wh=
ich make a
> multiplication isn't done, so the result is 0.
You're not making any logical or mathematical sense to me.
> This must be the reason why general relativity and quantum mechanics don'=
t meet...;^)
Since when do computers care about reality? When on a microprocessor,
you're working with the most abstractable thing there is! Pi can be 3
so long as it's proportionately reletive to the other numbers! What
is 1? Or 2? Numerics is entirely abstract. You can arbitrarily say
"that is 1 organge" but when you first defined the link between the
pure abstract and the numbers you lost a lot of precision, if you will
allow me to term it that way. Division by zero is very real, but real
division by zero is not, if you follow my meaning.
> Per Westermark <pw...@ia...> wrote:
> Why do you say that x/0 appr oximates to infinity?
That's how my math teacher termed it. What are we if nothing more
than parrots of what we were taught?
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
|
|
From: Alfred P. R. <al...@ya...> - 2006-02-15 01:32:22
|
That's all in the calculus, and the concept of limits. In reality, think about what the zero operation means with respect to physics and quantum mechanics. As long as you deal with limits, the conventional wisdom applies. But at 0, things reach a boundary condition. This is illustrated by the Dirac Delta Function First, for edification, let's address the identity: 1/(infinity) = 0, on a common object, an orange. This orange, when divided, will eventually reach a slice which can't be further divided and still give you an orange slice. That last slice, though of a molecular thickness, is still the last slice. If you divide it further, you're not dealing with an orange anymore, rather you are dealing with constituent atoms and molecules. So you don't get an infinite number of orange slices, rather you get a finite though large number of slices. So what happens when you actually divide by 0? Physically, IMHO, you do not preform the operation. The physical operation 0 is a null operation (as in addition and subtraction). The logic is that if you try to divide an orange 0 times, you actually don't divide the orange by anything, i.e. 1/0 = 1 (with respect to physical objects). However, the identity 1*0 = 0 still works because as you're not preforming the multiplication (0 is the null operator, hence no operation), therefore the sum of additions which make a multiplication isn't done, so the result is 0. This must be the reason why general relativity and quantum mechanics don't meet...;^) Per Westermark <pw...@ia...> wrote: Why do you say that x/0 approximates to infinity? x/0 approaches infinity if x gets closer and closer to zero from the positive side. It approaches -infinity if x gets closer and closer to zero from the negative side. Since limes x/0 -> infinity or -infinity depending on direction of x->0, is x/0 infinity, negative infinity or something completely else - the grand inconsistency you where thinking about :) /Per W On Mon, 13 Feb 2006, lordSauron wrote: > suppose I have a nonzero number x. x==x, right? so, x/0 should be > precisely equal to itself, no? We don't know what it is, true, since > it approximates to infinity, however, it should be the same unless I'm > hitting some grand inconsistency no one has yet told me about. Alfred P. Reaud |
|
From: Per W. <pw...@ia...> - 2006-02-13 23:01:01
|
How I love anti-spam software wanting me to confirm that I really want to use a mailing list. /Per W On Mon, 13 Feb 2006, AntiSpam UOL wrote: > ANTISPAM UOL =BB TIRA-TEIMA > =A0 =A0 > Ol=E1, > > Voc=EA enviou uma mensagem para mr...@uo... > Para que sua mensagem seja encaminhada, por favor, clique aqui > > =A0 > Esta confirma=E7=E3o =E9 necess=E1ria porque mr...@uo... usa o Anti= spam UOL, um programa que elimina mensagens enviadas por > rob=F4s, como pornografia, propaganda e correntes. > > As pr=F3ximas mensagens enviadas para mr...@uo... n=E3o precisar=E3= o ser confirmadas*. > *Caso voc=EA receba outro pedido de confirma=E7=E3o, por favor, pe=E7a pa= ra mr...@uo... inclu=ED-lo em sua lista de autorizados. > > Aten=E7=E3o! Se voc=EA n=E3o conseguir clicar no atalho acima, acesse est= e endere=E7o: > http://tira-teima.as.uol.com.br/challengeSender.html?data=3D0373VKtWBkdl%= 2BSWxhnyJs7mXlZCFF6uI532FNp5KuLx1w2jLqz9OjkdGgfMZ%2FA3VyxO5hVm > pCh0%0AIA31So907H7EV6V%2BC8HOS6hexJz9I738PmHf7fVCUHuwDEJbX%2BsOocQ%2FDach= QvhoI5yDuB0GB8oY%0ACCdc%2B4s5yETyQ%2FmP8%2BM%3D > > _________________________________________________________________________= _____________________________________________________________ > =A0 =A0 > Hi, > > You=B4ve just sent a message to mr...@uo... > In order to confirm the sent message, please click here > > =A0 > This confirmation is necessary because mr...@uo... uses Antispam UO= L, a service that avoids unwanted messages like > advertising, pornography, viruses, and spams. > > Other messages sent to mr...@uo... won't need to be confirmed*. > *If you receive another confirmation request, please ask mr...@uo....b= r to include you in his/her authorized e-mail list. > > Warning! If the link doesn=B4t work, please copy the address below and pa= ste it on your browser: > http://tira-teima.as.uol.com.br/challengeSender.html?data=3D0373VKtWBkdl%= 2BSWxhnyJs7mXlZCFF6uI532FNp5KuLx1w2jLqz9OjkdGgfMZ%2FA3VyxO5hVm > pCh0%0AIA31So907H7EV6V%2BC8HOS6hexJz9I738PmHf7fVCUHuwDEJbX%2BsOocQ%2FDach= QvhoI5yDuB0GB8oY%0ACCdc%2B4s5yETyQ%2FmP8%2BM%3D > Use o AntiSpam UOL e proteja sua caixa postal > RdFhCfCggWeb =3D '1996-'; > |
|
From: Per W. <pw...@ia...> - 2006-02-13 22:56:20
|
Why do you say that x/0 approximates to infinity? x/0 approaches infinity if x gets closer and closer to zero from the positive side. It approaches -infinity if x gets closer and closer to zero from the negative side. Since limes x/0 -> infinity or -infinity depending on direction of x->0, is x/0 infinity, negative infinity or something completely else - the grand inconsistency you where thinking about :) /Per W On Mon, 13 Feb 2006, lordSauron wrote: > suppose I have a nonzero number x. x==x, right? so, x/0 should be > precisely equal to itself, no? We don't know what it is, true, since > it approximates to infinity, however, it should be the same unless I'm > hitting some grand inconsistency no one has yet told me about. |
|
From: lordSauron <lor...@gm...> - 2006-02-13 21:56:44
|
On 2/13/06, Per Westermark <pw...@ia...> wrote:
> MySQL is used quite successfully in a huge number of systems, but just
> like Windows, there are a lot of people who like to critizise it.
Of course! Critics are your friends! How good do you think books
would be if the editors never *used* their red pens? Good,
constructive critiscism is something that you MUST learn to accept and
at best even welcome, since it's the only real way we can get a better
end-product.
> A number of well-needed functions didn't arrive until version 5, but
> version 4 was quite capable of solving most problems too. There is
> often more than one way to skin a cat. Some tools can handle more
> alternatives, some may handle fewer. However, the involved developer(s)
> are most often the limiting factors - do they have enough time and
> fantacy to produce really great things.
>
> But never forget that operating systems, databases, programming languages=
,
> editors etc are very sensitive affairs. Don't post a bad review of a
> well-known product to the wrong mailing list or you'll have a flame war o=
n
> your hands :)
Yeah, I was just curious about why the two were different. For my
needs ATM MySQL should work just fine - it's free, Open Source, fast,
stable, and well known and supported. However, I was really curious
as to why one could be better than the other - to me SQL is SQL no
matter how I look at it.
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
|
|
From: Reid T. <rei...@at...> - 2006-02-13 14:18:10
|
lordSauron wrote: >> PostgreSQL is another, ( in my opinion a better ), option. >> > > Why is it better? Just wondering - I have no data as to why it should > be better than MySQL. > > http://sql-info.de/mysql/gotchas.html vs http://sql-info.de/postgresql/postgres-gotchas.html http://sql-info.de/postgresql/ Also, PostgreSQL is completely free for ANY use -- BSD license, versus MySQL which is only free for certain uses. |
|
From: lordSauron <lor...@gm...> - 2006-02-13 01:30:04
|
On 2/12/06, Per Westermark <pw...@ia...> wrote:
> It is only the new include files that have their symbols in the std::
> namespace. With the older include files, no std:: is needed, since there
> was no namespace keyword in the original C++ standard.
Oh. I didn't reallize that. Thanks.
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
|
|
From: Per W. <pw...@ia...> - 2006-02-13 00:20:50
|
It is only the new include files that have their symbols in the std::
namespace. With the older include files, no std:: is needed, since there
was no namespace keyword in the original C++ standard.
/Per W
On Sun, 12 Feb 2006, lordSauron wrote:
> On 2/11/06, Per Westermark <pw...@ia...> wrote:
> > You could use the iostream.h. Note that the cited message was a warning,
> > not an error, and it explicitly said that the header you used was
> > deprecated, i.e. not recommended for use anymore.
>
> I just take that as a "don't use it - it's going to disappear soon!"
>
> There was nothing *wrong* with your original code, save for the
> #include -s and the lack of a using namespace std; Without namespace
> std; - correct me if I'm wrong - you'd need to do iostream::cout
> instead of a shorter cout call.
>
> So, you could forgo the using namespace std;, however, you would need
> to use iostream::cout and iostream::cin whenever trying to use
> something found in the iostream include.
>
> Also, to use system("pause"); you would need to include cstdlib (or
> cstdlib.h, take your pick). If you didn't use using namespace std;
> you would also need to use cstdlib::system("pause"); to make that
> system call. Also note that system("pause"); is only valid on MS DOS
> machines, since the pause command is not found in other shells like
> bash.
>
> That's my $0.02.
>
> > The file conio.h on the other hand is a non-standard file, i.e. a file
> > that have only existed on some platforms (normally old MS-DOS compilers).
> > Since most compilers does not have this file, it shouldn't - and in most
> > cases can't - be used.
> >
> > /Per W
> >
> > On Fri, 10 Feb 2006, Titi Anggono wrote:
> >
> > > Hi all,
> > >
> > > I just tried dev-cpp 4.9.9.2 today and began with
> > > ----------------
> > > #include <iostream.h>
> > > #include <conio.h>
> > > main()
> > > {
> > > cout <<"Hello word";
> > > getch();
> > > }
> > > -----------------
> > > the code wasn't compiled and I got following message "
> > > #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.
> > > ..."
> > >
> > > But, when I used stdio.h and replaced cout with printf
> > > the code compiled and the result shown.
> > > Can someone explaine why I couldn't use iostream
> > > header ?
> > >
> > > Thanks
> > > Titi
|
|
From: lordSauron <lor...@gm...> - 2006-02-13 00:12:59
|
On 2/12/06, Reid Thompson <Rei...@at...> wrote: > manuel pintaldi wrote: > > > > hi to all! > > > > how i can connect a mysql database to a c++ project.? i would like to > > use mysql or access database. > > > > Im using devcpp. > > > PostgreSQL is another, ( in my opinion a better ), option. Why is it better? Just wondering - I have no data as to why it should be better than MySQL. > http://sourceforge.net/mailarchive/message.php?msg_id=3D13151600http://so= urceforge.net/mailarchive/message.php?msg_id=3D13151600 > > > www.postgresql.org > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCS d-(++) s+: a? C++ UL+>++++ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y =3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D |
|
From: lordSauron <lor...@gm...> - 2006-02-13 00:09:49
|
On 2/11/06, Per Westermark <pw...@ia...> wrote:
> You could use the iostream.h. Note that the cited message was a warning,
> not an error, and it explicitly said that the header you used was
> deprecated, i.e. not recommended for use anymore.
I just take that as a "don't use it - it's going to disappear soon!"
There was nothing *wrong* with your original code, save for the
#include -s and the lack of a using namespace std; Without namespace
std; - correct me if I'm wrong - you'd need to do iostream::cout
instead of a shorter cout call.
So, you could forgo the using namespace std;, however, you would need
to use iostream::cout and iostream::cin whenever trying to use
something found in the iostream include.
Also, to use system("pause"); you would need to include cstdlib (or
cstdlib.h, take your pick). If you didn't use using namespace std;
you would also need to use cstdlib::system("pause"); to make that
system call. Also note that system("pause"); is only valid on MS DOS
machines, since the pause command is not found in other shells like
bash.
That's my $0.02.
> The file conio.h on the other hand is a non-standard file, i.e. a file
> that have only existed on some platforms (normally old MS-DOS compilers).
> Since most compilers does not have this file, it shouldn't - and in most
> cases can't - be used.
>
> /Per W
>
> On Fri, 10 Feb 2006, Titi Anggono wrote:
>
> > Hi all,
> >
> > I just tried dev-cpp 4.9.9.2 today and began with
> > ----------------
> > #include <iostream.h>
> > #include <conio.h>
> > main()
> > {
> > cout <<"Hello word";
> > getch();
> > }
> > -----------------
> > the code wasn't compiled and I got following message "
> > #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.
> > ..."
> >
> > But, when I used stdio.h and replaced cout with printf
> > the code compiled and the result shown.
> > Can someone explaine why I couldn't use iostream
> > header ?
> >
> > Thanks
> > Titi
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
=3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D
|
|
From: Reid T. <Rei...@at...> - 2006-02-12 22:57:59
|
manuel pintaldi wrote: > > hi to all! > > how i can connect a mysql database to a c++ project.? i would like to > use mysql or access database. > > Im using devcpp. > PostgreSQL is another, ( in my opinion a better ), option. http://sourceforge.net/mailarchive/message.php?msg_id=13151600http://sourceforge.net/mailarchive/message.php?msg_id=13151600 www.postgresql.org |
|
From: Per W. <pw...@ia...> - 2006-02-12 22:44:05
|
I have been doing a lot of work using the wxWidgets classes (wxDbTable etc). /Per W On Sun, 12 Feb 2006, manuel pintaldi wrote: > hi to all! > how i can connect a mysql database to a c++ project.? i would like to use mysql or access database. > Im using devcpp. > Thanks |
|
From: <au...@gm...> - 2006-02-12 21:09:23
|
Hi, > how i can connect a mysql database to a c++ project.? i would like to > use mysql or access database. MySQL C-API comes together with the MySQL database. Manual is available on http://www.mysql.com Good luck :) /Aurimas |
|
From: manuel p. <m_p...@ho...> - 2006-02-12 14:49:17
|
hi to all! how i can connect a mysql database to a c++ project.? i would like to use m= ysql or access database. Im using devcpp. Thanks _________________________________________________________________ Scarica gratuitamente MSN Toolbar! http://toolbar.msn.it/= |
|
From: Per W. <pw...@ia...> - 2006-02-11 12:45:34
|
You could use the iostream.h. Note that the cited message was a warning,
not an error, and it explicitly said that the header you used was
deprecated, i.e. not recommended for use anymore.
The file conio.h on the other hand is a non-standard file, i.e. a file
that have only existed on some platforms (normally old MS-DOS compilers).
Since most compilers does not have this file, it shouldn't - and in most
cases can't - be used.
/Per W
On Fri, 10 Feb 2006, Titi Anggono wrote:
> Hi all,
>
> I just tried dev-cpp 4.9.9.2 today and began with
> ----------------
> #include <iostream.h>
> #include <conio.h>
> main()
> {
> cout <<"Hello word";
> getch();
> }
> -----------------
> the code wasn't compiled and I got following message "
> #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.
> ..."
>
> But, when I used stdio.h and replaced cout with printf
> the code compiled and the result shown.
> Can someone explaine why I couldn't use iostream
> header ?
>
> Thanks
> Titi
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Rohit V. B. <rv...@gm...> - 2006-02-11 06:08:52
|
Eric Edwards wrote:
> Try this:
> #include <iostream.h>
> #include <stdlib.h>
try just <iostream> and <stdlib>
and "using namespace std;"
> int main()
> {
> cout <<"Hello word" << endl;
> system("PAUSE");
> return 0;
> }
--
Rohit V. Bhute
http://rvbhute.freelinuxhost.com/wordpress
|
|
From: Eric E. <eri...@sb...> - 2006-02-11 05:50:56
|
Try this:
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout <<"Hello word" << endl;
system("PAUSE");
return 0;
}
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Titi =
Anggono
Sent: Friday, February 10, 2006 10:40 PM
To: dev...@li...
Subject: [Dev-C++] help with cout
Hi all,
I just tried dev-cpp 4.9.9.2 today and began with=20
----------------
#include <iostream.h>
#include <conio.h>
main()
{
cout <<"Hello word";
getch();
}
-----------------
the code wasn't compiled and I got following message "
#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.
..."
But, when I used stdio.h and replaced cout with printf
the code compiled and the result shown.=20
Can someone explaine why I couldn't use iostream
header ?
Thanks
Titi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D=
121642
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Titi A. <tia...@ya...> - 2006-02-11 04:40:31
|
Hi all,
I just tried dev-cpp 4.9.9.2 today and began with
----------------
#include <iostream.h>
#include <conio.h>
main()
{
cout <<"Hello word";
getch();
}
-----------------
the code wasn't compiled and I got following message "
#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.
..."
But, when I used stdio.h and replaced cout with printf
the code compiled and the result shown.
Can someone explaine why I couldn't use iostream
header ?
Thanks
Titi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Per W. <pw...@ia...> - 2006-02-10 18:30:13
|
Do you somewhere in your path have any other tools with the same name as a Dev-C++ tool, i.e. is there a possibility that Dev-C++ might activate a (possibly old) console application instead of the intended Dev-C++-supplied tool of same name? /Per W On Fri, 10 Feb 2006, Matthew Link wrote: > > Sent: Monday 06 February 2006 03:51 AM > Subject: Re: [Dev-C++] Blank screen when starting Dev-C++? > > > Do u have a videocard by ATi? I read somewhere that dev-C+ was having problems with them. > > Maybe consider a driver update.. other than that i dunno. > > I''ve tried to use dev-C++, I've read most of the related msgs on the forums and everywhere else, but still can't get it to compile project files, so last night i gave up and found 2 other IDE's. > > if ur still having problems then try out: > > This is the best possibility I have heard so far. How can I tell if I have an ATI card without opening up my case? > > I have tried everything--uninstalling and reinstalling everything Dev-C++, manually deleting everything Dev-C++, using registry-cleaning utilities to remove everything Dev-C++, and the problem persists. This problem did NOT exist when I was still using Dev-C++ 5 on a Windows 98 machine, but it does it on this one, upon which I use Windows XP. > > It is not a serious problem, but it cannot be right and should be fixable. It is also probably hard on my monitor (no other programs I have do this). > > Here is the problem: When I run Dev-C++ 5, the screen goes blank momentarily (in the same manner as I were changing screen modes from the "Display Properties/Settings" menu) but then returns as if nothing happened. The same screen-blanking problem also happens when selecting the "Compiler Options" item from the "Tools" menu from the Dev-C++ application itself. I have not seen any other examples of this happening, using either Dev-C++ 5 or any other applications (including Dev-C++ 4). I would not like to go back to a previous version of the program just to avoid a problem that should not exist. I would like to fix the problem at hand instead. > > Does the development staff at Bloodshed have access to this list? Are they members? I think this should be reported as a "bug" but I have had no replies yet. What possibilities may be causing this? I will discuss them and what I have done to address them. > > > |
|
From: Matthew L. <ml...@ac...> - 2006-02-10 18:21:52
|
Sent: Monday 06 February 2006 03:51 AM Subject: Re: [Dev-C++] Blank screen when starting Dev-C++? Do u have a videocard by ATi? I read somewhere that dev-C+ was having = problems with them. Maybe consider a driver update.. other than that i dunno. I''ve tried to use dev-C++, I've read most of the related msgs on the = forums and everywhere else, but still can't get it to compile project = files, so last night i gave up and found 2 other IDE's.=20 if ur still having problems then try out: This is the best possibility I have heard so far. How can I tell if I = have an ATI card without opening up my case? =20 I have tried everything--uninstalling and reinstalling everything = Dev-C++, manually deleting everything Dev-C++, using registry-cleaning = utilities to remove everything Dev-C++, and the problem persists. This = problem did NOT exist when I was still using Dev-C++ 5 on a Windows 98 = machine, but it does it on this one, upon which I use Windows XP. =20 It is not a serious problem, but it cannot be right and should be = fixable. It is also probably hard on my monitor (no other programs I = have do this). =20 Here is the problem: When I run Dev-C++ 5, the screen goes blank = momentarily (in the same manner as I were changing screen modes from the = "Display Properties/Settings" menu) but then returns as if nothing = happened. The same screen-blanking problem also happens when selecting = the "Compiler Options" item from the "Tools" menu from the Dev-C++ = application itself. I have not seen any other examples of this = happening, using either Dev-C++ 5 or any other applications (including = Dev-C++ 4). I would not like to go back to a previous version of the = program just to avoid a problem that should not exist. I would like to = fix the problem at hand instead. =20 Does the development staff at Bloodshed have access to this list? Are = they members? I think this should be reported as a "bug" but I have had = no replies yet. What possibilities may be causing this? I will discuss = them and what I have done to address them.=20 |
|
From: lordSauron <lor...@gm...> - 2006-02-09 20:18:47
|
This is just a really ineducated last-resort idea, but it could be useful. Create a script to make a link to every .hxx file, the link name being the file but with .hpp or otherwise. You may need to make the links symbolic (if you're using windows, I don't know how you'd pull that off...) but it's just an idea. Otherwise, I think there's a way to have it recognise any file extension, but I don't know precisely where you'd indicate that. On 2/9/06, shubh chintak <ch...@ya...> wrote: > Hi > I am new to Dev C++. It looks wonderful. > I have a program which uses .hxx files instead of .h > or .hpp files as header files. Dev C++ does not > naturally look for .hxx files. I could include them > in the project by adding using the "all files" > option. But the class browser does not recognize these > as header files and hence does not look for class > declarations there. > So the class browser shows no classes. > > Can someone suggest a fix? (short of renaming > hundreds of hxx files to hpp files. That is not an > option as it is someone else's code. ) > > -Chintak > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GCS d-(++) s+: a? C++ UL+>++++ P+ L++ E--- W+(+++) N++ o? K? w--- O? M+ V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+ DI+++ D+ G e* h- !r !y =3D=3D=3D=3D=3D=3D=3D=3D=3D END GCv3.12 =3D=3D=3D=3D=3D=3D=3D=3D |
|
From: shubh c. <ch...@ya...> - 2006-02-09 20:13:00
|
Hi I am new to Dev C++. It looks wonderful. I have a program which uses .hxx files instead of .h or .hpp files as header files. Dev C++ does not naturally look for .hxx files. I could include them in the project by adding using the "all files" option. But the class browser does not recognize these as header files and hence does not look for class declarations there. So the class browser shows no classes. Can someone suggest a fix? (short of renaming hundreds of hxx files to hpp files. That is not an option as it is someone else's code. ) -Chintak __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: <lu...@wa...> - 2006-02-08 05:35:48
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> A virus?<br> <br> Matthew Link a écrit : <blockquote cite="mid000001c629e9$de4747d0$f0e4e004@ml1wgumf1dha41" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2745.2800" name="GENERATOR"> <style></style> <font face="Arial"> <div>Is there a reason why my screen would flash completely black for about one secong when starting Dev-C++? It does this as if the screen graphics settings are changing. It does this when starting the program, and when going into the tools/compiler options menu. There seems to be no other adverse effect, but this is not something that should be happening. Nothing like this happens with any other program I have. I have tried reinstalling and uninstalling with no sucess. Any ideas? Thank you.</div> </font></blockquote> <br> </body> </html> |