dev-cpp-users Mailing List for Dev-C++ (Page 217)
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: Manish S. <msh...@qu...> - 2004-05-21 10:37:53
|
Is it a standard that all declarations shud go into .h and implementations
in .cpp (or just a convention). Though I see that most compiler doesn't
allow to compile .h and even if they do, they give a linking error for
main() (even if it is present in .h)
Manish
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Vlada
Djurovic
Sent: Friday, May 21, 2004 3:46 PM
To: casper; dev...@li...
Subject: Re: [Dev-C++] linking .h file and .cpp file
----- Original Message -----
From: "casper" <oz...@op...>
To: <dev...@li...>
Sent: Friday, May 21, 2004 11:15 AM
Subject: [Dev-C++] linking .h file and .cpp file
> Hi,
>
> I have a file with .h extension which includes my main program.
I
> have put
>
> #include "logfuncion.cpp"
>
> In the .h extension file. And inside the .cpp file I have put
the
> function definitions.
>
> Both files are in the same directory, but the .h file failed to compile
> because of the error
>
> Undefined "logfuncion.cpp"
>
> How could I solve the problem?
>
> Thanks in advance.
>
It should be the other way around. Your function declarations should go in
.h file, and their definitions in .cpp.
For example:
---myheader.h---
class Myclass{
public void f();
public int g(int x);
}
--end of myheader.h---
And in mymain.cpp you should do:
----mymain.cpp------
#include <myheader.h>
void Myclass::f(){
//define function
}
int Myclass::g(int x){
//define function
}
----end mymain.cpp----
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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: Vlada D. <dj...@im...> - 2004-05-21 10:16:28
|
----- Original Message -----
From: "casper" <oz...@op...>
To: <dev...@li...>
Sent: Friday, May 21, 2004 11:15 AM
Subject: [Dev-C++] linking .h file and .cpp file
> Hi,
>
> I have a file with .h extension which includes my main program.
I
> have put
>
> #include "logfuncion.cpp"
>
> In the .h extension file. And inside the .cpp file I have put
the
> function definitions.
>
> Both files are in the same directory, but the .h file failed to compile
> because of the error
>
> Undefined "logfuncion.cpp"
>
> How could I solve the problem?
>
> Thanks in advance.
>
It should be the other way around. Your function declarations should go in
.h file, and their definitions in .cpp.
For example:
---myheader.h---
class Myclass{
public void f();
public int g(int x);
}
--end of myheader.h---
And in mymain.cpp you should do:
----mymain.cpp------
#include <myheader.h>
void Myclass::f(){
//define function
}
int Myclass::g(int x){
//define function
}
----end mymain.cpp----
|
|
From: Per W. <pw...@ia...> - 2004-05-21 10:05:49
|
How about doing it the same way the rest of the world does it: Declarations in *.h files. Code in *.cpp files. #include the *.h files. Add the *.cpp files to the project. /Per W On Fri, 21 May 2004, casper wrote: > Hi, > > I have a file with .h extension which includes my main program. I > have put > > #include "logfuncion.cpp" > > In the .h extension file. And inside the .cpp file I have put the > function definitions. > > Both files are in the same directory, but the .h file failed to compile > because of the error > > Undefined "logfuncion.cpp" > > How could I solve the problem? > > Thanks in advance. > > |
|
From: casper <oz...@op...> - 2004-05-21 09:15:36
|
Hi,
I have a file with .h extension which includes my main program. I
have put
#include "logfuncion.cpp"
In the .h extension file. And inside the .cpp file I have put the
function definitions.
Both files are in the same directory, but the .h file failed to compile
because of the error
Undefined "logfuncion.cpp"
How could I solve the problem?
Thanks in advance.
|
|
From: <sp...@po...> - 2004-05-20 23:08:04
|
Real Name wrote: [..] > Is 4.9 stable enough, for someone >not ready to overcome more than one >problem at a time, or should I stay at >version 4 ? > > I would recommend downloading this version: http://www.castlesofpoland.com/dev-cpp/dev-cpp-4.9.8.8_setup.exe and then overwriting the devcpp.exe (probably in c:\dev-cpp) with http://cvs.sourceforge.net/viewcvs.py/dev-cpp/V5/devcpp.exe?rev=1.136&view=auto http://cvs.sourceforge.net/viewcvs.py/dev-cpp/V5/devcpp.map?rev=1.43&view=auto it has two very commonly reported bugs fixed (OnNodeChange). I've spent some amount of time on fixing and importing devcpp but still bought the cd - I just like to support projects like this one. -- Marek Januszewski |
|
From: Per W. <pw...@ia...> - 2004-05-20 22:45:24
|
You should run the 4.9xxx versions. With the length of time they have been in "beta" phase, they have eradicated a lot of bugs. Besides having a lot more features, the "beta" version is also more stable and complete. /Per W On Thu, 20 May 2004, Real Name wrote: > Hi, > > So-far, every time I've posted a > question to this mailing list; I've > ended up, re-installing Windows; despite > using a commerical AV/firewall, with a > good recommendation. > Somebody on your mailing list, is > especially naughty. > > I ordered the CD, and installed > version 4; and was going to take a > look, at the online packages, but wasn't > offered the option to look at them, > because the program wanted to update to > version 4.9XXX. > > But, I've more than I can handle, > just trying to re-learn C++, after ten > years, of not looking at it; without > piling-on any problems that might pop-up > with beta-program bugs. > > Is 4.9 stable enough, for someone > not ready to overcome more than one > problem at a time, or should I stay at > version 4 ? > > Thanks, > Ken . > > > On Wed, 19 May 2004 20:01:21 -0700, you > wrote: > > >Send Dev-cpp-users mailing list submissions to > >=09d...@li... > > > >To subscribe or unsubscribe via the World Wide Web, visit > >=09https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > >or, via email, send a message with subject or body 'help' to > >=09d...@li... > > > >You can reach the person managing the list at > >=09d...@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. Insight5 (Fred J.) > > 2. unable to run program file (Nancy Alvarez) > > 3. Re: unable to run program file (sp...@po...) > > 4. #define for text ??? (=3D?ISO-8859-1?Q?A.Buschh=3DFCter?=3D) > > 5. Re: #define for text ??? (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D) > > > >--__--__-- > > > >Message: 1 > >Date: Wed, 19 May 2004 07:34:52 -0700 (PDT) > >From: "Fred J." <ph...@ya...> > >To: dev...@li... > >Subject: [Dev-C++] Insight5 > > > > > >Hello > > > >I was unable to download the file > >insight5_win32_exe.zip from Dev-C++ site so according > >to the instructions =E2=80=9Cnon-self-extracting version is > >available via the Dev-C++ development and resources > >page . which took me to http://www.bloodshed.net/dev/ > >but then that did not have the file so I went to > >http://www.bloodshed.net/dev/packages/index.html and > >under Development Tools, the link Insight 5 (2.8 MB): > >a graphical =E2=80=A6 > >http://devcpp.everfloyd.com/packages/bin/insight5_win32.zip > > did not work. > >Any way, I ended up getting insight-6.1.tar.bz2 from > >redhat ftp. Now that I untared it and have about 7000 > >files, where do I put all of them since the author did > >all that placement work in the zip file which I was > >unable to download. > > > >Thanks > > > > > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >SBC Yahoo! - Internet access at a great low price. > >http://promo.yahoo.com/sbc/ > > > > > >--__--__-- > > > >Message: 2 > >From: "Nancy Alvarez" <nai...@ho...> > >To: dev...@li... > >Date: Wed, 19 May 2004 23:08:15 +0000 > >Subject: [Dev-C++] unable to run program file > > > ><html><div style=3D'background-color:'><DIV class=3DRTE>Hi</DIV> > ><DIV class=3DRTE> </DIV> > ><DIV class=3DRTE>I download the DevC++ 4.9.8.0 . But d= ont get compiler any one program and appear this message = unable to run program file. What's happen.</DIV> > ><DIV class=3DRTE> </DIV> > ><DIV class=3DRTE>Thanks in advance </DIV></div><br clear=3Dall><hr>= MSN Amor <a href=3D"http://g.msn.com/8HMBES/2755??PS=3D47575">Busca tu =C2= =BD naranja</a> </html> > > > > > >--__--__-- > > > >Message: 3 > >Date: Wed, 19 May 2004 19:35:58 -0400 > >From: "sp...@po..." <sp...@po...> > >To: Nancy Alvarez <nai...@ho...> > >Cc: dev...@li... > >Subject: Re: [Dev-C++] unable to run program file > > > >Hi, > > > >try this installer: > >http://www.castlesofpoland.com/dev-cpp/dev-cpp-4.9.8.8_setup.exe > > > >-- > >Marek Januszewki > > > >Nancy Alvarez wrote: > > > >> Hi > >> =3D20 > >> I download the DevC++ 4.9.8.0 . But dont get compiler any one=3D20 > >> program and appear this message unable to run program file. =3D20 > >> What's happen. > >> =3D20 > >> Thanks in advance=3D20 > >> > >> ----------------------------------------------------------------------= -=3D > >- > >> MSN Amor Busca tu =3DBD naranja <http://g.msn.com/8HMBES/2755??PS=3D3D= 47575=3D > >>=3D20 > >> ------------------------------------------------------- This SF.Net=3D= 20 > >> email is sponsored by: Oracle 10g Get certified on the hottest thing= =3D20 > >> ever to hit the market... Oracle 10g. Take an Oracle 10g class now,=3D= 20 > >> and we'll give you the exam FREE.=3D20 > >> http://ads.osdn.com/?ad_id=3D3D3149&alloc_id=3D3D8166&op=3D3Dclick=3D2= 0 > >> _______________________________________________ Dev-cpp-users mailing= =3D20 > >> list Dev...@li... TO UNSUBSCRIBE:=3D20 > >> http://www23.brinkster.com/noicys/devcpp/ub.htm=3D20 > >> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=3D20 > > > > > > > > > >--__--__-- > > > >Message: 4 > >From: "=3D?ISO-8859-1?Q?A.Buschh=3DFCter?=3D" <A_B...@gm...> > >To: dev...@li... > >Date: Thu, 20 May 2004 02:01:57 +0200 > >Subject: [Dev-C++] #define for text ??? > > > >--Alt-Boundary-6455.285942 > >Content-type: text/plain; charset=3DUS-ASCII > >Content-transfer-encoding: 7BIT > >Content-description: Mail message body > > > >Hi, > >I have a problem, that shouldn't be a problem... ;) > >I've got a #define statement for the strings length, at the start of the= file. > >It works like it should, but in this case: > > > >#define MAXSTRING 256 > > > >void loadData(){ > > char iniFile[MAXSTRING]; // replaced > > cIniEd tmp; > > > > strcpy(iniFile, projekt_Data.projekt_Path); > > strcat(iniFile, "MAXSTRING.ini"); // not replaced > > tmp.setPfad(iniFile); > > > >} > >[/code] > > > >I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it ??? > > > > > >I also have another problem, with the newest uptade (4.9.8.9): > >or better: I'm still using V4.9.8.7 !!! > >Because 4.9.8.9 runs very unstable on my system or is pretty buggy ??? > >My System: W2Ksp4 with Dev-Cpp(4.9.8.7) > > > >CU, Acki > > > > > >--Alt-Boundary-6455.285942 > >Content-type: text/html; charset=3DUS-ASCII > >Content-transfer-encoding: 7BIT > >Content-description: Mail message body > > > ><?xml version=3D"1.0" ?><html> > ><head> > ><title></title> > ></head> > ><body> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= Hi,</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= I have a problem, that shouldn't be a problem...  ;)</span></font></di= v> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= I've got a #define statement for the strings length, at the start of the fi= le.</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= It works like it should, but in this case:</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= #define MAXSTRING 256</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= void loadData(){</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">=   char iniFile[MAXSTRING]; // replaced</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">=   cIniEd tmp;</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">=   strcpy(iniFile, projekt_Data.projekt_Path);</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">=   strcat(iniFile, "MAXSTRING.ini"); // not replaced</span></= font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">=   tmp.setPfad(iniFile);</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= }</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= [/code]</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= I get always "MAXSTRING.ini", but it should be "256.ini"= ;, doesn't it ???</span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= I also have another problem, with the newest uptade (4.9.8.9):</span></font= ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= or better: I'm still using V4.9.8.7 !!!</span></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= Because 4.9.8.9 runs very unstable on my system or is pretty buggy ???</spa= n></font></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= My System: W2Ksp4 with Dev-Cpp(4.9.8.7) </span></font></div> > ><div align=3D"left"><br/> > ></div> > ><div align=3D"left"><font face=3D"Arial"><span style=3D"font-size:10pt">= CU, Acki</span></font></div> > ><div align=3D"left"></div> > ></body> > ></html> > > > >--Alt-Boundary-6455.285942-- > > > > > > > >--__--__-- > > > >Message: 5 > >Date: Thu, 20 May 2004 04:19:19 +0200 > >From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > >To: dev...@li... > >Subject: Re: [Dev-C++] #define for text ??? > > > >A.Buschh=3DFCter wrote: > >> Hi, > >> I have a problem, that shouldn't be a problem... ;) > >> I've got a #define statement for the strings length, at the start of t= h=3D > >e=3D20 > >> file. > >> It works like it should, but in this case: > >>=3D20 > >> #define MAXSTRING 256 > >>=3D20 > >> void loadData(){ > >> char iniFile[MAXSTRING]; // replaced > >> cIniEd tmp; > >>=3D20 > >> strcpy(iniFile, projekt_Data.projekt_Path); > >> strcat(iniFile, "MAXSTRING.ini"); // not replaced > >> tmp.setPfad(iniFile); > >>=3D20 > >> } > >> [/code] > >>=3D20 > >> I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it ?= ?=3D > >? > > > >NO. The preproc |
|
From: Real N. <stg...@my...> - 2004-05-20 21:55:23
|
Hi,
So-far, every time I've posted a
question to this mailing list; I've
ended up, re-installing Windows; despite
using a commerical AV/firewall, with a
good recommendation.
Somebody on your mailing list, is
especially naughty.
I ordered the CD, and installed
version 4; and was going to take a
look, at the online packages, but wasn't
offered the option to look at them,
because the program wanted to update to
version 4.9XXX.
But, I've more than I can handle,
just trying to re-learn C++, after ten
years, of not looking at it; without
piling-on any problems that might pop-up
with beta-program bugs.
Is 4.9 stable enough, for someone
not ready to overcome more than one
problem at a time, or should I stay at
version 4 ?
Thanks,
Ken .
On Wed, 19 May 2004 20:01:21 -0700, you
wrote:
>Send Dev-cpp-users mailing list submissions to
> 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...
>
>You can reach the person managing the list at
> 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. Insight5 (Fred J.)
> 2. unable to run program file (Nancy Alvarez)
> 3. Re: unable to run program file (sp...@po...)
> 4. #define for text ??? (=3D?ISO-8859-1?Q?A.Buschh=3DFCter?=3D)
> 5. Re: #define for text ??? (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D)
>
>--__--__--
>
>Message: 1
>Date: Wed, 19 May 2004 07:34:52 -0700 (PDT)
>From: "Fred J." <ph...@ya...>
>To: dev...@li...
>Subject: [Dev-C++] Insight5
>
>
>Hello
>
>I was unable to download the file
>insight5_win32_exe.zip from Dev-C++ site so according
>to the instructions =E2=80=9Cnon-self-extracting version is
>available via the Dev-C++ development and resources
>page . which took me to http://www.bloodshed.net/dev/
>but then that did not have the file so I went to
>http://www.bloodshed.net/dev/packages/index.html and
>under Development Tools, the link Insight 5 (2.8 MB):
>a graphical =E2=80=A6
>http://devcpp.everfloyd.com/packages/bin/insight5_win32.zip
> did not work.
>Any way, I ended up getting insight-6.1.tar.bz2 from
>redhat ftp. Now that I untared it and have about 7000
>files, where do I put all of them since the author did
>all that placement work in the zip file which I was
>unable to download.
>
>Thanks=20
>
>
>
>
>=09
> =09
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! - Internet access at a great low price.
>http://promo.yahoo.com/sbc/
>
>
>--__--__--
>
>Message: 2
>From: "Nancy Alvarez" <nai...@ho...>
>To: dev...@li...
>Date: Wed, 19 May 2004 23:08:15 +0000
>Subject: [Dev-C++] unable to run program file
>
><html><div style=3D'background-color:'><DIV class=3DRTE>Hi</DIV>
><DIV class=3DRTE> </DIV>
><DIV class=3DRTE>I download the DevC++ 4.9.8.0 . But =
dont get compiler any one program and appear this =
message unable to run program file. What's =
happen.</DIV>
><DIV class=3DRTE> </DIV>
><DIV class=3DRTE>Thanks in advance </DIV></div><br =
clear=3Dall><hr>MSN Amor <a =
href=3D"http://g.msn.com/8HMBES/2755??PS=3D47575">Busca tu =C2=BD =
naranja</a> </html>
>
>
>--__--__--
>
>Message: 3
>Date: Wed, 19 May 2004 19:35:58 -0400
>From: "sp...@po..." <sp...@po...>
>To: Nancy Alvarez <nai...@ho...>
>Cc: dev...@li...
>Subject: Re: [Dev-C++] unable to run program file
>
>Hi,
>
>try this installer:
>http://www.castlesofpoland.com/dev-cpp/dev-cpp-4.9.8.8_setup.exe
>
>--
>Marek Januszewki
>
>Nancy Alvarez wrote:
>
>> Hi
>> =3D20
>> I download the DevC++ 4.9.8.0 . But dont get compiler any one=3D20
>> program and appear this message unable to run program file. =3D20
>> What's happen.
>> =3D20
>> Thanks in advance=3D20
>>
>> =
-----------------------------------------------------------------------=3D
>-
>> MSN Amor Busca tu =3DBD naranja =
<http://g.msn.com/8HMBES/2755??PS=3D3D47575=3D
>>=3D20
>> ------------------------------------------------------- This =
SF.Net=3D20
>> email is sponsored by: Oracle 10g Get certified on the hottest =
thing=3D20
>> ever to hit the market... Oracle 10g. Take an Oracle 10g class =
now,=3D20
>> and we'll give you the exam FREE.=3D20
>> =
http://ads.osdn.com/?ad_id=3D3D3149&alloc_id=3D3D8166&op=3D3Dclick=3D20
>> _______________________________________________ Dev-cpp-users =
mailing=3D20
>> list Dev...@li... TO UNSUBSCRIBE:=3D20
>> http://www23.brinkster.com/noicys/devcpp/ub.htm=3D20
>> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=3D20
>
>
>
>
>--__--__--
>
>Message: 4
>From: "=3D?ISO-8859-1?Q?A.Buschh=3DFCter?=3D" <A_B...@gm...>
>To: dev...@li...
>Date: Thu, 20 May 2004 02:01:57 +0200
>Subject: [Dev-C++] #define for text ???
>
>--Alt-Boundary-6455.285942
>Content-type: text/plain; charset=3DUS-ASCII
>Content-transfer-encoding: 7BIT
>Content-description: Mail message body
>
>Hi,
>I have a problem, that shouldn't be a problem... ;)
>I've got a #define statement for the strings length, at the start of the=
file.
>It works like it should, but in this case:
>
>#define MAXSTRING 256
>
>void loadData(){
> char iniFile[MAXSTRING]; // replaced
> cIniEd tmp;
>
> strcpy(iniFile, projekt_Data.projekt_Path);
> strcat(iniFile, "MAXSTRING.ini"); // not replaced
> tmp.setPfad(iniFile);
>
>}
>[/code]
>
>I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it ???
>
>
>I also have another problem, with the newest uptade (4.9.8.9):
>or better: I'm still using V4.9.8.7 !!!
>Because 4.9.8.9 runs very unstable on my system or is pretty buggy ???
>My System: W2Ksp4 with Dev-Cpp(4.9.8.7)=20
>
>CU, Acki
>
>
>--Alt-Boundary-6455.285942
>Content-type: text/html; charset=3DUS-ASCII
>Content-transfer-encoding: 7BIT
>Content-description: Mail message body
>
><?xml version=3D"1.0" ?><html>
><head>
><title></title>
></head>
><body>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">Hi,</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">I have a problem, that shouldn't be a =
problem...  ;)</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">I've got a #define statement for the strings =
length, at the start of the file.</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">It works like it should, but in this =
case:</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">#define MAXSTRING 256</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">void loadData(){</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">  char iniFile[MAXSTRING]; // =
replaced</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">  cIniEd tmp;</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">  strcpy(iniFile, =
projekt_Data.projekt_Path);</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">  strcat(iniFile, =
"MAXSTRING.ini"); // not replaced</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">  tmp.setPfad(iniFile);</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">}</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">[/code]</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">I get always "MAXSTRING.ini", but it =
should be "256.ini", doesn't it ???</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">I also have another problem, with the newest =
uptade (4.9.8.9):</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">or better: I'm still using V4.9.8.7 =
!!!</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">Because 4.9.8.9 runs very unstable on my system =
or is pretty buggy ???</span></font></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">My System: W2Ksp4 with Dev-Cpp(4.9.8.7) =
</span></font></div>
><div align=3D"left"><br/>
></div>
><div align=3D"left"><font face=3D"Arial"><span =
style=3D"font-size:10pt">CU, Acki</span></font></div>
><div align=3D"left"></div>
></body>
></html>
>
>--Alt-Boundary-6455.285942--
>
>
>
>--__--__--
>
>Message: 5
>Date: Thu, 20 May 2004 04:19:19 +0200
>From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...>
>To: dev...@li...
>Subject: Re: [Dev-C++] #define for text ???
>
>A.Buschh=3DFCter wrote:
>> Hi,
>> I have a problem, that shouldn't be a problem... ;)
>> I've got a #define statement for the strings length, at the start of =
th=3D
>e=3D20
>> file.
>> It works like it should, but in this case:
>>=3D20
>> #define MAXSTRING 256
>>=3D20
>> void loadData(){
>> char iniFile[MAXSTRING]; // replaced
>> cIniEd tmp;
>>=3D20
>> strcpy(iniFile, projekt_Data.projekt_Path);
>> strcat(iniFile, "MAXSTRING.ini"); // not replaced
>> tmp.setPfad(iniFile);
>>=3D20
>> }
>> [/code]
>>=3D20
>> I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it =
??=3D
>?
>
>NO. The preprocessor doesn't parse inside strings literals - that =
would=3D20
>cause very serious problems.
|
|
From: FABIAN H. <fhu...@ho...> - 2004-05-20 21:15:37
|
Hi!:
I am using wxwindows and I want to print a text page, but the font size
changes or is not like I see it in the screen. I have used some code of
the examples but seems to work just for graphics. How can I scale the text?
Fabian.
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
|
|
From: <gen...@ya...> - 2004-05-20 13:45:51
|
hey, you're trying to link a C++ program as a C program. that's what the problem should be. me. --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |
|
From: Alan C. (terra) <br...@te...> - 2004-05-20 13:23:27
|
Hello Everybody I tried compile a small program and occurs the errors above. Any idea? Thanks. Compiler: Default compiler Building Makefile: "Z:\Projects\portIO\Makefile.win" Executing make... make.exe -f "Z:\Projects\portIO\Makefile.win" all gcc.exe main.o -o "PortIO.exe" -L"Z:/Dev-Cpp/lib" main.o(.text+0x53):main.cpp: undefined reference to `__gxx_personality_sj= 0' main.o(.text+0x81):main.cpp: undefined reference to `_Unwind_SjLj_Registe= r' main.o(.text+0x9b):main.cpp: undefined reference to `std::cout' main.o(.text+0xaa):main.cpp: undefined reference to=20 `std::basic_ostream<char, std::char_traits<char> >& std::operator<<=20 <std::char_traits<char> >(std::basic_ostream<char,=20 std::char_traits<char> >&, char const*)' main.o(.text+0xf5):main.cpp: undefined reference to=20 `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(char = const*, std::_Ios_Openmode)' main.o(.text+0x110):main.cpp: undefined reference to=20 `std::basic_ios<char, std::char_traits<char> >::operator!() const' main.o(.text+0x123):main.cpp: undefined reference to `std::cout' main.o(.text+0x128):main.cpp: undefined reference to=20 `std::basic_ostream<char, std::char_traits<char> >& std::operator<<=20 <std::char_traits<char> >(std::basic_ostream<char,=20 std::char_traits<char> >&, char const*)' main.o(.text+0x140):main.cpp: undefined reference to=20 `std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()' main.o(.text+0x16b):main.cpp: undefined reference to=20 `std::basic_ios<char, std::char_traits<char> >::operator void*() const' main.o(.text+0x190):main.cpp: undefined reference to=20 `std::istream::get(char&)' main.o(.text+0x1a1):main.cpp: undefined reference to=20 `std::basic_ios<char, std::char_traits<char> >::operator void*() const' main.o(.text+0x1b4):main.cpp: undefined reference to `std::cout' main.o(.text+0x1b9):main.cpp: undefined reference to=20 `std::basic_ostream<char, std::char_traits<char> >& std::operator<<=20 <std::char_traits<char> >(std::basic_ostream<char,=20 std::char_traits<char> >&, char)' main.o(.text+0x1d3):main.cpp: undefined reference to=20 `std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()' main.o(.text+0x212):main.cpp: undefined reference to=20 `std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()' main.o(.text+0x236):main.cpp: undefined reference to `_Unwind_SjLj_Resume= ' main.o(.text+0x244):main.cpp: undefined reference to=20 `_Unwind_SjLj_Unregister' main.o(.text+0x273):main.cpp: undefined reference to=20 `std::ios_base::Init::Init()' main.o(.text+0x28e):main.cpp: undefined reference to=20 `std::ios_base::Init::~Init()' make.exe: *** [PortIO.exe] Error 1 Execution terminated --=20 Boa Sorte e a Paz do Senhor, [:>} Alan Candido ><> Analista de Pesquisa e Desenvolvimento Microsiga Intelligence - Bussiness Intelligence Work-flow, Datawarehouse & Portais __________________________________________________________ Mas o Senhor =E9 verdadeiramente Deus; Ele =E9 o Deus vivo e rei eterno... (Jeremias 10:10) |
|
From: Per W. <pw...@ia...> - 2004-05-20 09:31:16
|
Defines don't scan strings, but you can make the substitution first and
then convert to a string:
#define TOSTRING(s) #s
#define MAXSTRING 256
#define MAXSTRINGNAME TOSTRING(MAXSTRING) ".ini"
printf("Filename: %s",MAXSTRINGNAME);
or just
strcat(iniFile,TOSTRING(MAXSTRING) ".ini");
Note also that the ## operator may be used by preprocessor to concatenate
two arguments, as:
#define CONCAT(a,b) a ## b
/Per W
On Thu, 20 May 2004, OROSZI Bal=E1zs wrote:
A.Buschh=FCter wrote:
> Hi,
> I have a problem, that shouldn't be a problem... ;)
> I've got a #define statement for the strings length, at the start of the
> file.
> It works like it should, but in this case:
>
> #define MAXSTRING 256
>
> void loadData(){
> char iniFile[MAXSTRING]; // replaced
> cIniEd tmp;
>
> strcpy(iniFile, projekt_Data.projekt_Path);
> strcat(iniFile, "MAXSTRING.ini"); // not replaced
> tmp.setPfad(iniFile);
>
> }
> [/code]
>
> I get always "MAXSTRING.ini", but it shou
|
|
From: Ed C. <em...@to...> - 2004-05-20 04:22:55
|
Hi, I'm trying to add icons to popup menu items in a Win32 app I'm working on. The menus themselves are not a problem, but I have come up dry after trying - repeatedly - to Google this question. What I need is a method for adding an icon defined in a resource file next to the text in a popup menu, but entirely in C. I was able to find a few solutions in other languages and even a couple in C++; however, I need to keep this app purely in C, and am not sure how to do this. (Note: I am not looking to set monochrome check images, using SetMenuItemBitmaps(), but put an application-specified icon/bitmap with color in the same location) Any help is appreciated! Thanks. -Ed P.S. I'm comfortable with the Win32 API (and would MUCH prefer to use it over the MFC), but simply can't figure out where to start. |
|
From: <or...@vp...> - 2004-05-20 02:17:31
|
A.Buschh=FCter wrote:
> Hi,
> I have a problem, that shouldn't be a problem... ;)
> I've got a #define statement for the strings length, at the start of th=
e=20
> file.
> It works like it should, but in this case:
>=20
> #define MAXSTRING 256
>=20
> void loadData(){
> char iniFile[MAXSTRING]; // replaced
> cIniEd tmp;
>=20
> strcpy(iniFile, projekt_Data.projekt_Path);
> strcat(iniFile, "MAXSTRING.ini"); // not replaced
> tmp.setPfad(iniFile);
>=20
> }
> [/code]
>=20
> I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it ??=
?
NO. The preprocessor doesn't parse inside strings literals - that would=20
cause very serious problems.
--
Greets,
Bal=E1zs
|
|
From: <A_B...@gm...> - 2004-05-20 00:01:23
|
Hi,
I have a problem, that shouldn't be a problem... ;)
I've got a #define statement for the strings length, at the start of the file.
It works like it should, but in this case:
#define MAXSTRING 256
void loadData(){
char iniFile[MAXSTRING]; // replaced
cIniEd tmp;
strcpy(iniFile, projekt_Data.projekt_Path);
strcat(iniFile, "MAXSTRING.ini"); // not replaced
tmp.setPfad(iniFile);
}
[/code]
I get always "MAXSTRING.ini", but it should be "256.ini", doesn't it ???
I also have another problem, with the newest uptade (4.9.8.9):
or better: I'm still using V4.9.8.7 !!!
Because 4.9.8.9 runs very unstable on my system or is pretty buggy ???
My System: W2Ksp4 with Dev-Cpp(4.9.8.7)
CU, Acki
|
|
From: <sp...@po...> - 2004-05-19 23:32:26
|
Hi, try this installer: http://www.castlesofpoland.com/dev-cpp/dev-cpp-4.9.8.8_setup.exe -- Marek Januszewki Nancy Alvarez wrote: > Hi > =20 > I download the DevC++ 4.9.8.0 . But dont get compiler any one=20 > program and appear this message unable to run program file. =20 > What's happen. > =20 > Thanks in advance=20 > > -----------------------------------------------------------------------= - > MSN Amor Busca tu =BD naranja <http://g.msn.com/8HMBES/2755??PS=3D47575= >=20 > ------------------------------------------------------- This SF.Net=20 > email is sponsored by: Oracle 10g Get certified on the hottest thing=20 > ever to hit the market... Oracle 10g. Take an Oracle 10g class now,=20 > and we'll give you the exam FREE.=20 > http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick=20 > _______________________________________________ Dev-cpp-users mailing=20 > list Dev...@li... TO UNSUBSCRIBE:=20 > http://www23.brinkster.com/noicys/devcpp/ub.htm=20 > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |
|
From: Nancy A. <nai...@ho...> - 2004-05-19 23:08:26
|
<html><div style='background-color:'><DIV class=RTE>Hi</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>I download the DevC++ 4.9.8.0 . But dont get compiler any one program and appear this message unable to run program file. What's happen.</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Thanks in advance </DIV></div><br clear=all><hr>MSN Amor <a href="http://g.msn.com/8HMBES/2755??PS=47575">Busca tu ½ naranja</a> </html> |
|
From: Fred J. <ph...@ya...> - 2004-05-19 14:34:57
|
Hello I was unable to download the file insight5_win32_exe.zip from Dev-C++ site so according to the instructions non-self-extracting version is available via the Dev-C++ development and resources page . which took me to http://www.bloodshed.net/dev/ but then that did not have the file so I went to http://www.bloodshed.net/dev/packages/index.html and under Development Tools, the link Insight 5 (2.8 MB): a graphical http://devcpp.everfloyd.com/packages/bin/insight5_win32.zip did not work. Any way, I ended up getting insight-6.1.tar.bz2 from redhat ftp. Now that I untared it and have about 7000 files, where do I put all of them since the author did all that placement work in the zip file which I was unable to download. Thanks __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ |
|
From: Per W. <pw...@ia...> - 2004-05-19 00:30:26
|
wxWidgets have nice odbc classes to perform this. See: www.wxwindows.org /Per W On Wed, 19 May 2004, Diego A. Gonz=E1lez Arroyo wrote: > Hi, I=91m trying to update a ms access table using sql with Dev-C++ > > > > I want to execute this line: > > > > Update MyTable set A=3DvalueA where B=3DvalueB > > > > which will modify a ms access database. The system dsn is =93TestDB=94 > > > > How can I do it? Is it possible with Dev-C++? > > > > Thanks > > > > > > > > > > |
|
From: <dgo...@gr...> - 2004-05-18 23:37:21
|
Hi, I=91m trying to update a ms access table using sql with Dev-C++ =20 I want to execute this line: =20 Update MyTable set A=3DvalueA where B=3DvalueB =20 which will modify a ms access database. The system dsn is =93TestDB=94 =20 How can I do it? Is it possible with Dev-C++? =20 Thanks =20 =20 =20 =20 |
|
From: <A_B...@gm...> - 2004-05-18 23:18:29
|
When does DevCpp save the layout file of the projekt ??? Some times it is written, some times not... :( I mean this file which stores for example what files are opened and the cursor position in this files !!! is there a flag or option to be set ??? CU, Acki |
|
From: <or...@vp...> - 2004-05-18 22:11:54
|
Tim Schumacher wrote:
> !object you can do with overloading operators, for just checking object
> I didnt figured out yet. This is a small Program which I tried and
> seemed to work:
I think I found it :)
----
/**
* @brief The quick-and-easy status check.
*
* This allows you to write constructs such as
* "if (!a_stream) ..." and "while (a_stream) ..."
*/
operator void*() const
{ return this->fail() ? 0 : const_cast<basic_ios*>(this); }
bool
operator!() const
{ return this->fail(); }
----
Seems I was right about the conversion, but they simplified the whole=20
thing with converting it to void*, as it will also be used in a bool=20
context (one less operator overload to write).
I still wonder, what if I write a bool conversion operator only. Then I=20
wouldn't even need operator!, because bool conversion is made first, and=20
"not" (operator!) is used afterwards for the converted bool value.
It's late now. I'll write some test-progs tomorrow.
--
Greetings,
Bal=E1zs
|
|
From: Tim S. <ti...@we...> - 2004-05-18 21:32:03
|
Hi Oroszi,
you wrote:
> I'm just courious about how can I "evaluate" an object, like fstream=20
> does it:
>=20
> ifstream infile( "C:/file.txt" );
> if ( !infile ) { /*...*/ }
>=20
> Is it done with the type conversion operator (converting to bool)?
!object you can do with overloading operators, for just checking object
I didnt figured out yet. This is a small Program which I tried and
seemed to work:
<<<<<<<<<<<<<< Schnip <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#include <iostream>
=
=20
using namespace std;
=
=20
class test
{
private:
bool bimbes;
public:
bool operator!()
{
return bimbes;
}
test(bool a)
{
bimbes =3D a;
}
=
=20
};
=
=20
int main()
{
test blub =3D test(true);
if (!blub)
{
cout << "Cool!" << endl;
}
return 0;
}
>>>>>>>>>>>> Schnapp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
but if you want to know how it works exactly, just look at the source of
fstream.
so long
Tim
--=20
http://we-are-teh-b.org/~tim/borg.key
http://learn.to/quote
|
|
From: <or...@vp...> - 2004-05-18 19:23:01
|
Hi!
I'm just courious about how can I "evaluate" an object, like fstream=20
does it:
ifstream infile( "C:/file.txt" );
if ( !infile ) { /*...*/ }
Is it done with the type conversion operator (converting to bool)?
--
Greetings,
Bal=E1zs
|
|
From: <gen...@ya...> - 2004-05-18 13:04:17
|
let's say i use jpeglib to load my nice, shiny jpeg into memory. i want to display it using a HDC. how can i do that? if i can't, does mingw support GDI+? --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |
|
From: Dane E. <DE...@pa...> - 2004-05-17 16:40:31
|
Thanks for helping me solve my function problem. Here is what I did
based on your input:
=20
1. I placed the function prototype after I declared my struct
2. my new function prototype reads:=20
void CreateEmployee (struct Emp [], int);
=20
3. In main I created the array with an int variable:
Emp Employee[qty];
=20
4. In the function headerline I changed it to read:=20
void CreateEmployee(Emp Employee[], int qty)
=20
No compile errors now.=20
=20
Best regards,=20
=20
Dane
=20
|