dev-cpp-users Mailing List for Dev-C++ (Page 73)
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: rodolfo d'E. <rod...@ho...> - 2006-10-13 05:33:24
|
Hi,
Try this:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("hello\n");
system("PAUSE");
return 0;
}
The instruction system("PAUSE") will allow you to see the black screen with
"hello", otherwise it will flash and go. Good things do not last long.
Regards
Rodolfo
>From: subhankar chakraborty <sub...@ya...>
>To: dev...@li...
>Subject: [Dev-C++] unable to view output
>Date: Thu, 12 Oct 2006 20:39:05 -0700 (PDT)
>
>Hello I downloaded the beta version of Dev-C++ and wrote a program based on
>the instructions in the help page. I am new to computer programming . When
>I tried to RUN the program there was a brief flash and a screen appeared
>for a second and disappeared. Why is it that I cannot see the output on my
>screen. My OS is Windows XP professional 2000.Can you please suggest what
>is wrong?
>
>Dr. Subhankar Chakraborty
>Graduate Student
>Department of Biochemistry and Molecular Biology
>University Of Nebraska medical Center
>Omaha, United States of America.
>Mobile: 402-201-6778
>lab- 1-(402)-559-7754
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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: subhankar c. <sub...@ya...> - 2006-10-13 03:39:14
|
Hello I downloaded the beta version of Dev-C++ and wrote a program based on= the instructions in the help page. I am new to computer programming . When= I tried to RUN the program there was a brief flash and a screen appeared f= or a second and disappeared. Why is it that I cannot see the output on my s= creen. My OS is Windows XP professional 2000.Can you please suggest what is= wrong?=0A =0ADr. Subhankar Chakraborty=0AGraduate Student= =0ADepartment of Biochemistry and Molecular Biology=0AUniversity Of Nebrask= a medical Center=0AOmaha, United States of America.=0AMobile: 402-201-6778= =0Alab- 1-(402)-559-7754=0A=0A |
|
From: Omar B. E. <oba...@gm...> - 2006-10-10 08:46:40
|
I am not completely sure but if I remember correctly you have to enable debugging symbols (or debugging info) in the LINKER options. Cheers, Omar. On Mon, 2006-10-09 at 10:23 -0700, gary watson wrote: > What's the trick to getting debugging enabled. I keep getting the > screen saying "you do not have debugging information , do you want to > rebuild", but can't step through the program. Then after multiple > attempts and fiddling with the Tools/Compiler Options, suddenly > debugging works. I have not found the combination that makes it work > the first time. Any pearls of wisdom? > > Gary Watson > OSU > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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: Fernando L. <fer...@gm...> - 2006-10-09 19:24:51
|
The argument is an angle in radians, try PI/2. Best regards, Fernando On 10/9/06, Yohaan Hall <jsh...@ho...> wrote: > > howdy!!! i am not able to utilizr the trigonometric functions in the math > becauuse the program will give an answer of cos(90) as .44 instead of > zero... is this a programming error has anyone else found this problem?? > > _________________________________________________________________ > All-in-one security and maintenance for your PC. Get a free 90-day trial! > > http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > 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 > > > -- Fernando Lichtschein li...@fi... |
|
From: Yohaan H. <jsh...@ho...> - 2006-10-09 18:43:11
|
howdy!!! i am not able to utilizr the trigonometric functions in the math becauuse the program will give an answer of cos(90) as .44 instead of zero... is this a programming error has anyone else found this problem?? _________________________________________________________________ All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail |
|
From: gary w. <wa...@ee...> - 2006-10-09 17:23:56
|
What's the trick to getting debugging enabled. I keep getting the screen saying "you do not have debugging information , do you want to rebuild", but can't step through the program. Then after multiple attempts and fiddling with the Tools/Compiler Options, suddenly debugging works. I have not found the combination that makes it work the first time. Any pearls of wisdom? Gary Watson OSU |
|
From: Alessandro B. <ale...@is...> - 2006-10-06 13:17:04
|
I read in the e-mail of Per Westermark about drawn.c the existence of Gnu Visual Debugger. I tried to download from Internet but it isn't to the site (https://libre2.adacore.com/gvd/gvd-1.2.5-nt.exe) and now it is available only together with GNAT. Someone knows where is possbile to download gvd stand alone? Or other similar graphical debugger (in my experience the one included in DevC++ is not very stable). Thanks Alessandro |
|
From: Per W. <pw...@ia...> - 2006-10-06 10:22:21
|
You did remember to compile without optimization? Adding debug information but not turning off optimization makes for very interesting debugging, since the compiler will rearrange the order of the generated code compared to the order of the source lines. Debugging an optimized binary is only meaningful in assemply mode, to look for code code that isn't behaving correctly under optimization, i.e. that is compiled with wrong flags (assumption of aliasing for example) or if the compiler is suspected of generating incorrect (or bad) code. /Per W On Fri, 6 Oct 2006, IraqiGeek wrote: > Hi all, > > Rodolfo sent me the version in which he added winsock.h and that compiled > fine under Dev-C++. However, the GNU debugger was still skipping lines of > code when I traced the execution of dcraw.c (which was the purpose of all > this, so I could understand the various file formats its capable of dealing > with). But thanks to Rodolfo's file, and a couple of questions on the > Borland C++ Builder group, I managed to compile and run dcraw successfully > under the recently released Borland Turbo C++, and its debugger is tracing > every step of the code as it should and now I got a pretty good idea about > all those raw file formats. > > So, thank you all, because without your help I wouldn't have been able to do > this. > > > Regards, > IraqiGeek > www.iraqigeek.com > > Sorry no quote today. > > > On Wednesday, October 04, 2006 12:32 AM GMT, > rodolfo d'Ettorre <rod...@ho...> wrote: > > > Hi, > > > > I included #include <winsock.h> to dcraw.c and in project options > > > parameters > linker I added > > -wsock32. Also I added -DNO_JPEG and -DNO_LCMS project optiobs > > > parameters > compiler and it compiled. > > > > Saludos > > > > Rodolfo d'Ettorre > > > > > >> From: "IraqiGeek" <ge...@Ir...> > >> To: <dev...@li...> > >> Subject: [Dev-C++] can't compile dcraw.c > >> Date: Tue, 3 Oct 2006 10:40:11 +0100 > >> > >> Hi all, > >> > >> I'm trying to compile David Coffin's infamous dcraw.c (a raw camera > >> converter that supports most cameras out there) mostly so I could > >> trace his code to see how he's reading the various raw file formats. > >> However, I can't seem to be able to convince dev-cpp 4.9.9.2 to do > >> that. > >> > >> I am passing -DNO_JPEG and -DNO_LCMS to the compiler, which got me > >> to build dcraw.c on djgpp (with rhide). > >> > >> When compiling on dev-cpp with the above parameters, initially it > >> objects on > >> a #include<netinet/in.h>, and after I comment that, it objects > >> saying its detecting recursion while expanding a macro within > >> dcraw.c, namely sget4. It > >> also says that its detecting recursion on expanding macro image, but > >> as far as I can tell, image is a global vector variable. > >> > >> So, if dev-cpp and djgpp are both based on gcc, why is dcraw.c > >> compiling under one and refusing to compile under the other? > >> > >> dcraw.c can be downloaded from David Coffin's page at: > >> http://cybercom.net/~dcoffin/dcraw/ > >> > >> Any help would be greatly appretiated. > >> > >> > >> Regards, > >> IraqiGeek > >> www.iraqigeek.com > >> > >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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: IraqiGeek <ge...@Ir...> - 2006-10-06 09:15:09
|
Hi all, Rodolfo sent me the version in which he added winsock.h and that compiled fine under Dev-C++. However, the GNU debugger was still skipping lines of code when I traced the execution of dcraw.c (which was the purpose of all this, so I could understand the various file formats its capable of dealing with). But thanks to Rodolfo's file, and a couple of questions on the Borland C++ Builder group, I managed to compile and run dcraw successfully under the recently released Borland Turbo C++, and its debugger is tracing every step of the code as it should and now I got a pretty good idea about all those raw file formats. So, thank you all, because without your help I wouldn't have been able to do this. Regards, IraqiGeek www.iraqigeek.com Sorry no quote today. On Wednesday, October 04, 2006 12:32 AM GMT, rodolfo d'Ettorre <rod...@ho...> wrote: > Hi, > > I included #include <winsock.h> to dcraw.c and in project options > > parameters > linker I added > -wsock32. Also I added -DNO_JPEG and -DNO_LCMS project optiobs > > parameters > compiler and it compiled. > > Saludos > > Rodolfo d'Ettorre > > >> From: "IraqiGeek" <ge...@Ir...> >> To: <dev...@li...> >> Subject: [Dev-C++] can't compile dcraw.c >> Date: Tue, 3 Oct 2006 10:40:11 +0100 >> >> Hi all, >> >> I'm trying to compile David Coffin's infamous dcraw.c (a raw camera >> converter that supports most cameras out there) mostly so I could >> trace his code to see how he's reading the various raw file formats. >> However, I can't seem to be able to convince dev-cpp 4.9.9.2 to do >> that. >> >> I am passing -DNO_JPEG and -DNO_LCMS to the compiler, which got me >> to build dcraw.c on djgpp (with rhide). >> >> When compiling on dev-cpp with the above parameters, initially it >> objects on >> a #include<netinet/in.h>, and after I comment that, it objects >> saying its detecting recursion while expanding a macro within >> dcraw.c, namely sget4. It >> also says that its detecting recursion on expanding macro image, but >> as far as I can tell, image is a global vector variable. >> >> So, if dev-cpp and djgpp are both based on gcc, why is dcraw.c >> compiling under one and refusing to compile under the other? >> >> dcraw.c can be downloaded from David Coffin's page at: >> http://cybercom.net/~dcoffin/dcraw/ >> >> Any help would be greatly appretiated. >> >> >> Regards, >> IraqiGeek >> www.iraqigeek.com >> >> |
|
From: rodolfo d'E. <rod...@ho...> - 2006-10-06 04:29:06
|
Hi, I could compille dcraw.c with dev-c++ (mingw compiler). I just added #include <winsock.h> to dcraw.c and -lwsock32 to the linker parameters. Regards Rodolfo d'Ettorre >From: Per Westermark <pw...@ia...> >To: IraqiGeek <ge...@Ir...> >CC: Dev...@li... >Subject: Re: [Dev-C++] dcraw.c >Date: Wed, 4 Oct 2006 00:12:15 +0200 (CEST) > >Note that a number of functions used by MinGW (the compiler with Dev-C++) >is using windows libraries, instead of unix-compatible libraries. > >For example, serial ports and networking are win32-based. I noticed >that you had problems with the include file <netinet/in.h>. For >networking, you have to modify the code to use winsock. > >When skipping expected include files, things have a tendancy to go down >the drain quite quickly. However, since we are talking about a conversion >program, I would assume that it really don't need any networking support. >Probably just some helper functions or macros from the file. For example >the ntohl/ntohs/htonl/htons functions (or macros depending on >implementation) from converting between host and network byte order in >case any of the raw file formats - or output file formats - happen to use >network byte order of the data. > >the glib include gtypes.h does have g_ntohx and g_htonx functions/macros. >Try to scan your include directories for alternative header files that >contains similar or same defines as the ones your compiler is complaining >about. > >There is a built-in debugger in Dev-C++, but I can't really recommend it. >I normally use an external debugger. One example is Gnu Visual Debugger >(gvd). > >/Per W > >On Tue, 3 Oct 2006, IraqiGeek wrote: > > > On Tuesday, October 03, 2006 4:21 PM GMT, > > Matt VanAvery <mat...@ya...> wrote: > > > > > I compiled dcraw.c in FreeBSD 6.1 with no problems using: > > > > > > gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS > > > > > > Matt > > > > > > > Matt, > > > > Thanks for your reply, however my problem is that I'm trying to compile >it > > under Dev-C++ 4.9.9.2 without success. So far, I have managed to compile >it > > under djgpp without problems using -DNO_JPEG and -DNO_LCMS (note that it > > should compile fine even without those directives, but I dont need those >two > > features anyway). The application was written to compile natively on >*nix > > systems, which means you shouldn't have any problems compiling it. > > > > I need to trace the execution of dcraw to get to know how its decoding >the > > various types of raw image formats. I tried to do that using rhide, but >it > > keeps skipping code. I'm used to graphical debuggers (I've been using > > Borland C++ builder for quite some time, and before that used Borland's > > Turbo C++). So, using GDB without any front end (under windows) will be > > quite problematic for me. > > > > > > > > Regards, > > IraqiGeek > > www.iraqigeek.com > > > > What you do speaks so loudly that I cannot hear what you say. > > Ralph Waldo Emerson > > > > > > >------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share >your > > opinions on IT & business topics through brief surveys -- and earn cash > > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > 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 > > > > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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: rodolfo d'E. <rod...@ho...> - 2006-10-03 23:32:33
|
Hi, I included #include <winsock.h> to dcraw.c and in project options > parameters > linker I added -wsock32. Also I added -DNO_JPEG and -DNO_LCMS project optiobs > parameters > compiler and it compiled. Saludos Rodolfo d'Ettorre >From: "IraqiGeek" <ge...@Ir...> >To: <dev...@li...> >Subject: [Dev-C++] can't compile dcraw.c >Date: Tue, 3 Oct 2006 10:40:11 +0100 > >Hi all, > >I'm trying to compile David Coffin's infamous dcraw.c (a raw camera >converter that supports most cameras out there) mostly so I could trace his >code to see how he's reading the various raw file formats. However, I can't >seem to be able to convince dev-cpp 4.9.9.2 to do that. > >I am passing -DNO_JPEG and -DNO_LCMS to the compiler, which got me to build >dcraw.c on djgpp (with rhide). > >When compiling on dev-cpp with the above parameters, initially it objects >on >a #include<netinet/in.h>, and after I comment that, it objects saying its >detecting recursion while expanding a macro within dcraw.c, namely sget4. >It >also says that its detecting recursion on expanding macro image, but as far >as I can tell, image is a global vector variable. > >So, if dev-cpp and djgpp are both based on gcc, why is dcraw.c compiling >under one and refusing to compile under the other? > >dcraw.c can be downloaded from David Coffin's page at: >http://cybercom.net/~dcoffin/dcraw/ > >Any help would be greatly appretiated. > > >Regards, >IraqiGeek >www.iraqigeek.com > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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: Per W. <pw...@ia...> - 2006-10-03 22:12:41
|
Note that a number of functions used by MinGW (the compiler with Dev-C++) is using windows libraries, instead of unix-compatible libraries. For example, serial ports and networking are win32-based. I noticed that you had problems with the include file <netinet/in.h>. For networking, you have to modify the code to use winsock. When skipping expected include files, things have a tendancy to go down the drain quite quickly. However, since we are talking about a conversion program, I would assume that it really don't need any networking support. Probably just some helper functions or macros from the file. For example the ntohl/ntohs/htonl/htons functions (or macros depending on implementation) from converting between host and network byte order in case any of the raw file formats - or output file formats - happen to use network byte order of the data. the glib include gtypes.h does have g_ntohx and g_htonx functions/macros. Try to scan your include directories for alternative header files that contains similar or same defines as the ones your compiler is complaining about. There is a built-in debugger in Dev-C++, but I can't really recommend it. I normally use an external debugger. One example is Gnu Visual Debugger (gvd). /Per W On Tue, 3 Oct 2006, IraqiGeek wrote: > On Tuesday, October 03, 2006 4:21 PM GMT, > Matt VanAvery <mat...@ya...> wrote: > > > I compiled dcraw.c in FreeBSD 6.1 with no problems using: > > > > gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS > > > > Matt > > > > Matt, > > Thanks for your reply, however my problem is that I'm trying to compile it > under Dev-C++ 4.9.9.2 without success. So far, I have managed to compile it > under djgpp without problems using -DNO_JPEG and -DNO_LCMS (note that it > should compile fine even without those directives, but I dont need those two > features anyway). The application was written to compile natively on *nix > systems, which means you shouldn't have any problems compiling it. > > I need to trace the execution of dcraw to get to know how its decoding the > various types of raw image formats. I tried to do that using rhide, but it > keeps skipping code. I'm used to graphical debuggers (I've been using > Borland C++ builder for quite some time, and before that used Borland's > Turbo C++). So, using GDB without any front end (under windows) will be > quite problematic for me. > > > > Regards, > IraqiGeek > www.iraqigeek.com > > What you do speaks so loudly that I cannot hear what you say. > Ralph Waldo Emerson > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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: IraqiGeek <ge...@Ir...> - 2006-10-03 15:34:29
|
On Tuesday, October 03, 2006 4:21 PM GMT, Matt VanAvery <mat...@ya...> wrote: > I compiled dcraw.c in FreeBSD 6.1 with no problems using: > > gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS > > Matt > Matt, Thanks for your reply, however my problem is that I'm trying to compile it under Dev-C++ 4.9.9.2 without success. So far, I have managed to compile it under djgpp without problems using -DNO_JPEG and -DNO_LCMS (note that it should compile fine even without those directives, but I dont need those two features anyway). The application was written to compile natively on *nix systems, which means you shouldn't have any problems compiling it. I need to trace the execution of dcraw to get to know how its decoding the various types of raw image formats. I tried to do that using rhide, but it keeps skipping code. I'm used to graphical debuggers (I've been using Borland C++ builder for quite some time, and before that used Borland's Turbo C++). So, using GDB without any front end (under windows) will be quite problematic for me. Regards, IraqiGeek www.iraqigeek.com What you do speaks so loudly that I cannot hear what you say. Ralph Waldo Emerson |
|
From: Matt V. <mat...@ya...> - 2006-10-03 15:22:09
|
I compiled dcraw.c in FreeBSD 6.1 with no problems using: gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS Matt --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. |
|
From: IraqiGeek <ge...@Ir...> - 2006-10-03 09:40:40
|
Hi all, I'm trying to compile David Coffin's infamous dcraw.c (a raw camera converter that supports most cameras out there) mostly so I could trace his code to see how he's reading the various raw file formats. However, I can't seem to be able to convince dev-cpp 4.9.9.2 to do that. I am passing -DNO_JPEG and -DNO_LCMS to the compiler, which got me to build dcraw.c on djgpp (with rhide). When compiling on dev-cpp with the above parameters, initially it objects on a #include<netinet/in.h>, and after I comment that, it objects saying its detecting recursion while expanding a macro within dcraw.c, namely sget4. It also says that its detecting recursion on expanding macro image, but as far as I can tell, image is a global vector variable. So, if dev-cpp and djgpp are both based on gcc, why is dcraw.c compiling under one and refusing to compile under the other? dcraw.c can be downloaded from David Coffin's page at: http://cybercom.net/~dcoffin/dcraw/ Any help would be greatly appretiated. Regards, IraqiGeek www.iraqigeek.com |
|
From: Christoph H. <sha...@ar...> - 2006-09-30 09:26:49
|
Hi, look in the directory where your project file is saved. If it isn't there look at "Project Options->Build Options->Directories->Executable output directory", there you can set an output path for the .exe files. Christoph Harder Sam Mryyan wrote: > > I just download DevC++ , when I create a project and compile it, I > cant find the exe file anywhere on my computer. When should I look > for it? Any help is appreciated!! > > > > *//* > *Sam Mryyan > 785-232-2773 > s_m...@ya...* > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > 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: Sam M. <s_m...@ya...> - 2006-09-30 02:40:50
|
I just download DevC++ , when I create a project and compile it, I cant find the exe file anywhere on my computer. When should I look for it? Any help is appreciated!! Sam Mryyan 785-232-2773 s_m...@ya... |
|
From: Matt V. <mat...@ya...> - 2006-09-28 06:02:35
|
You could seed rand() with system time:
#include <stdio.h>
#include <time.h>
time_t ltime;
unsigned int seconds = time(<ime);
srand(seconds);
int num = rand();
int main()
{
printf("Random number is %d", num);
return(0);
}
It would still be a "pseudo random number", but it ought to be different most every time. Search Google for random number generation solutions of far greater complexity.
Matt
http://www.cminusgames.com
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. |
|
From: Supriadi A. <sja...@ya...> - 2006-09-28 04:24:16
|
Hi... Is devCpp contain library for generate random number (not a rand() function) ? I want to make a program that can generate random number different each the program is running ? Anyone can help me ? --------------------------------- Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. |
|
From: Ahmed H. <ahm...@gm...> - 2006-09-26 20:02:30
|
Hello, I am preparing a system tray icon class for Windows XP.
I got stuck at Hide() and Show() member functions. I have no idea what code
should I write for them. Any help will be appreciated.
I tested the other member functions, they are all running with no error.
class CTrayIcon
> {
> private:
>
> public:
> NOTIFYICONDATA Nid;
> CTrayIcon();
> void Create(void);
> void Show(void);
> void Hide(void);
> void Modify(void);
> void Kill(void);
>
> };
>
> CTrayIcon::CTrayIcon()
> {
> Nid.cbSize = (DWORD) sizeof(NOTIFYICONDATA);
> Nid.uFlags = (UINT) NIF_ICON | NIF_MESSAGE | NIF_TIP |
> NIF_STATE | NIF_INFO | NIF_GUID;
> Nid.dwState = (DWORD) NIS_SHAREDICON | NIS_HIDDEN;
> //Nid.dwStateMask = (DWORD) NIS_SHAREDICON | NIS_HIDDEN;
> Nid.uTimeout = (UINT) 10;
> //Nid.uVersion = (UINT) NOTIFYICON_VERSION;
> Nid.dwInfoFlags = (DWORD) NIIF_INFO; // NIIF_ERROR,
> NIIF_NON, NIIF_WARNING, NIIF_ICON_MASK, NIIF_NOSOUND
> //Nid.guidItem = (GUID) NULL; // Version 6.0.
> Reserved
> }
>
> void CTrayIcon::Create(void)
> {
> if(!Shell_NotifyIcon(NIM_ADD, &Nid)) DebugTest("Couldn't create the
> icon.");
> }
>
> void CTrayIcon::Show(void)
> {
>
> //if(!Shell_NotifyIcon(NIM_MODIFY, &Nid)) DebugTest("Couldn't show the
> icon.");
> }
>
> void CTrayIcon::Hide(void)
> {
>
> //if(!Shell_NotifyIcon(NIM_MODIFY, &Nid)) DebugTest("Couldn't hide the
> icon.");
> }
>
> void CTrayIcon::Modify(void)
> {
> if(!Shell_NotifyIcon(NIM_MODIFY, &Nid)) DebugTest("Couldn't modify the
> icon.");
> }
>
> void CTrayIcon::Kill(void)
> {
> if(!Shell_NotifyIcon(NIM_DELETE, &Nid)) DebugTest("Couldn't kill the
> icon.");
> }
>
>
|
|
From: Siva C. <siv...@ya...> - 2006-09-24 12:18:33
|
I should have used a set function rather than a get
function as a private member of class Bin in my
earliar mail! A get function through an inner class
makes no sense I guess.
--- Siva Chandra <siv...@ya...> wrote:
> Hello all,
>
> I have this problem with member access of a C++
> class.
> Let A and B be two classes. I want A to have access
> to
> only few specific private members of B. I have been
> implementing it using an inner class of class B as
> below.
>
> class A
> {
> ...
> };
>
> class B
> {
> public:
>
> class Bin
> {
> friend class A;
> private:
> int get_private_int_a_of_B(const B &b)
> {
> return b.a;
> }
> }
>
> private:
> int a;
> ... other private members;
> };
>
> The class Bin need not have to be an inner class -
> it
> can be an external friend of class B. However,
> making
> it an inner class makes the code neater, and makes B
> a
> bit more encapsulated I feel. So, my question is: Is
> there a better/neater way of providing access to
> specific private members of a class to another
> particular class?
>
> Thanks in advance,
> Siva Chandra
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys -- and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Siva C. <siv...@ya...> - 2006-09-24 12:12:51
|
Hello all,
I have this problem with member access of a C++ class.
Let A and B be two classes. I want A to have access to
only few specific private members of B. I have been
implementing it using an inner class of class B as
below.
class A
{
...
};
class B
{
public:
class Bin
{
friend class A;
private:
int get_private_int_a_of_B(const B &b)
{
return b.a;
}
}
private:
int a;
... other private members;
};
The class Bin need not have to be an inner class - it
can be an external friend of class B. However, making
it an inner class makes the code neater, and makes B a
bit more encapsulated I feel. So, my question is: Is
there a better/neater way of providing access to
specific private members of a class to another
particular class?
Thanks in advance,
Siva Chandra
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: <coo...@gm...> - 2006-09-24 04:20:31
|
Hi,all
thx to Ahmed Han, who solved the problem.
it's just a defect in the makefile, if you tick the option called
'fast but imperfect' in 'Tools->complier option', you shall have the
same problem with me.
to avoid it, just to cancel the option, and then it'll really get
slower than before (but better ---- said Ahmed)
I think the meaning of the option is 'whether to gernerate a
'simple-and-fast' makefile or a 'perfect-but-fast' one.
btw, I'm wondering that if this option is necessary: if there're
not many files in the project, there's almost no differences between
the two types, but if there're many files, it's much possibly to just
modify some header files between two compling, I think maybe most
people would prefer accuracy to speed.
ps:Ahmed also offered another solution : to rebuild the whole
project each time, but I prefer to cancel the option.
wl
2006.09.24
|
|
From: Noorez K. <lor...@ho...> - 2006-09-23 18:07:47
|
Could you send a copy of "testh.h"
Date: Sun, 24 Sep 2006 01:28:11 +0800> From: coo...@gm...> To: dev...@li...> Subject: [Dev-C++] complier bug> > hello everybody, maybe I've found a bug in Dev-Cpp 4.9.9.2> > I've created a new C++ project, and added a header file in the> project, then include the header file in the main cpp file. e.g:> > //test.h> ....> > //main.cpp> #include "test.h"> int main(){return 0;}> > the problem is: once main.cpp has been complied and remain unmodified.> The complier won't re-complied it even if I modify the file "test.h"> ---- it SHOULD compile it!> > maybe it's a bug or just a wrong setting in my computer, so guys,> please do the same thing and see if it'll happen in your computers.> THX!> > wl> > -------------------------------------------------------------------------> Take Surveys. Earn Cash. Influence the Future of IT> Join SourceForge.net's Techsay panel and you'll get the chance to share your> opinions on IT & business topics through brief surveys -- and earn cash> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> _______________________________________________> 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
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d |
|
From: <coo...@gm...> - 2006-09-23 17:28:14
|
hello everybody, maybe I've found a bug in Dev-Cpp 4.9.9.2
I've created a new C++ project, and added a header file in the
project, then include the header file in the main cpp file. e.g:
//test.h
....
//main.cpp
#include "test.h"
int main(){return 0;}
the problem is: once main.cpp has been complied and remain unmodified.
The complier won't re-complied it even if I modify the file "test.h"
---- it SHOULD compile it!
maybe it's a bug or just a wrong setting in my computer, so guys,
please do the same thing and see if it'll happen in your computers.
THX!
wl
|