dev-cpp-users Mailing List for Dev-C++ (Page 441)
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: Per W. <pw...@ia...> - 2003-02-14 12:37:40
|
I think you got a bit confused about terminology.
Looping and iteration is actually the same thing.
However, recursion is not anything that should be specifically avoided.
It's a question of what problem to solve.
The trivial example of the faculty function seems to be the most quoted
example for the use of a loop instead of recursion, but the example is
quite bad, since it's faculty is easier to implement and runds faster as a
loop.
There are matematical rules that makes it possible to rewrite any
iterative function into a recursive function. And in the same way, any
recursive function may be converted to use state queues to store the
recursive state.
Use recursion when recursion results in faster run-time, or an easier
implementation. In other cases, select an iterative approach.
Examples where recursion faster and/or easier:
- light-tree evaluation in a ray tracer.
- parsing of mathematical expressions
- some recursively defined functions, such as Ackerman
- regular expression pattern matching
/Per W
On Fri, 14 Feb 2003, Jaap de Wolff wrote:
>
>
> > -----Original Message-----
> > From: Ioannis Vranos [mailto:no...@ho...]
> > Sent: Friday, February 14, 2003 07:25 AM
> > To: dev...@li...
> > Subject: Re: [Dev-C++] recursion
> >
> >
> > -------Original Message-------
> >
> > From: Santiago
> > Date: =D0=E1=F1=E1=F3=EA=E5=F5=DE, 14 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2=
2003 5:53:20 =F0=EC
> > To: dev-cpp-users-list
> > Subject: [Dev-C++] recursion
> >
> > Hello all,
> > Simple one: how often, critical, and necessary is the usage
> > of C++ recursion
> > in the "real world" programming field?
> >
> >
> > =3D=3D> It has its uses, but try to avoid using it. Use loops
> > instead (usually
> > iteration).
> >
> >
> >
> > Ioannis Vranos
>
> Iteration is usefull when you have to make more of the same (iterative)
> operations on the result of itself, before you have your result.
> A traditional example of anything which can't be solved without iteration=
is
> the resolving of a regular expression.
> But of course there are more simple things which are far less complex usi=
ng
> iteration as by loops.
> As an example creating a hex string on stream.
>
> void ToHex(ostream &rstr, unsigned int n)
> {
> =09const char *HexChars =3D "0123456789ABCDEF";
> =09if (n >=3D 16)
> =09{
> =09=09ToHex(rstr, n/16);
> =09=09ToHex(rstr, n%16);
> =09}
> =09else
> =09{
> =09=09rstr << HexChars[n];
> =09}
> }
>
> Jaap
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> 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: Jaap de W. <wo...@Ne...> - 2003-02-14 12:22:02
|
> -----Original Message-----
> From: Ioannis Vranos [mailto:no...@ho...]
> Sent: Friday, February 14, 2003 07:25 AM
> To: dev...@li...
> Subject: Re: [Dev-C++] recursion
>=20
>=20
> -------Original Message-------
> =20
> From: Santiago
> Date: =D0=E1=F1=E1=F3=EA=E5=F5=DE, 14 =
=D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 5:53:20 =F0=EC
> To: dev-cpp-users-list
> Subject: [Dev-C++] recursion
> =20
> Hello all,
> Simple one: how often, critical, and necessary is the usage=20
> of C++ recursion
> in the "real world" programming field?
> =20
> =20
> =3D=3D> It has its uses, but try to avoid using it. Use loops=20
> instead (usually
> iteration).
> =20
> =20
> =20
> Ioannis Vranos
Iteration is usefull when you have to make more of the same (iterative)
operations on the result of itself, before you have your result.
A traditional example of anything which can't be solved without =
iteration is
the resolving of a regular expression.
But of course there are more simple things which are far less complex =
using
iteration as by loops.
As an example creating a hex string on stream.
void ToHex(ostream &rstr, unsigned int n)
{
const char *HexChars =3D "0123456789ABCDEF";
if (n >=3D 16)
{
ToHex(rstr, n/16);
ToHex(rstr, n%16);
}
else
{
rstr << HexChars[n];
}
}
Jaap=20
|
|
From: Adam M. <up...@in...> - 2003-02-14 11:18:10
|
Hi. Maybe it's not on subject but when i used gcc3.2 to compile my old project the EXE file was nearly 2 times biger then the old one. Did anyone else observed such thing? upanie. ----- Original Message ----- From: "Simon Langley" <s.l...@bl...> To: <dev...@li...> Sent: Friday, February 14, 2003 11:34 AM Subject: [Dev-C++] Missing file "dev/gcc32.txt" and reading error messages > Hi, > > The page http://www.bloodshed.net/dev/index.html contains a link to a file > dev/gcc32.txt relating to incompatabilities with GCC 3.2 - unfortunately the > file doesn't seem to exist. I'm using gcc 3.2 and the only problem I've had > is that only bits of some error messages get extracted by dev-cpp. Is there > something more serious? > > By the way, there is an obvious work-round for the error message problem - > don't make mistakes! > > Simon > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > 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 > > ---------------------------------------------------------------------- > Powiedz sobie dobre "Dzien dobry"! >>> http://link.interia.pl/f168b > > > |
|
From: Simon L. <s.l...@bl...> - 2003-02-14 10:25:28
|
Hi, The page http://www.bloodshed.net/dev/index.html contains a link to a file dev/gcc32.txt relating to incompatabilities with GCC 3.2 - unfortunately the file doesn't seem to exist. I'm using gcc 3.2 and the only problem I've had is that only bits of some error messages get extracted by dev-cpp. Is there something more serious? By the way, there is an obvious work-round for the error message problem - don't make mistakes! Simon |
|
From: Ioannis V. <no...@ho...> - 2003-02-14 06:24:52
|
-------Original Message-------=0D =0D From: Santiago=0D Date: =D0=E1=F1=E1=F3=EA=E5=F5=DE, 14 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2= 003 5:53:20 =F0=EC=0D To: dev-cpp-users-list=0D Subject: [Dev-C++] recursion=0D =0D Hello all,=0D Simple one: how often, critical, and necessary is the usage of C++ recurs= ion in the "real world" programming field?=0D =0D =0D =3D=3D> It has its uses, but try to avoid using it. Use loops instead (us= ually iteration).=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Johannes P. <joh...@pr...> - 2003-02-14 04:28:01
|
Good day
-=0=0-=00--0
I have a C/asm related question that is puzzling me. If possible can
somebody please give some input on it as I don't really have a clue
on where to go from here.
in the example below I add the SEGment of the handler function to the AX
register.
//======================= SNIP START ===========================
void handler(void){
return;
}
void main(void){
asm{
mov ax,SEG handler
}
}
//==========8<============ SNIP END ===========================
with the dos.h and stdio.h this compiles with no problems at all.
But when changing this to a class as seen below.
//========================= SNIP START ========================
class te{
private:
int vga;
protected:
void handler_te(void);
public:
void init(void);
};
void te::handler_te(void){
return 0;
}
void te::init(void){
asm{
mov ax,SEG this.handler_te
}
}
//============= 8< ========== SNIP END ===========================
when compiling this with the same headers you get the following error.
Error SEGTEST.CPP 19: Undefined symbol 'handler_te'
This is confusing me as I don't know how to get around this.
Any input will be appreciated.
Thanks in Advance
Johannes Pretorius
|
|
From: Richard J S. <st...@ri...> - 2003-02-14 04:01:59
|
When I try to check for updates, I get the following message: Error: Your devcpp.cfg file is missing I have Dev C++ version 4.9.7.1 I have vUpdate v1.616 Any help would be appreciated. Thanks. ------------------------------------------------------------------------ Richard J. Stoll, Professor of Political Science and Associate Dean of Social Sciences * Rice University Dept. Political Science MS 24 * P.O. Box 1892 * Houston TX 77251-1892 E-mail: st...@ri... * Tel: 713-348-3362 * FAX: 713-348-5273 |
|
From: Santiago <sa...@ho...> - 2003-02-14 03:51:57
|
Hello all, Simple one: how often, critical, and necessary is the usage of C++ = recursion in the "real world" programming field? Thanks San |
|
From: Luigi S. <gi...@li...> - 2003-02-13 16:22:56
|
On Thu, Feb 13, 2003 at 08:43:34AM +0100, Jaap de Wolff wrote:
> Yes, the code you show here has correct syntax.
> I expect that somewhere in your include files there is a
> #define small char.
Why would one need such a line, I've tried the following short
C program and it works.
enum_ex.c
---------
#include <stdio.h>
int
main()
{
enum Size { SMALL, MEDIUM, LARGE, GIANT };
puts("values used in the enumeration");
printf("SMALL = %d\n", SMALL);
printf("MEDIUM = %d\n", MEDIUM);
printf("LARGE = %d\n", LARGE);
printf("GIANT = %d\n", GIANT);
return 0;
}
> Just replace small by GranoBlasticSmall, and look what is happening..
> [...]
>
> -----Original Message-----
> From: Granoblastic Man [mailto:gr...@ta...]
>
> When trying to compile my code, I get a long list of errors, but they can
> all be traced back to one single error:
> "36 C:\CYGWIN\HOME\Granoblastic Man\Triad\ITEM.h
> parse error before `char'"
>
> 34 enum size
> 35 {
> 36 small,
> 37 medium,
> 38 large,
> 39 giant
> 40 };
>
> [...]
--
>> gisan >>
Give him an evasive answer.
|
|
From: =?iso-8859-1?Q?<vin...@la...> - 2003-02-13 15:51:14
|
I want to write that a program that : =0D=0A1) will be able to get the li= st of programs that are running =0D=0Aat the same time=0D=0A2) will be ab= le to close(=3Dto exit, to shut down) some of these =0D=0Aapplications=0D= =0A=0D=0AWhat functions do I need ?=0D=0A=0D=0AExcuse me for my bad engli= sh=0A=0AAcc=E9dez au courrier =E9lectronique de La Poste : www.laposte.ne= t ; =0A3615 LAPOSTENET (0,13 =80/mn) ; t=E9l : 08 92 68 13 50 (0,34=80/mn= )"=0A=0A |
|
From: Jaap de W. <wo...@Ne...> - 2003-02-13 07:44:04
|
Yes, the code you show here has correct syntax.
I expect that somewhere in your include files there is a
#define small char.
Just replace small by GranoBlasticSmall, and look what is happening..
BTW all coding books suggest you better can use a more explicit name.
Because the kind of names is so general, that they fit for any
implementation,
there is a big change that the names will conflict with a future or existing
name.
-----Original Message-----
From: Granoblastic Man [mailto:gr...@ta...]
Sent: Thursday, February 13, 2003 03:56 AM
To: dev...@li...
Subject: [Dev-C++] What the heck?!
When trying to compile my code, I get a long list of errors, but they can
all be traced back to one single error:
"36 C:\CYGWIN\HOME\Granoblastic Man\Triad\ITEM.h
parse error before `char'"
34 enum size
35 {
36 small,
37 medium,
38 large,
39 giant
40 };
... What in the heck is it talking about? From what I recall, enums can have
any name assigned to the variables, right? So what's wrong with _this_
enum?!
|
|
From: lamont <lam...@ve...> - 2003-02-13 03:07:35
|
>Hi, >Can anyone recommend any good C++ books for a beginner? >Thanks in advance, >V. Ewing The book by Deitel & Deitel (father and son team) "C++ How to Program" is pretty good. Its used in college classrooms and assumes no prior knowledge of programming. The content is pretty comprehensive. Another one which is a little harder to read is the book by Stroustrup "C++ programming Language". I think that c++ programmer should have this book on his/her shelf. You might also consider picking up "The C++ Standard Library" by Josuttis. Its always good to have a reference like this. |
|
From: Granoblastic M. <gr...@ta...> - 2003-02-13 02:54:51
|
When trying to compile my code, I get a long list of errors, but they =
can all be traced back to one single error:
"36 C:\CYGWIN\HOME\Granoblastic Man\Triad\ITEM.h
parse error before `char'"
34 enum size
35 {
36 small,
37 medium,
38 large,
39 giant
40 };
... What in the heck is it talking about? From what I recall, enums can =
have any name assigned to the variables, right? So what's wrong with =
_this_ enum?! |
|
From: <or...@vp...> - 2003-02-12 20:03:14
|
Samuel Keding wrote: > Thanks, Well, if this is for me, I forgot to say, that compproc(void*,void*) has to work like the cmp() in qsort(). It has to return 0 if the two arguments are equivalent, return < 0 if the first is "smaller" and return > 0 when the first is "greater" than the second. Also the list is sorted like the smaller ones are at the beginning, so the list is incremental. If you want it to be decremental, obviously you need to reverse the return value of cmp. One last note: xlist_destroy() first removes all nodes, then destroys the list. Actually it is up to you to first free all values in the nodes, and to set the destroyed xlist to NULL, if you need. Sorry, but the implementation lacks documentation, so if you don't understand something, just mail me (or take a look at the code, it is short :) -- Greetings, Balázs |
|
From: <gra...@ya...> - 2003-02-12 14:21:41
|
When I try and link my dll (with a lot of object files in it), dllwrap is returning "The input line is too long." I'm using version 4.9.6 of Dev-C++ with the mingw you get with it. Does anyone know what might cause this? Cheers Andy __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
|
From: Lars-Bo J. <la...@fo...> - 2003-02-12 08:45:56
|
Hi al, I need to include wx.rc resource file from the wxWindows packages in Dev-Cpp 4.9.75. In the help file - section "Project options overview" it is specified that I should do this in "Project options| Files directories| Resource file" But this tab does not exist. In my version of Dev-Cpp, there are only tabs for directories not files. So where do I tell Dev-Cpp to include my resouce file ? Regards Lars-Bo |
|
From: Ioannis V. <no...@ho...> - 2003-02-12 04:06:06
|
"Accelerated C++" by Andrew Koenig, Barbara Moo.=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: vangie ewing=0D Date: =D4=E5=F4=DC=F1=F4=E7, 12 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 3:= 33:09 =F0=EC=0D To: dev...@li...=0D Subject: [Dev-C++] C++ Beginner Books=0D =0D Hi,=0D =0D Can anyone recommend any good C++ books for a beginner?=0D =0D Thanks in advance,=0D V. Ewing=0D =20 |
|
From: vangie e. <ve...@ct...> - 2003-02-12 01:31:26
|
Hi, Can anyone recommend any good C++ books for a beginner? Thanks in advance, V. Ewing |
|
From: <or...@vp...> - 2003-02-11 23:02:28
|
Hello!
Samuel Keding wrote:
> Linked
> lists are better but if I want to stick an element right in the
> middle, I still have to follow the links all the way down the list.
Well, I am making a project in C, and I needed sorted linked lists for
it. I have made a very small implementation of a doubly linked closed
list, which can be sorted, by giving a comparison function at the
creation of the list (something like qsort()). If it is NULL, the list
will be unsorted. I have made a small, yet very efficient function which
inserts at the right place using the comparison function, or appends if
it is NULL.
The list stores void* pointers, so actually anything can be contained in it.
Lists can be created, destroyed. Elements (void* values) can be added,
removed, they are stored in nodes internally. Searching is also
implemented. The list structure has a pointer to the first and the last
node, and each node has a pointer to the previous and next nodes. So
removal and insertation is fast.
The list is called xlist, nodes xnode.
Ex.: getting next value: xnode_current->next->value.
Ex.: Iterating through the list if needed:
xnode *xn
xlist *xl;
/* Create, add values here ... */
/* Iterate now: */
for(xn = xl->first;xn != NULL;xn = xn->next){
xn->value ...
}
The whole stuff is one .c (only 90 lines of code) and one .h(40 lines of
code) file (xlist.c, xlist.h). I have attached them. I hope it will be
useful :)
Here is the interface for it (the xlist.h file):
/* General purpose list implementation
* Header file
* Written by: Balázs Oroszi
* 2002
*/
#ifndef _S_XLIST_H
#define _S_XLIST_H
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*compproc)(void*,void*);
typedef struct _xnode{
void* value;
struct _xnode *prev;
struct _xnode *next;
}xnode;
typedef struct _xlist{
int length;
xnode *first;
xnode *last;
compproc cmp; /* if NULL, the list is unsorted */
}xlist;
/* list management */
xlist* xlist_create(compproc cmp);
void xlist_destroy(xlist *pxl);
xnode* xlist_add(xlist *pxl, void* value);
int xlist_remove(xlist *pxl, xnode *pxn);
int xlist_length(xlist *pxl); /* O(1) time */
/* list utility functions */
xnode* xlist_search(xlist *pxl, void* value);
#ifdef __cplusplus
}
#endif
#endif
|
|
From: RICARDO H. F. <OP...@si...> - 2003-02-11 16:10:44
|
As informa=E7=F5es contidas neste "e-mail" e nos arquivos anexados, s= =E3o para o uso exclusivo do destinat=E1rio aqui indicado, e podem conter s= egredos=20 comerciais, de propriedade intelectual ou outras informa=E7=F5es conf= idenciais, protegidas pelas leis aplic=E1veis. Caso n=E3o seja o destinat=E1rio cor= reto, esteja notificado, pelo presente, que qualquer revis=E3o, leitura, c=F3pia e/ou = divulga=E7=E3o do conte=FAdo deste "e-mail" s=E3o estritamente proibidas e n=E3o autor= izadas. Por=20 favor, apague o conte=FAdo do "e-mail" e notifique o remetente imedi= atamente. Obrigado por sua coopera=E7=E3o. The information contained in this e-mail and in the attached files are fo= r the exclusive use of the addressee herein nominated, and may contain trade se= crets, privileged and other confidential information,protected by the applicable= laws. In case you are not the right addressee, you are hereby notified tha= t any=20 reviewing, reading, copying and/or distributing of this e-mail's conte= nt is=20 strictly prohibited and unauthorized. Please, delete the e-mail's conten= t and=20 notify the sender immediately.=20 Thank you for your cooperation. |
|
From: sachin p. <coo...@ya...> - 2003-02-11 15:06:14
|
Hello group, I am a new user of Dev Cpp. I was amazed by the GUI provided and feel that the interface is as good as most commercial IDEs. I have downloaded and installed the version 4.9.7.0 of the IDE but I had problems in debugging the code. 1. As soon as I start stepping through the code, new source windows start popping up with each single step( F7) command. 2. Also I am unable to close these windows even after stopping the debugging session and have to restart the application. This has made it almost impossible to debug any code. I have looked through the FAQs and there is no mention to any such problem. Also I have been subscribing to this list and here also nobody has reported similar problems. I want to know if there is some setting that I am getting wrong. ( I tried with a fresh installation and the problem is still there ) I have tried the version 4 of the IDE along with Insight debugger. That setup seems to work fine. PS: Please excuse me for putting the query on the mailing list instead of using the vRoach error / bug reporting tool. ( I don't think this is a bug ) Thanks in advance, Sachin Patil. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com |
|
From: Lars-Bo J. <la...@fo...> - 2003-02-11 14:22:48
|
I tried to include both=20 Dev-Cpp\include Dev-Cpp\include\wx\msw I did a rebuild, still same error. I can compile, and the main window = of my application works and the opening of common dialogs works as well, so = is it really a problem with the inclusion wx.rc file I mean is that file not = need by the other processes? Lars-Bo -----Oprindelig meddelelse----- Fra: "J=F6rgen" [mailto:qa...@ho...] Sendt: 11. februar 2003 15:00 Til: Lars-Bo Jacobsen; dev...@li... Emne: Re: [Dev-C++] Newbie on wxWindows create Set your Dev-Cpp\include directory as a resource directory = (Project->Project Options->Directories->Resource Directories) *********** REPLY SEPARATOR *********** On 2003-02-11 at 14:24 Lars-Bo Jacobsen wrote: >Hi all > >I am working my way throuh David Beech tutorial on wnWindows. I am to >create >a custom dialog, and the program compiles fine but when I do the event = that >is suposed to open the custom dialog I get the following error = message. > >Assert failed in file ../../src/msw/dialog.cpp at line 174: Failed to >create >dialog. You probably forgot to include wx/msw/wx.rc in your resources. > > >I thought that DEV-Cpp maintains whatever is nessesary regarding = resources. >If not where do i tell Dev-Cpp about this resource file?.=20 > >any help is apriciated > >Regards > >Lars-Bo > > > >------------------------------------------------------- >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 s |
|
From: <qa...@ho...> - 2003-02-11 13:59:56
|
Set your Dev-Cpp\include directory as a resource directory= (Project->Project Options->Directories->Resource Directories) *********** REPLY SEPARATOR *********** On 2003-02-11 at 14:24 Lars-Bo Jacobsen wrote: >Hi all > >I am working my way throuh David Beech tutorial on wnWindows. I am to >create >a custom dialog, and the program compiles fine but when I do the event= that >is suposed to open the custom dialog I get the following error message. > >Assert failed in file ../../src/msw/dialog.cpp at line 174: Failed to >create >dialog. You probably forgot to include wx/msw/wx.rc in your resources. > > >I thought that DEV-Cpp maintains whatever is nessesary regarding= resources. >If not where do i tell Dev-Cpp about this resource file?. > >any help is apriciated > >Regards > >Lars-Bo > > > >------------------------------------------------------- >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 s |
|
From: Lars-Bo J. <la...@fo...> - 2003-02-11 13:24:19
|
Hi all I am working my way throuh David Beech tutorial on wnWindows. I am to create a custom dialog, and the program compiles fine but when I do the event that is suposed to open the custom dialog I get the following error message. Assert failed in file ../../src/msw/dialog.cpp at line 174: Failed to create dialog. You probably forgot to include wx/msw/wx.rc in your resources. I thought that DEV-Cpp maintains whatever is nessesary regarding resources. If not where do i tell Dev-Cpp about this resource file?. any help is apriciated Regards Lars-Bo |
|
From: Per W. <pw...@ia...> - 2003-02-11 03:24:50
|
It's a bit hard to understand exactly what problem you want to solve. You might build a sorted priority queue with a <map>, where each entry is mapped from <prio,sequence> -> <entry>. A <map> is normally constructed from a RedBlack tree, i.e. an efficient form of balanced tree. Insert, Find, Remove etc will be performed in log time. /Per W On Mon, 10 Feb 2003, Samuel Keding wrote: > A bit of a strange question here. I want to make a queue that I > can search through for a flag and if the flag is set to one condition > perform operation A. If it is set to another condition do operation > B, etc, etc. I thought an effiecent way to do this would be to sort > the items before they go onto the queue, but to do this I would > have to have a function that can stick a queue element in between > other elements. With arrays this is terribly wastiful of time. Linked > lists are better but if I want to stick an element right in the > middle, I still have to follow the links all the way down the list. > I thought of dynamically allocating an array of pointers that point > to a datatype T (template) but I would still have to worry about > a bunch of assignment operations. The last option I can think of > is my original flag with an array, but I really wish I could come > up with a better way to sort the queue. Your help is appreciated. > > > > _____________________________________________________________ > Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. > http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus > > > ------------------------------------------------------- > 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 > |