dev-cpp-users Mailing List for Dev-C++ (Page 230)
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: <or...@vp...> - 2004-04-12 22:00:34
|
Hi! Thanks for both of your comments, they were indeed really helpful! Actually, I was thinking about the same, that "data-storage" like=20 classes, where I don't need to check for anything special (no=20 invariant), there is no need for get/set methods, I was just in doubt,=20 which leads me to my next question: What should count as an invariant? Suppose I have some class, which=20 stores a file-path internally. There is a method: Save (saves the=20 object). Should the path always be valid? Or should Save throw an=20 exception if it cannot open the file for writing? Or both? Because if I look at it the second way, there is no need for the get/set=20 stuff, as Save will check the path anyway. Any comments? (The above is just a very simplified example) I'll look for Stroustrups's writings what you mentioned, BTW. -- Greetings, Bal=E1zs |
|
From: <or...@vp...> - 2004-04-12 20:24:52
|
Hi! I have been pondering on this for quite some time, but it seems I cannot=20 get myself to a firm decision. Suppose I have a class, which has some data. Mostly string data. Like=20 name, path, etc. Uptil now I always put these things into the private=20 part of my class, and I provided Get/Set methods for accessing them. I ask: does it worth the extra overhead? I mean, what if I simply put=20 the data into the public section, and then I have 2 (or more) member=20 functions less, and the same access to the data. Can someone with more experience with C++ give some guidelines to me=20 about this. Posting personal experience would be the best! Thank you. -- Greetings, Bal=E1zs |
|
From: alf <al...@bl...> - 2004-04-12 14:57:04
|
I'm now onto arrays.
The first prog works, in as there are no errors.
I put in each number as instructed and all is well until the final =
enter. then the console screen flashes on then off in a nanosec.
The cin.get(); worked on the other exercises but not on this one.
I've tried the system("PAUSE"); syntax and that don't work either.
both these syntax used the line before return(0);.
how do I correct this?
Thank you for the other answers.
|
|
From: Per W. <pw...@ia...> - 2004-04-12 14:46:07
|
Since he is complaining about bug in standard library, I'm assuming that
he is using a global object so the constructor should be called after
main() has ended but hopefully before the std library has closed down any
stream support.
/Per W
On Mon, 12 Apr 2004, OROSZI Bal=E1zs wrote:
> Latif Dokter wrote:
> > I am using Dev.C++ 4.9.8.7 When creating a program with class World
> > where World () {} says Hello and ~World() {} says goodbye World
> > TheWorld; when compiled and executed
> > in Ms dos console the program prints hello but doesn't print goodbye I
> > have read that I may have a buggy version of the standard library if so
> > is there a patch if not what is happening and how can I fix it
>
> How about posting the source of your program?
> This works perfectly fine for me:
>
> --
>
> #include <iostream>
>
> using namespace std;
>
> class World
> {
> public:
> =09World() { cout << "Hello" << endl; }
> =09~World() { cout << "Goodbye" << endl; }
> };
>
> World TheWorld;
>
> int main()
> {
> =09World TheWorld2;
>
> =09return 0;
> }
>
> --
> Greetings,
> Bal=E1zs
>
>
>
> -----------------------------
|
|
From: Denis K. <di...@ya...> - 2004-04-12 13:17:13
|
Saturday, April 10, 2004, 8:02:03 PM, you wrote: JJAl> I would like to use Dev-Cpp to develope a gui interface for my program, but I have JJAl> no idea how to setup Dev-Cpp to compile using these gtkmm libraries. Could someone JJAl> show me how this is done? I have installed gtkmm under the dev-cpp --> include. JJAl> Thanks in advance Hi Jameel. So you've trying gtkmm now... IMHO it's good. You've installed gtkmm in a wrong directory. The right one is dev-cpp\ . gtkmm is more easy to install in comparison with Gtk+. There is a good explanation how to install and configure gtkmm under dev-cpp on www.gtkmm.org in documantation section->book->appendix E. If you'll get a real problems with installing gtkmm under dev-cpp I'll send you template file for dev-cpp. Good luck. -- Best regards, Denis |
|
From: <or...@vp...> - 2004-04-12 12:46:59
|
Latif Dokter wrote:
> I am using Dev.C++ 4.9.8.7 When creating a program with class World=20
> where World () {} says Hello and ~World() {} says goodbye World=20
> TheWorld; when compiled and executed
> in Ms dos console the program prints hello but doesn't print goodbye I=20
> have read that I may have a buggy version of the standard library if so=
=20
> is there a patch if not what is happening and how can I fix it
How about posting the source of your program?
This works perfectly fine for me:
--
#include <iostream>
using namespace std;
class World
{
public:
World() { cout << "Hello" << endl; }
~World() { cout << "Goodbye" << endl; }
};
World TheWorld;
int main()
{
World TheWorld2;
=09
return 0;
}
--
Greetings,
Bal=E1zs
|
|
From: <or...@vp...> - 2004-04-12 12:41:06
|
Claudio Martn Veas wrote: > I have some problems with the next call. >=20 > SetTextColor(hdc, RGB(rand()%100,100,100)); >=20 > Heres the error. >=20 > Implicit declaration of function int 'rand(...)' #include <stdlib.h> -- Greetings, Bal=E1zs |
|
From: <cm...@ya...> - 2004-04-12 01:20:03
|
I have some problems with the next call. SetTextColor(hdc, RGB(rand()%100,100,100)); Heres the error. Implicit declaration of function int 'rand(...)' Thanks. ------------ Los mejores usados y las más tentadoras ofertas de 0km están en Yahoo! Autos. Comprá o vendé tu auto en http://autos.yahoo.com.ar |
|
From: A. K. <kli...@ad...> - 2004-04-11 10:38:18
|
Is user-defined context sensitive help possible in Dev-C++? I can customize my help menu by adding .chm files and enable "search in helpfile for the word at cursor position", but how can I make it look for that word? F1 only opens the help-file and shows its main page. No searching. Another question: are there any other fileformats supported other than .chm? It would be nice to have .hxi/.hxs supported, or plain html and pdf. But especially important is .hxi for the MS platform SDK. Alex |
|
From: Eddie D. <edd...@tr...> - 2004-04-11 04:02:38
|
In order to update a package which I have already downloaded myself, do I use the Package Manager or is there another way ? If using the Package Manager do I need to first remove the previous version of the package first and then add the new version or is there some way to tell the Package Manager that I want to update a version which already exists as an icon in its list ? |
|
From: Per W. <pw...@ia...> - 2004-04-10 18:33:05
|
No, it means that you should mail the error messages you get when you have typed the code yourself, together with the lines of code that the compiler complains about. Most probably you are missing something, such as confusing the character l with the digit 1 or the character O with digit 0 or something similar. /Per W On Sat, 10 Apr 2004, alf wrote: > Hi, > When I copy a programme from the SAMS 24 hour book I always get compiler errors. > When I copy the same programme from the disk and put it into my files the programme works when executed. > I have put both programmes onto screen and made sure they are alike. > Does this mean that my dev-c++ is not configured correctly or what? > Thanks in anticipation |
|
From: alf <al...@bl...> - 2004-04-10 15:11:09
|
Hi, When I copy a programme from the SAMS 24 hour book I always get compiler = errors. When I copy the same programme from the disk and put it into my files = the programme works when executed. I have put both programmes onto screen and made sure they are alike. Does this mean that my dev-c++ is not configured correctly or what? Thanks in anticipation |
|
From: Eduard K. <edu...@ar...> - 2004-04-10 12:57:51
|
> > >Dear devcpp users, > > > >I'm starting using a Devc++ compiler. > >How can I get an User manual ?? > > > >Thanks, > > Hello there, for how to use Dev C++ Compiler try reading the included help file or take a look at the Homepage of Bloodshed @ http://www.bloodshed.net/index.html (scroll down) for C++ programming try this site: http://www.silicontao.com/ProgrammingGuide/index.html or even take a look at the homepage too. kind regards E. Kiefel |
|
From: Jameel J. A'l. <ja...@el...> - 2004-04-10 12:54:49
|
I would like to use Dev-Cpp to develope a gui interface for my program, b= ut I have no idea how to setup Dev-Cpp to compile using these gtkmm libraries. Coul= d someone show me how this is done? I have installed gtkmm under the dev-cpp --> i= nclude. Thanks in advance =20 * E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html=20 Ent=E9rate de las noticias m=E1s actualizadas de El Salvador y el mundo e= n www.elsalvador.com |
|
From: Carolos E. <ca...@ot...> - 2004-04-10 08:28:41
|
Hello everybody, my question is: how can I record voice from the phone line atached to the modem...? Usind dev-c++? Do I have to talk to the driver software, some API, or is there a language feature...? Then there is the part where I have to write to a WAV file. I want to make something so I can record my wife talking to her mother buhahahaha! Thank you for any response, Carolos |
|
From: Daniel K. O. <dan...@ya...> - 2004-04-10 03:48:23
|
www.hiebun.com wrote: > Of course, I had gdk_threads_enter() and gdk_threads_leave() before > and after the function. Exactly the same code (except OS related) > works fine on Linux OS. You should never update the GUI from other threads under Win32. It seems that not just on GTK+, but many GUI toolkits have this same problem. Try updating the gui from the main thread using g_idle_add. Follow this recent thread from gtk-devel: http://mail.gnome.org/archives/gtk-devel-list/2004-April/msg00028.html http://mail.gnome.org/archives/gtk-devel-list/2004-April/msg00035.html > So, I would suggest to developpers of winGtk+ and DevC++ to consider > this errors. This is not related to Dev-C++, as it is only an IDE for MinGW. And this is not related to MinGW either, as it just compiles code. PS: IMHO you addressed this mail to all wrong lists. You should send it to gtk-app-devel and/or gtk-devel. Daniel K. O. |
|
From: jose i. c. <ji...@fr...> - 2004-04-10 02:31:59
|
Any site out there that shows how to use COM libraries in Windows? With = Dev c++ for c or c++? thanks, jos=E9 |
|
From: www.hiebun.com <bk...@be...> - 2004-04-10 02:14:07
|
I found some more which cause errors. As I wrote below, my application is for displaying 16 channels of video clips simultaneously with toggle buttons. Without displaying of videos, there are not any error messages and it looks fine.Only when displaying videos the program has errors. Thus, I would think of bugs on "gdk_draw_rgb_image() or other related gdk_draw_ _ _() functions" with mouse motions. Of course, I had gdk_threads_enter() and gdk_threads_leave() before and after the function. Exactly the same code (except OS related) works fine on Linux OS. So, I would suggest to developpers of winGtk+ and DevC++ to consider this errors. >Hi all, >my application with Gtk+ on linux runs without any bugs. >I ported it on MS WinXP by DevC++. >Everything works well except mouse related ones. >Usually, I have the same error message, >"Gdk-ERROR **: file gdkgc-win32.c: line 1340 (gdk_gc_predraw): >assertion failed: (data->xgc == NULL) aborting..." > >Is that mean Gtk+ on windows not yet on this function? >If not, how can I solve it? > >In my program, there are several video displaying windows and buttons. >I click mouse buttons to change the size of displaying widow size and >the status of toggle buttons. > >I am a newbie on MS Win32 environments. > >Please help, Regards, bkna. |
|
From: <or...@vp...> - 2004-04-09 16:18:53
|
Malcolm Nealon wrote: > CMMPointer<CGlobalTimer> globalTimer =3D new CGlobalTimer(); > globalTimer->priority=3D10; > //the CMMPointer<ITask> expression here is used to typecast > //the pointer from CGlobalTimer* to ITask* > CKernel::GetSingleton().AddTask(CMMPointer<ITask>(globalTimer)); >=20 > with this error >=20 > no matching function for call to `CKernel::AddTask( CMMPointer<ITask>)' > candidates are: bool CKernel::AddTask(CMMPointer<ITask>&) >=20 > From reading the forum I understand this is an error in temporary > referenceing which GCC doesn't allow. Any ideas how to correct the > code so that it compiles correctly. I haven't compiled it myself, but I suspect AddTask doesn't take it's=20 parameter as const. If so, modify the declaration of AddTask to take=20 it's parameter as const. If that's not possible because AddTask actually=20 modifies it's parameter (which doesn't really makes sense to me), then=20 create some temporary variable before AddTask and pass that. -- Greetings, Bal=E1zs |
|
From: Oliver S. <ol...@qu...> - 2004-04-09 15:29:29
|
On Fri, 09 Apr 2004 11:28:34 +0000, Oliver Sampson <ol...@qu...> wrote: >Howdy, >I just got a tooltip describing how I can stay up to date using >vupdate. I tried to run it, and I get an error about not having an >SBIN in my devcpp.cfg file. =20 > >This is a fresh install, shouldn't something like that be taken care >of during the install? Actually it says "$BIN", and sure enough it's in my devcpp.cfg file, but it's blank. I filled it in with the Dev-CPP path name, and baddabing baddaboom it worked. =20 Seem like something that should have happened during the install, tho'. --=20 Oliver Sampson Buy my CDs! ol...@qu... http://www.cdbaby.com/woodlawn http://www.oliversampson.com http://www.cdbaby.com/matchpoint |
|
From: Oliver S. <ol...@qu...> - 2004-04-09 15:28:35
|
On Fri, 09 Apr 2004 09:01:19 +0000, Oliver Sampson <ol...@qu...> wrote: >Howdy, >What should the address look like for the CVS repository field? I >tried=20 >cvs.sourceforge.net:/cvsroot/xxx >@:cvs.sourceforge.net/cvsroot/xxx >and so forth, but all come up invalid. > Ah, never mind, I get it. However, I think I might be able to make some additions to the help file.=20 when logging into sourceforge using the anonymous user, one usually just hits enter for the password, yet, that doesn't quite seem to fly with the DevCPP front end. Any tips? Thanks, --=20 Oliver Sampson Buy my CDs! ol...@qu... http://www.cdbaby.com/woodlawn http://www.oliversampson.com http://www.cdbaby.com/matchpoint |
|
From: <or...@vp...> - 2004-04-09 14:29:12
|
AFRO MEISTER wrote: > If anyone could tell me where the files probably go, or if they know=20 > about any devpacks for the library, or a tut on installng new libraries= =20 > to DevC++ it wiuld be helpful Header files (.h) go to /include Source files (.c, .cpp) go wherever you want them Library files (.a, .lib, .dll) go to /lib Dll (.dll) files go to /dll Before you ask, yes, .dll was listed twice, and it was intentional. :) In case you don't have an import library, then you have to copy .dll to=20 the lib folder, otherwise not. Though C++ DLLs *will not* work, if compiled with another compiler (as I=20 can see, MSVC 6). This does not stand for C DLLs. -- Greetings, Bal=E1zs |
|
From: Walter N. Jr. <wa...@it...> - 2004-04-09 12:27:59
|
Dear devcpp users, I'm starting using a Devc++ compiler. How can I get an User manual ?? Thanks, Walter Nabuco Jr. Brazil |
|
From: Malcolm N. <m.n...@wa...> - 2004-04-09 11:55:08
|
SGVsbG8gZGV2LWNwcC11c2VycywNCg0KICBJIGFtIGxvb2tpbmcgYXQgdGhlIGNvZGUgZnJv bSB0aGUgZ2FtZSBlbmdpbmUgYXJ0aWNsZXMgRW5naW51aXR5DQogIChodHRwOi8vd3d3Lmdh bWVkZXYubmV0L3JlZmVyZW5jZS9wcm9ncmFtbWluZy9mZWF0dXJlcy9lbmdpbnVpdHk0LykN CiAgd2hpY2ggaGFzIHNvdXJjZSBjb2RlICgNCiAgaHR0cDovL3d3dy5nYW1lZGV2Lm5ldC9y ZWZlcmVuY2UvcHJvZ3JhbW1pbmcvZmVhdHVyZXMvZW5naW51aXR5NC9wYXJ0NHNyYy56aXAN CiAgIClmcm9tIGEgcG9uZyBnYW1lLg0KDQogIEhhcyBhbnlvbmUgYnVpbHQgdGhpcyB1bmRl ciBEZXZDcHA/IEkgaGF2ZSBlcnJvcnMgZnJvbSB0aGlzIHNlY3Rpb24NCiAgb2YgY29kZToN Cg0KQ01NUG9pbnRlcjxDR2xvYmFsVGltZXI+IGdsb2JhbFRpbWVyID0gbmV3IENHbG9iYWxU aW1lcigpOw0KZ2xvYmFsVGltZXItPnByaW9yaXR5PTEwOw0KLy90aGUgQ01NUG9pbnRlcjxJ VGFzaz4gZXhwcmVzc2lvbiBoZXJlIGlzIHVzZWQgdG8gdHlwZWNhc3QNCi8vdGhlIHBvaW50 ZXIgZnJvbSBDR2xvYmFsVGltZXIqIHRvIElUYXNrKg0KQ0tlcm5lbDo6R2V0U2luZ2xldG9u KCkuQWRkVGFzayhDTU1Qb2ludGVyPElUYXNrPihnbG9iYWxUaW1lcikpOw0KDQp3aXRoIHRo aXMgZXJyb3INCg0Kbm8gbWF0Y2hpbmcgZnVuY3Rpb24gZm9yIGNhbGwgdG8gYENLZXJuZWw6 OkFkZFRhc2soIENNTVBvaW50ZXI8SVRhc2s+KScNCmNhbmRpZGF0ZXMgYXJlOiBib29sIENL ZXJuZWw6OkFkZFRhc2soQ01NUG9pbnRlcjxJVGFzaz4mKQ0KDQpGcm9tIHJlYWRpbmcgdGhl IGZvcnVtIEkgdW5kZXJzdGFuZCB0aGlzIGlzIGFuIGVycm9yIGluIHRlbXBvcmFyeQ0KcmVm ZXJlbmNlaW5nIHdoaWNoIEdDQyBkb2Vzbid0IGFsbG93LiBBbnkgaWRlYXMgaG93IHRvIGNv cnJlY3QgdGhlDQpjb2RlIHNvIHRoYXQgaXQgY29tcGlsZXMgY29ycmVjdGx5Lg0KDQoNCi0t IA0KQmVzdCByZWdhcmRzLA0KIE1hbGNvbG0gICAgICAgICAgICAgICAgICAgICAgICAgIG1h aWx0bzptLm5lYWxvbkB3YW5hZG9vLm5sDQo= |
|
From: Oliver S. <ol...@qu...> - 2004-04-09 11:28:25
|
Howdy, I just got a tooltip describing how I can stay up to date using vupdate. I tried to run it, and I get an error about not having an SBIN in my devcpp.cfg file. =20 This is a fresh install, shouldn't something like that be taken care of during the install? Thanks, --=20 Oliver Sampson Buy my CDs! ol...@qu... http://www.cdbaby.com/woodlawn http://www.oliversampson.com http://www.cdbaby.com/matchpoint |