dev-cpp-users Mailing List for Dev-C++ (Page 459)
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: Senthil K. <Ph...@go...> - 2003-01-10 08:51:19
|
Hi All,
I have always wondered about this Debugger gdb.
Can any one help me with it.
How to use in command line interface as well.
After using gcc.
Thanks for your help and assistance.
Regards,
Senthil
It is the nature of man to rise to greatness if greatness is expected of him.
- John Steinbeck
___________________________________________________
GO.com Mail
Get Your Free, Private E-mail at http://mail.go.com
|
|
From: A. S. B. <dev...@to...> - 2003-01-10 08:49:13
|
Hi all, I've been using M$ VC++ for quite a long time now and have got annoyed with it for many different reasons as you might imagine, so I started looking through sf.net to find an alternative, preferably that uses (or can be configured to use) Vim or gVim as it's editor. Is this possible with dev-cpp? I tried searching the archives and found a question and answer in there with an appropriate title, but the archive site said that the entry didn't exist so I couldn't actually read the message. Cheers, Al |
|
From: Matthews <dem...@uw...> - 2003-01-10 03:58:13
|
Actually, I've been working on one for the past few weeks. Want me to send it over to you? At 03:35 PM 09/01/2003 +0100, =3D?ISO-8859-2?Q?OROSZI_Bal=3DE1zs?=3D wrote: >Hello! > >Does anyone know about a config file writer library? If so, please let me know. >Thanks in advance. > >-- >Greetings, > Bal=E1zs > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! >http://www.vasoftware.com >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <or...@vp...> - 2003-01-10 01:46:43
|
Hello again Fabian Huenuman! > How can costruct a Dialog than let me get some String as input, using > this resource editor? I know a good tutorial on Windows programming. It has a good description of resources for starter Windows programmers. It was written by Colin Peters. I have downloaded it once, but now I cannot find it on the Net. I have it in one compressed file: 144 Kb. I will send it to you personally. -- Greetings, Balázs |
|
From: <or...@vp...> - 2003-01-10 01:25:49
|
Hello Fabian Huenuman! > empty BEGIN-END > What commands can i put there? > How can costruct a Dialog than let me get some String as input, using > this resource editor? You need a resource editor program. A simple text editor would be enough, but it is very hard to write a dialog box (or any) resource by hand. It is better to use graphical editors. They visualize the actual lookout of your resource (dialog box...). I recommend the editor of the Lcc-Win32 compiler system. It is a complete programming environment (with own compiler), but it has an absolutely separate resource editor. Go to http://www.cs.virginia.edu/~lcc-win32/ and download the stuff. Then you can use the weditres.exe to edit resources. You don't need to start the compiler environment. > Where can i find some help for this? For help on resources, look in the Windows API documentation, or search the Net. If you need, I can write you examples. After you are ready with the resource file (*.rc) just add it to your project in Dev-C++. I really hope this will help you get started. -- Greetings, Balázs |
|
From: va13ak <va...@uk...> - 2003-01-10 00:18:13
|
Hello, OROSZI. OB> Anyone else know about this? I don't know about this. But I have sent a bug report with some comments through vRoach. So I hope that the problem will find the solution in the future. By the way that example was taken from www.relisoft.com _______________________________________ mailto:va...@uk... _______ |
|
From: FABIAN H. <fhu...@ho...> - 2003-01-09 23:34:05
|
I've got a problem with compiling programs with MySql from dev-c++, i can't link my program with the library of MySql. The Compiler and linker output tellme that exist undefined references for the commands of MySql. The manual says that insert in the link line this: -Lthe-path-to -mysql-library -lmysqlclient, but there is another problem, described next: g++: -lmysqlclient: linker input file unused since linking not done there are the compiler and linker lines C:\DEV-C_~1\BIN\g++ "c:/dev-c++/basededatos.cpp" -c -s -fexpensive-optimizations -IC:/DEV-C_~1/INCLUDE/ -IC:/DEV-C_~1/INCLUDE/G__~1 -IC:/DEV-C_~1/INCLUDE/ -LC:/DEV-C_~1/LIB/ -BC:/DEV-C_~1/BIN/ -Ic:/mysql/include -LC:/MYSQL/LIB Linking files : C:\DEV-C_~1\BIN\g++ "c:/dev-c++/basededatos.o" -o c:/dev-c_~1/Bases.exe C:/DEV-C_~1/RSRC.o -s -fexpensive-optimizations -IC:/DEV-C_~1/INCLUDE/ -IC:/DEV-C_~1/INCLUDE/G__~1 -IC:/DEV-C_~1/INCLUDE/ -LC:/DEV-C_~1/LIB/ -BC:/DEV-C_~1/BIN/ -Ic:/mysql/include -LC:/MYSQL/LIB Any body now what is wrong?? _________________________________________________________________ MSN. Más Útil Cada Día http://www.msn.es/intmap/ |
|
From: FABIAN H. <fhu...@ho...> - 2003-01-09 23:25:48
|
Here I go again!. Hi again! This is the code for a Dialog window from a resource file, it is generated when I edit that file and i choose create Dialog Window from the Resource file editor's toolbar. In the two last lines is the empty BEGIN-END that i told you. The question were (and are): What commands can i put there? How can costruct a Dialog than let me get some String as input, using this resource editor? Where can i find some help for this? Please, i'm waiting for yours answers. //Dialog window declaration #include <windows.h> 100 DIALOG 0, 0, 200, 200 STYLE WS_VISIBLE | WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME CAPTION "Dialog title" FONT 8,"Helv" BEGIN //empty begin-end END _________________________________________________________________ MSN. Más Útil Cada Día http://www.msn.es/intmap/ |
|
From: <or...@vp...> - 2003-01-09 22:36:58
|
Hello va13ak! > Thanks a lot for your help, it was very useful. I'm glad I could help. Useful little program anyway :) > But my main problem > was in impossibility of importing .dsp-file in Dev-Cpp version > 4.9.7.1. It's give up with Warning: "This file's version is not one > that can be imported", so I returned to version 4.9.6.5 and .dsp file > was imported with no problem. Hmm... Strange. I will reconsider updating. Anyone else know about this? -- Greetings, Balázs (Yes, this is my first name - written secondly) |
|
From: va13ak <va...@uk...> - 2003-01-09 22:35:45
|
Hello, OROSZI. Thanks a lot for your help, it was very useful. But my main problem was in impossibility of importing .dsp-file in Dev-Cpp version 4.9.7.1. It's give up with Warning: "This file's version is not one that can be imported", so I returned to version 4.9.6.5 and .dsp file was imported with no problem. Sorry for my English and thanks once again. _______________________________________ mailto:va...@uk... _______ |
|
From: Per W. <pw...@ia...> - 2003-01-09 20:52:15
|
I don't know about the .Net edition, but in Developer C++ 6.0, there is a compiler switch /Op to "improve float consistency". What it does, is that all intermediate floating point results are written down to a float or double variable and then reloaded again into the floating point processor, to make sure that the application doesn't "take advantage" of the 80 bits of precision (long double on some compilers) used internally by the x87 floating point unit. Since this switch is normally not set - setting it results in slower and larger code - heavily inlined float or double code will be a bit more exact that on some other compilers. If you use long double, you might use powl instead. It's defined as long double powl(long double,long double) However, a numerically stable iterative algorithm should normally converge anyway, or the algorithm isn't suitable for the required task. /Per W On Wed, 8 Jan 2003, Lu=EDs Br=E1s wrote: > Hi there=85 > > I=92ve just finished developing an mathematical > optimization program > in C++ for my Thesis. My base compiler that was > installed in my university was Microsoft Visual > C++.Net. Now I=92m trying to compile with Dev-Cpp in my > computer at home . The results were the same, until > my example 23, failed to converge in Dev-Cpp. When > dealing with math every decimal counts. And this is > the problem. The results are the following: > > ---------------------------------- > Iteration function > error > next step > > --------NET-----------------------------DEV---------- > > 0 6.08269457903887380000 6.08269457903887380000 > 14.38658488183035000000 14.38658488183034500000 > 1.00000000000000000000 1.00000000000000000000 > > 1 6.08269457903887380000 6.08269457903887380000 > 14.38658488183035000000 14.38658488183034500000 > 0.15334071686133940000 0.15334071686133718000 > > 2 5.64283384487765800000 5.64283384487766430000 > 11.71651970320963600000 11.71651970320965800000 > 0.23998975404550715000 0.23998975404523476000 > > 3 5.29623368056405490000 5.29623368056461440000 > 9.25439173550483750000 9.25439173550664760000 > 0.13589203600495686000 Error. > > As you can in iteration 3 the program fails. I know > that is difficult to find the problem just by looking > at numbers!! The difference is always in the last > decimal places (>12). > > I use templates in all class=92s and it=92s being > initialize with double. My compilation options are > default. My computer is a Pentium 3. I think its > probably the double that has different > decimal places? I=92ve changed to (long double) but the > function pow in math doesn=92t accept anything > different from double. Even converting to double > the results are the same. > > Thanks in advance for any help. > > P.S. Sorry for my bad English > > > =3D=3D=3D=3D=3D > +=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+= =3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D > Lu=EDs Filipe Delgado Br=E1s > lf...@ya... > http://www.fotopt.net/autor.asp?autor=3D2637 > +=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+= =3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: jansb000 <jan...@pl...> - 2003-01-09 20:52:11
|
OpenOffice can read Excel files. Since it is opensource you may be able to use their code. ----- Original Message ----- From: "Marc Heiligers" <ma...@e-...> To: "'Louis Godio'" <lg...@ya...>; "dev-cpp-users-list" <dev...@li...> Sent: Thursday, January 09, 2003 8:34 AM Subject: RE: [Dev-C++] EXCEL files as a datasource > Glad I could help. Will you let us know if you get it right, and what you > had to do to make it work? > > _____________________________ > Marc Heiligers > > -----Original Message----- > From: Louis Godio [mailto:lg...@ya...] > Sent: 09 January 2003 12:32 AM > To: Marc Heiligers > Subject: RE: [Dev-C++] EXCEL files as a datasource > > > > Thank You Marc. Your note contains valuable information for me > > --- Marc Heiligers <ma...@e-...> wrote: > > Hi, > > > > There is a OleDB datasource provider for Excel. The trick is in the > > connection string which should be something like: > > "Provider=Microsoft.Jet.OLEDB.4.0;Data > > Source=F:\agasp\samp\excel.xls;Extended Properties=Excel 8.0;" where > > the Extended properties give the version of Excel to use. You can use > > ADO as well (as ADO simply wraps OleDB). You'll probably want to find > > some kind of class library to do this. I know you can also use ODBC to > > connect to Excel > > spreadsheets, but I'm not sure how. > > > > Some information here: > > Using ASP to connect to Excel: > > http://www.aspalliance.com/wisemonk/view.aspx?id=AD062502 > > > > A ADO wrapper for use with VC: > > http://www.codeproject.com/database/adowraps.asp#xx356392xx > > > > Some stuff on using ADO from VC: > > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado3.asp > > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado4.asp > > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado7.asp > > > > Another ADO wrapper class: > > This one looks like it might be the easiest to adapt. > > http://www.codeproject.com/database/aadoclass.asp#xx344668xx > > > > I hope this helps, > > > > _____________________________ > > Marc Heiligers > > > > -----Original Message----- > > From: Louis Godio [mailto:lg...@ya...] > > Sent: 08 January 2003 12:13 AM > > To: DEVCppUsers > > Subject: [Dev-C++] EXCEL files as a datasource > > > > > > > > I trying to use DEV C++ (and the built-in compiler of course) to > > access MS EXCEL files. The basic idea is to use an EXCEL file as a > > data source for my > > C++ code. > > > > Any one have any ideas or experience on this matter ? Is it an easy or > > complex thing to do ? > > > > Any help would be appreciated > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Dev-cpp-users mailing list Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > ================================================================ > Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen. > Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd. |
|
From: Per W. <pw...@ia...> - 2003-01-09 20:38:38
|
Because ((1.0 / 3.0) * 3.0) == 1.0 isn't guaranteed to be true because of round-off errors in evaluation. Floating point nubmers are able to store a number of significant digits - about 7-8 for float and 15 for double. However, only some numbers are possible to store exactly in a floating point variable. Most values are only possible to store as approximations, i.e. rounded or truncated to the number of available significant digits. You need an infinite number of digits to store the value 1/3 for example. Also, note that while we normally think of our floats and doubles as decimal values, they are stored in binary format in the computer, resulting in conversion errors when switching number base, i.e. when reading in or printing a number. /Per W On Thu, 9 Jan 2003, Daniel Glenfield wrote: > I read that you should never compare floating point numbers for equality. I > was wondering why? > > > > > > _________________________________________________________________ > Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Esteban V. <est...@ho...> - 2003-01-09 19:07:11
|
Hi, here is the english version of the message with others comments... IŽm sorry canŽt help you, IŽve the same problem with the debugger. gdb run without problems in linux but doesnŽt run without bugs in windows. May be, the windows version of gbd insŽt the same for linux. In my case to debugg console programs I try to write them in ansi and test them in linux (because de debugger) and them run them in dos. best regards, Esteban... PD: IŽm sorry for the non-spanish speaking people.... |
|
From: Esteban V. <est...@ho...> - 2003-01-09 18:58:08
|
Lamento no poder ayudarte, a mi me pasó lo mismo y no se pude resolverlo. En general trato de correr el mismo programa en linux y ahí no tengo problemas con el debugger. Parece ser que la version del gdb para windows no funciona bien y la version del gdb para linux funciona sin problemas. saludos, Esteban... PD: Espero que los de habla inglesa no se quejen por nuestro español... ----- Original Message ----- From: "Jose María Zaragoza" <che...@te...> To: "Esteban Valverde" <est...@ho...> Sent: Thursday, 09 January, 2003 15:28 Subject: Re[2]: [Dev-C++] I can't debug in Dev-C++ 4.9.7.1 Hola gracias por responder. Instalé la versión de 12 MB. Yo me refiero a que cuando pongo un punto de ruptura y doy a depurar , las opciones de Siguiente paso o Avanzar Paso a Paso no me funcionan. Tampoco me funciona ver el valor de las variables definidas en los "watches". Se que incluye el debugger gdb ( al menos el ejecutable viene ) , pero no se usarlo y me gustaría que la parte visual funcionase ... Lo que no se si es porque es una beta o es que no se usarlo. Muchas gracias por todo Saludos EV> Hola, cuando instalates el devcpp, debería ser la version completa (más o EV> menos 12MBytes) que incluye el debbuger (gdb). Si instalastes sólo el ide EV> (mas o menos 2Mbytes) no vas a tener el debugger. De todos modos, con EV> debugger y todo muchas veces que intenté utilizarlo se me cuenga la EV> máquina.... EV> saludos, Esteban -- Saludos |
|
From: <or...@vp...> - 2003-01-09 14:34:41
|
Hello! Does anyone know about a config file writer library? If so, please let me know. Thanks in advance. -- Greetings, Balázs |
|
From: Matthews <dem...@uw...> - 2003-01-09 13:36:40
|
Scanning through old mail, I found out that all I needed to do was add "c:\bloodshed\include\c++\mingw32" to the c++ directories and it worked fine. Bleah, and after downloading the full external mingw as well. Thanks for the help though. At 11:45 PM 08/01/2003 +0200, Ioannis Vranos wrote: >Well that is an implementation issue. However #include <cstdio> should not >be omitted. >=20 > > >Ioannis Vranos >=20 >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL: http://run.to/noicys=20 >=20 >=20 >-------Original Message------- >=20 >From: Matthews >Date: =D4=E5=F4=DC=F1=F4=E7, 8 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 10:54:03= =EC=EC >To: Ioannis Vranos; Dev-C++ Mailing List >Subject: Re: [Dev-C++] C++ compiling problems >=20 >The problem, though, is the missing c++config.h. What you suggest >shouldn't make any difference. >=20 >=20 >=20 >At 06:34 PM 08/01/2003 +0200, Ioannis Vranos wrote: >>-------Original Message------- >>=20 >>From: Matthews >>Date: =D4=E5=F4=DC=F1=F4=E7, 8 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 3:12:22= =EC=EC >>To: dev...@li... >>Subject: [Dev-C++] C++ compiling problems >>=20 >>I've been trying to teach myself c++ recently, so I started out with this >>basic program. >>=20 >>#include <iostream> >>#include <cstdlib> >>=20 >>// for getchar() >>#include <cstdio> >>=20 >>=20 >>=20 >>int main() >>{ >>using namespace std; >>cout << "Hello.\n"; >>cout << "Press ENTER to continue."; >>getchar(); >>return 0; >>} >>=20 >>=20 >>=20 >>Ioannis Vranos >>=20 >>* Programming pages: http://www.noicys.freeurl.com >>* Alternative URL: http://run.to/noicys=20 >> >> >>------------------------------------------------------- >>This SF.NET email is sponsored by: >>SourceForge Enterprise Edition + IBM + LinuxWorld= http://www.vasoftware.com >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >=20 > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Matthews <dem...@uw...> - 2003-01-09 13:36:36
|
Actually, there's a few small changes in the decimals besides iteration 3. And your's is the best english I've heard in a while :) At 06:55 PM 08/01/2003 -0800, Lu=EDs" "Br=E1s wrote: >Hi there=85 > >I=92ve just finished developing an mathematical >optimization program=20 >in C++ for my Thesis. My base compiler that was >installed in my university was Microsoft Visual=20 >C++.Net. Now I=92m trying to compile with Dev-Cpp in my=20 >computer at home . The results were the same, until >my example 23, failed to converge in Dev-Cpp. When=20 >dealing with math every decimal counts. And this is >the problem. The results are the following: > >---------------------------------- >Iteration function > error > next step > >--------NET-----------------------------DEV---------- > >0 6.08269457903887380000 6.08269457903887380000=20 > 14.38658488183035000000 14.38658488183034500000 > 1.00000000000000000000 1.00000000000000000000 > >1 6.08269457903887380000 6.08269457903887380000 > 14.38658488183035000000 14.38658488183034500000 > 0.15334071686133940000 0.15334071686133718000 > >2 5.64283384487765800000 5.64283384487766430000 > 11.71651970320963600000 11.71651970320965800000 > 0.23998975404550715000 0.23998975404523476000 > >3 5.29623368056405490000 5.29623368056461440000 > 9.25439173550483750000 9.25439173550664760000 > 0.13589203600495686000 Error. > >As you can in iteration 3 the program fails. I know=20 >that is difficult to find the problem just by looking=20 >at numbers!! The difference is always in the last=20 >decimal places (>12).=20 > >I use templates in all class=92s and it=92s being=20 >initialize with double. My compilation options are=20 >default. My computer is a Pentium 3. I think its=20 >probably the double that has different=20 >decimal places? I=92ve changed to (long double) but the=20 >function pow in math doesn=92t accept anything=20 >different from double. Even converting to double=20 >the results are the same. > >Thanks in advance for any help. > >P.S. Sorry for my bad English > > >=3D=3D=3D=3D=3D >+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+= =3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D >Lu=EDs Filipe Delgado Br=E1s >lf...@ya... >http://www.fotopt.net/autor.asp?autor=3D2637 >+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+= =3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D+=3D > >__________________________________________________ >Do you Yahoo!? >Yahoo! Mail Plus - Powerful. Affordable. Sign up now. >http://mailplus.yahoo.com > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! >http://www.vasoftware.com >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Daniel G. <sp...@ho...> - 2003-01-09 12:54:53
|
I read that you should never compare floating point numbers for equality. I was wondering why? _________________________________________________________________ Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Vlada D. <dj...@im...> - 2003-01-09 08:02:42
|
----- Original Message ----- From: "Aimee Smith" <Ai...@ca...> To: "DEVCppUsers (E-mail)" <dev...@li...> Sent: Wednesday, January 08, 2003 12:09 PM Subject: [Dev-C++] failure to execute > Greetings; > I was working with my students last night on Dev-C++. We encountered a > few problems -- the most perplexing one being that when they altered the > code and then rebuilt the prog. then executed it, the previous program was > run and had not rebuilt/complied the altered code. > If we copied and pasted the program into a new environment then it worked > just fine. > This was not a consitent error, just an infrequent one but I wouldn't have > thought that it would have happened at all. > Is there something that I can do to sort this out or did I not tell them > something that I needed to? > thanks, > aimee > > Maybe you should try "rebuild all" (Ctrl+F11). > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Marc H. <ma...@e-...> - 2003-01-09 07:30:01
|
Glad I could help. Will you let us know if you get it right, and what you had to do to make it work? _____________________________ Marc Heiligers -----Original Message----- From: Louis Godio [mailto:lg...@ya...] Sent: 09 January 2003 12:32 AM To: Marc Heiligers Subject: RE: [Dev-C++] EXCEL files as a datasource Thank You Marc. Your note contains valuable information for me --- Marc Heiligers <ma...@e-...> wrote: > Hi, > > There is a OleDB datasource provider for Excel. The trick is in the > connection string which should be something like: > "Provider=Microsoft.Jet.OLEDB.4.0;Data > Source=F:\agasp\samp\excel.xls;Extended Properties=Excel 8.0;" where > the Extended properties give the version of Excel to use. You can use > ADO as well (as ADO simply wraps OleDB). You'll probably want to find > some kind of class library to do this. I know you can also use ODBC to > connect to Excel > spreadsheets, but I'm not sure how. > > Some information here: > Using ASP to connect to Excel: > http://www.aspalliance.com/wisemonk/view.aspx?id=AD062502 > > A ADO wrapper for use with VC: > http://www.codeproject.com/database/adowraps.asp#xx356392xx > > Some stuff on using ADO from VC: > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado3.asp > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado4.asp > http://www.mindcracker.com/mindcracker/c_cafe/ado/ado7.asp > > Another ADO wrapper class: > This one looks like it might be the easiest to adapt. > http://www.codeproject.com/database/aadoclass.asp#xx344668xx > > I hope this helps, > > _____________________________ > Marc Heiligers > > -----Original Message----- > From: Louis Godio [mailto:lg...@ya...] > Sent: 08 January 2003 12:13 AM > To: DEVCppUsers > Subject: [Dev-C++] EXCEL files as a datasource > > > > I trying to use DEV C++ (and the built-in compiler of course) to > access MS EXCEL files. The basic idea is to use an EXCEL file as a > data source for my > C++ code. > > Any one have any ideas or experience on this matter ? Is it an easy or > complex thing to do ? > > Any help would be appreciated > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dev-cpp-users mailing list Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Luís B. <lf...@ya...> - 2003-01-09 02:55:12
|
Hi there
Ive just finished developing an mathematical
optimization program
in C++ for my Thesis. My base compiler that was
installed in my university was Microsoft Visual
C++.Net. Now Im trying to compile with Dev-Cpp in my
computer at home . The results were the same, until
my example 23, failed to converge in Dev-Cpp. When
dealing with math every decimal counts. And this is
the problem. The results are the following:
----------------------------------
Iteration function
error
next step
--------NET-----------------------------DEV----------
0 6.08269457903887380000 6.08269457903887380000
14.38658488183035000000 14.38658488183034500000
1.00000000000000000000 1.00000000000000000000
1 6.08269457903887380000 6.08269457903887380000
14.38658488183035000000 14.38658488183034500000
0.15334071686133940000 0.15334071686133718000
2 5.64283384487765800000 5.64283384487766430000
11.71651970320963600000 11.71651970320965800000
0.23998975404550715000 0.23998975404523476000
3 5.29623368056405490000 5.29623368056461440000
9.25439173550483750000 9.25439173550664760000
0.13589203600495686000 Error.
As you can in iteration 3 the program fails. I know
that is difficult to find the problem just by looking
at numbers!! The difference is always in the last
decimal places (>12).
I use templates in all classs and its being
initialize with double. My compilation options are
default. My computer is a Pentium 3. I think its
probably the double that has different
decimal places? Ive changed to (long double) but the
function pow in math doesnt accept anything
different from double. Even converting to double
the results are the same.
Thanks in advance for any help.
P.S. Sorry for my bad English
=====
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Luís Filipe Delgado Brás
lf...@ya...
http://www.fotopt.net/autor.asp?autor=2637
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|
|
From: Ioannis V. <no...@ho...> - 2003-01-08 21:45:32
|
Well that is an implementation issue. However #include <cstdio> should no= t be omitted.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D =0D -------Original Message-------=0D =0D From: Matthews=0D Date: =D4=E5=F4=DC=F1=F4=E7, 8 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 10:54:= 03 =EC=EC=0D To: Ioannis Vranos; Dev-C++ Mailing List=0D Subject: Re: [Dev-C++] C++ compiling problems=0D =0D The problem, though, is the missing c++config.h. What you suggest=0D shouldn't make any difference.=0D =0D =0D =0D At 06:34 PM 08/01/2003 +0200, Ioannis Vranos wrote:=0D >-------Original Message-------=0D > =0D >From: Matthews=0D >Date: =D4=E5=F4=DC=F1=F4=E7, 8 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 3:12:= 22 =EC=EC=0D >To: dev...@li...=0D >Subject: [Dev-C++] C++ compiling problems=0D > =0D >I've been trying to teach myself c++ recently, so I started out with thi= s=0D >basic program.=0D > =0D >#include <iostream>=0D >#include <cstdlib>=0D > =0D >// for getchar()=0D >#include <cstdio>=0D > =0D > =0D > =0D >int main()=0D >{=0D >using namespace std;=0D >cout << "Hello.\n";=0D >cout << "Press ENTER to continue.";=0D >getchar();=0D >return 0;=0D >}=0D > =0D > =0D > =0D >Ioannis Vranos=0D > =0D >* Programming pages: http://www.noicys.freeurl.com=0D >* Alternative URL: http://run.to/noicys =0D >=0D >=0D >-------------------------------------------------------=0D >This SF.NET email is sponsored by:=0D >SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.= com=0D >_______________________________________________=0D >Dev-cpp-users mailing list=0D >Dev...@li...=0D >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=0D >=0D =20 |
|
From: Matthews <dem...@uw...> - 2003-01-08 20:54:25
|
The problem, though, is the missing c++config.h. What you suggest
shouldn't make any difference.
At 06:34 PM 08/01/2003 +0200, Ioannis Vranos wrote:
>-------Original Message-------
>=20
>From: Matthews
>Date: =D4=E5=F4=DC=F1=F4=E7, 8 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 3:12:22=
=EC=EC
>To: dev...@li...
>Subject: [Dev-C++] C++ compiling problems
>=20
>I've been trying to teach myself c++ recently, so I started out with this
>basic program.
>=20
>#include <iostream>
>#include <cstdlib>
>=20
>// for getchar()
>#include <cstdio>
>=20
>=20
>=20
>int main()
>{
>using namespace std;
>cout << "Hello.\n";
>cout << "Press ENTER to continue.";
>getchar();
>return 0;
>}
>=20
>=20
>=20
>Ioannis Vranos
>=20
>* Programming pages: http://www.noicys.freeurl.com
>* Alternative URL: http://run.to/noicys=20
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: <che...@te...> - 2003-01-08 19:30:59
|
Hello: this is my first post. I was using Visual C++ but I thought to try a GPL IDE. So, I downloaded the Dev-C++ 4.9.7.1 ( 5.0 beta ). It's very good and like it but I miss a debugger that run like in a comme= rcial IDE, ie , with watches , run the program step by step , etc in VISUAL WAY. why is the reason? I have seen that http://www.bloodshed.net/ says that don't use Insight in 5.0 release. must I wait the final release ? what I can do? Thanks !!!!!!!!! |