dev-cpp-users Mailing List for Dev-C++ (Page 737)
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: <ste...@ge...> - 2001-01-07 07:21:08
|
Hi there! Can someone please help me? I'm working with DOS, and I'm using Turbo = C++ 3.0. I really would like some acces to more memory than 640K! I'm = almost sure that it's possible, I just don't know how! Thanks! :) |
|
From: Garling G B. I. <tim...@mi...> - 2001-01-07 06:18:10
|
I am new here, can someone point me in the way to some training material = for Dev C++, books, online. Thanks |
|
From: Ben <lau...@in...> - 2001-01-07 03:50:31
|
Hello programmers ! I really need you : I'd want to use a function which is strored in a DLL = file named cards32.dll, how can i add this function to my c++ windows = program ? =20 Here's the function :int WINAPI cdtInit (int, int) =20 Thank you ! =20 Ben. |
|
From: Alan T. <ala...@3n...> - 2001-01-07 02:29:05
|
Also, array elements start at 0, not 1. So, a[0] is the first element of
array a. Alan
----- Original Message -----
From: "Alan Thomas" <ala...@3n...>
Sent: Saturday, January 06, 2001 3:33 PM
Subject: RE: Program causes error
> Scone,
> Your syntax for the "for" loops is wrong. For example,
> instead of
>
> for(u=1;u++;u<=((s/2)+1))
>
> you should have written
>
> for(u=1; u<=((s/2)+1);u++)
>
> This is causing you to write past the end of the array "a", resulting in
an
> illegal operation. --- Alan
>
> for(u=1;u++;u<=((s/2)+1))
> { a[u]=0;
> }
|
|
From: Jay S. <mys...@op...> - 2001-01-07 01:05:08
|
http://www.bloodshed.net/dev/setup.zip ----- Original Message -----=20 From: Ben (laurent513)=20 To: dev...@li...=20 Sent: Saturday, January 06, 2001 6:49 PM Subject: [Dev-C++] 'Setup.exe' from Setup Creator Hello, I get Dev-c++ V 4 and I would want to create Installation program. I = clicked on Tools > Setup Creator and i answered to the wizard. After all = the questions, i clicked on "Build" and after a little moment a message = appears : "Cannot open file : "c:\...\Setup.exe". This setup application file is not installed on my PC. Can you say me = where i could download this file ? Thank you in anticipation. |
|
From: Ben (laurent513) <lau...@in...> - 2001-01-06 23:49:28
|
Hello, I get Dev-c++ V 4 and I would want to create Installation program. I = clicked on Tools > Setup Creator and i answered to the wizard. After all = the questions, i clicked on "Build" and after a little moment a message = appears : "Cannot open file : "c:\...\Setup.exe". This setup application file is not installed on my PC. Can you say me = where i could download this file ? Thank you in anticipation. |
|
From: Alan T. <ala...@3n...> - 2001-01-06 23:05:02
|
Scone,
Your syntax for the "for" loops is wrong. For example,
instead of
for(u=1;u++;u<=((s/2)+1))
you should have written
for(u=1; u<=((s/2)+1);u++)
This is causing you to write past the end of the array "a", resulting in an
illegal operation. --- Alan
From: "Scone Scone" <sc...@ho...>
Date: Sat, 06 Jan 2001 18:54:51 +0100
Subject: [Dev-C++] Program causes error
Program causes errorThe program below causes an error on my computer, but I
don't know what it
could be.
Does anyone know?
Thanks, Scone
============================
#include <iostream>
#include <stdlib.h>
int main ()
{
cout << "This program reads a number and calculates all rows of two or
more\n";
cout << "successive numbers of which the sum equals this number.\n";
cout << "E.g.: 15 = 1+2+3+4+5 = 4+5+6 = 7+8\n\n";
unsigned s, t, u, x, y, z;
cout << "Type a random number and press enter: ";
cin >> s;
cout << endl;
unsigned a[(s/2)+1];
for(x=1;x++;x<=((s/2)+1))
{ y=1;
for(u=1;u++;u<=((s/2)+1))
{ a[u]=0;
}
u=x;
while(1)
{ a[y++]=u++;
t=0;
for(z=1;z++;z<=y)
{ t+=a[z];
}
if (t<=s) break;
}
cout << s << " = ";
for(u=1;u++;u<=((s/2)+1))
{ cout << a[u] << " + ";
}
cout << endl;
}
system("pause");
return 0;
}
|
|
From: Scone S. <sc...@ho...> - 2001-01-06 17:54:47
|
The program below causes an error on my computer, but I don't know what it
could be.
Does anyone know?
Thanks, Scone
============================
#include <iostream>
#include <stdlib.h>
int main ()
{
cout << "This program reads a number and calculates all rows of two or
more\n";
cout << "successive numbers of which the sum equals this number.\n";
cout << "E.g.: 15 = 1+2+3+4+5 = 4+5+6 = 7+8\n\n";
unsigned s, t, u, x, y, z;
cout << "Type a random number and press enter: ";
cin >> s;
cout << endl;
unsigned a[(s/2)+1];
for(x=1;x++;x<=((s/2)+1))
{ y=1;
for(u=1;u++;u<=((s/2)+1))
{ a[u]=0;
}
u=x;
while(1)
{ a[y++]=u++;
t=0;
for(z=1;z++;z<=y)
{ t+=a[z];
}
if (t<=s) break;
}
cout << s << " = ";
for(u=1;u++;u<=((s/2)+1))
{ cout << a[u] << " + ";
}
cout << endl;
}
system("pause");
return 0;
}
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
|
From: ropbert d b. <lon...@ju...> - 2001-01-06 14:36:54
|
Look under examples in your dev-c++ for a program called WinMenu. This will give you a jump start on what you are looking for. lon...@ju... On Sat, 06 Jan 2001 10:46:14 +0100 Philippe de Rochambeau <pr...@cl...> writes: > Hello, > > I would like to create an application which lets you open windows > containing text that can be edited (a bit like notepad). When you > press > a button, text will be displayed, and you will be able to select > and > copy that text by selecting the Select All item in the Edit Menu. > Which > resource command should I use for such a large text-edit? TEXTEDIT > does > not seem to be appropriate because I am not creating here a small > text-input field. > > Any help on this matter would be much appreciated. > > > Philippe de Rochambeau > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |
|
From: Philippe de R. <pr...@cl...> - 2001-01-06 09:44:31
|
Hello, I would like to create an application which lets you open windows containing text that can be edited (a bit like notepad). When you press a button, text will be displayed, and you will be able to select and copy that text by selecting the Select All item in the Edit Menu. Which resource command should I use for such a large text-edit? TEXTEDIT does not seem to be appropriate because I am not creating here a small text-input field. Any help on this matter would be much appreciated. Philippe de Rochambeau |
|
From: Ramana K. <ra...@my...> - 2001-01-05 23:45:08
|
Jose, I realised that I could use the & to "accelerate" a key (I use this with my menu items, &Open, for example). >That depends on the key... Do you know the way I can make my "&Cancel" button respond to the "Esc" key? Are there special ways for each key (like DEFPUSHBUTTON, for "Enter")? I also noticed that you and a few other win32 programmers have been talking about MSDN. I have got a version of the SDK help (win32.hlp) but this is very old (based on the content) - it doesn't cover HTML help, only Win Help and a few other things are old too. I'll have a look at the MSDN site, but could you tell me the URL to download the SDK help or, the hyperlinks to take. Also, do you know whether I am using MFC or pure API? I don't use functions like OnInitDlg(), for dialogs I use a BOOL CALLBACK function. Oh, and what does SDK stand for, because although this came from Microsoft, it seems to cover some of the things I use (which I thought was pure API). I could be using both. Thank you so much, Ramana Kumar ICQ# 93667117 Get paid to surf the web! Go to: https://www.alladvantage.com/joinsecure.asp?refid=jpn471&cntry=1 -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Jose Manuel Padron Carrillo Sent: Saturday, January 06, 2001 12:49 AM To: dev...@li... Subject: Re: [Dev-C++] buttons --- Ramana Kumar <ra...@my...> escribió: > How do I make a PUSHBUTTON respond to a key? > For example, when you click File->Open in Dev-C++ you have a window > to open > the file. If you press escape, the "Cancel" button is pressed and if > you > press enter, the "Open" button is pressed. > > How can I make a button I create respond to a key like this? > I make the button in the resources file in a dialog box: > > ... > PUSHBUTTON "Cancel",-1,0,0,100,15 > ... > > When I make an item on a menu respond to a key, it is like this: > > Myaccel ACCELERATORS > { > <key>,<ID>,VIRTKEY > } > > Is there a similar thing for buttons? > > Please note from my source code that I am using the Win32 API, but, > if you > know of a way I can solve the problem that is different from this > (and, of > course, works in Dev-C++) I would be happy to hear about it. > > Thank you, > Xerchzkopfinc. Ramana Kumar (Ra...@my...) > ICQ# 93667117 > To get paid for surfing the 'net please visit > https://www.alladvantage.com/joinsecure.asp?refid=jpn471&cntry=1 > That deppends on the key, but to make it simple use this PUSHBUTTON "C&ancel",-1,0,0,100,15 and when you press the key a the button will be pushed. Cheers, Chemanuel __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
|
From: Chad S. <ho...@ho...> - 2001-01-05 18:50:23
|
>From: "Ioannis Vranos" <no...@ya...>
>Reply-To: dev...@li...
>To: <dev...@li...>
>Subject: RE: [Dev-C++] The new C99 Standard
>Date: Fri, 5 Jan 2001 20:34:14 +0200
>
>:) This is my last message concerning the matter since i am starting to
>feel the anger of the others. long was the largest integer supported by the
>C89. The standard did not define a size, only the fact that
>sizeof(int)<=sizeof(long).
>
>When writing portable code on any platform, the assumption that long is the
>largest integer value supported was made. Now this has changed and the most
>code must be changed.
Wrong. No code need be changed, because they didn't change the specification
of int or long, so the assertion you made that
sizeof(int) <= sizeof(long) will still be true even will compilers following
the new standard.
>Also the need for "100" more integer types did not exist. The introduction
>of system specific integers breaks the generality of the language. It is
>system vendor's job to provide platform extensions. When i write C code i
>expect it to run unchanged from Pentium IV to PDP-11 in the local museum.
This is the point I'm trying to stress. Since no changes where made to any
existing data types there need be no changes to code that uses the existing
data types. All that C99 does is introduce new data types that allow
programmers to more specifically specify at least how large a particular int
variable should be independant of the platform. I see this as a big
advantage, because it enables me to write (for example) a bitfield which
utalizes 64 bits, and will not requre that I change the data type depending
on what platform I'm running it on. I can use the int64 (or whatever the new
spec calls it) and I am then assured that even if my software is compiled on
32 bit architecture the size of that field will still accomodate all 64
bits.
>
>E.g.. int a[]={[2]=1, [1]=0, [0]=7};
>
>which is equivallent of always existing int a[]={7,0,1};
I agree that in this particular example nothing much is gained by the new
(as you say FORTRAN-like) intitialization scheme. However, nothing was lost
either. So on that issue I don't really have any strong feelings one way or
the other. I will most likely continue to initialize my structs and arrays
according to the old standard since I'm personally more used to seeing it
that way, but I don't understand why you are so opposed to them since they
really won't affect you unless you use them. (Or work with someone who
does.)
Chad Simmons
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
|
|
From: Ioannis V. <no...@ya...> - 2001-01-05 18:32:33
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of Chad
> Simmons
> Sent: Friday, January 05, 2001 6:25 PM
> To: dev...@li...
> Subject: RE: [Dev-C++] The new C99 Standard
> I guess my point it that adding new data types doesn't in any way change
> existing functionality, so I don't see where your claim that the C99
> standards breaks compatibility has much of a leg to stand on.
>
> Chad Simmons
:) This is my last message concerning the matter since i am starting to feel
the anger of the others. long was the largest integer supported by the C89.
The standard did not define a size, only the fact that
sizeof(int)<=sizeof(long).
When writing portable code on any platform, the assumption that long is the
largest integer value supported was made. Now this has changed and the most
code must be changed.
Also the need for "100" more integer types did not exist. The introduction
of system specific integers breaks the generality of the language. It is
system vendor's job to provide platform extensions. When i write C code i
expect it to run unchanged from Pentium IV to PDP-11 in the local museum.
Except of these incompatibilites, adddition of more features doing the same
job as existing ones (in the style write, writeln, e.t.c. of Pascal)
increases the weight of the language without adding any new benefit.
E.g.. int a[]={[2]=1, [1]=0, [0]=7};
which is equivallent of always existing int a[]={7,0,1};
Ioannis
|
|
From: Chad S. <ho...@ho...> - 2001-01-05 16:24:53
|
>From: "Ioannis Vranos" <no...@ya...>
>Reply-To: dev...@li...
>To: <dev...@li...>
>Subject: RE: [Dev-C++] The new C99 Standard
>Date: Fri, 5 Jan 2001 12:02:38 +0200
>
> > -----Original Message-----
> > From: dev...@li...
> > [mailto:dev...@li...]On Behalf Of James
> > Gordon
> > Sent: Friday, January 05, 2001 10:40 AM
> > To: 'dev...@li...'
> > Subject: RE: [Dev-C++] The new C99 Standard
> >
> >
> > Taking the example
> >
> > drawline((struct point) {.y=2, .x=1}, (struct point) {.x=3, .y=1});
> >
> > Is easier than
> >
> > {
> > struct point mypoint1, mypoint2;
> > mypoint1.y = 2;
> > mypoint1.x = 1;
> > mypoint2.y = 3;
> > mypoint2.x = 1;
> > drawline(mypoint1, mypoint2);
> > ... 100's of lines later
> > } <- Now mypoint1 & 2 are destroyed.
> >
>
>Do you find these:
>
>struct {int a[2], b}; x[]={[0].a = {1}, [1].a[0] = 2};
>
>
> struct s { int n; double d[]; };
>------------------------------------
>
> struct s *s1=malloc(sizeof(struct s)+64); //64 is for the d[]
> s1->d[0]=...
>
>as badly needed too?
>
> > Why does long long corrupt existing code?
>
>:))
>Because the previous standard assumed long as the biggest integer and
>programs were written with that in mind. Obviously we have different
>opinions on the matter but is long long the biggest integer? Do not forget
>that more integers were introduced (breaking further the compatibility):
But the size of a long didn't change with this standard. It simply allows
new code to specify exactly how much memory should be used for a particular
variable. A long is still the same size as it always has been, and as such
existing code won't "break" because new data types were introduced. The
whole reason for the new data types is probably due to the fact that pretty
soon processors will be optimised for 64 bit computations, and as such, the
int will go from being 32 bits to being 64 bits, and that could cause
programs written on these new platforms to be uncompileable on 32 bit
platforms if the writer of the program made assumtions about the size of an
int. This way there is no abiguity as to how much space a certain varaible
needs to utilize in order for the program to run properly. It also prevents
massive code rewrites in those cases.
I guess my point it that adding new data types doesn't in any way change
existing functionality, so I don't see where your claim that the C99
standards breaks compatibility has much of a leg to stand on.
Chad Simmons
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
|
|
From: <ste...@ge...> - 2001-01-05 15:09:55
|
Ah, what is implementation stuff?? Can someone give an example? :-) Thanks. ----- Original Message -----=20 From: "Ioannis Vranos" <no...@ya...> To: <dev...@li...> Sent: Thursday, January 04, 2001 7:07 AM Subject: RE: [Dev-C++] what is a resource? how do I create my own = headers? > He can use the following notation so as to bbe protected from multiple > includes. >=20 > #ifndef PINKY&THE_BRAIN >=20 > #define PINKY&THE_BRAIN > // implementation stuff > #endif >=20 >=20 > Ioannis >=20 > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...]On Behalf Of Luc = Morin > > Sent: Thursday, January 04, 2001 4:59 AM > > To: dev...@li... > > Subject: Re: [Dev-C++] what is a resource? how do I create my own = headers? > > > > > > > > ----- Original Message ----- > > From: "Ramana Kumar" <ra...@my...> > > To: <dev...@li...> > > Sent: Wednesday, January 03, 2001 9:16 PM > > Subject: RE: [Dev-C++] what is a resource? how do I create my own = headers? > > > > > > > > > > As far as I know, this is how you use header files, this is how > > I use them > > > but sometimes I don't see the point if you know the function will = not be > > > used later. If this is the case, keep the whole function in one > > file (a .h > > > file if it happens to be) and then you can include this as a > > file full of > > > functions in a project (used in a .cpp file like main.cpp). > > > > > > Ramana Kumar > > > ICQ# 93667117 > > > To get paid for surfing the 'net please visit > > > https://www.alladvantage.com/joinsecure.asp?refid=3Djpn471 > > > > > > > It is not a very good idea to put definitions in a header file. Next = thing > > you know, > > you include the file from another translation unit and you get = multiple > > definitions > > problems. > > > > I'd advise that if the function is gonna be used only in one = translation > > unit to put > > the function in that very same translation unit (declaration AND > > definition). > > > > Just my $0.02 > > > > Luc Morin > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > > >=20 >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
|
From: <jos...@ya...> - 2001-01-05 13:49:17
|
--- Ramana Kumar <ra...@my...> escribió: > How do I make a
PUSHBUTTON respond to a key?
> For example, when you click File->Open in Dev-C++ you have a window
> to open
> the file. If you press escape, the "Cancel" button is pressed and if
> you
> press enter, the "Open" button is pressed.
>
> How can I make a button I create respond to a key like this?
> I make the button in the resources file in a dialog box:
>
> ...
> PUSHBUTTON "Cancel",-1,0,0,100,15
> ...
>
> When I make an item on a menu respond to a key, it is like this:
>
> Myaccel ACCELERATORS
> {
> <key>,<ID>,VIRTKEY
> }
>
> Is there a similar thing for buttons?
>
> Please note from my source code that I am using the Win32 API, but,
> if you
> know of a way I can solve the problem that is different from this
> (and, of
> course, works in Dev-C++) I would be happy to hear about it.
>
> Thank you,
> Xerchzkopfinc. Ramana Kumar (Ra...@my...)
> ICQ# 93667117
> To get paid for surfing the 'net please visit
> https://www.alladvantage.com/joinsecure.asp?refid=jpn471&cntry=1
>
That deppends on the key, but to make it simple use this
PUSHBUTTON "C&ancel",-1,0,0,100,15
and when you press the key a the button will be pushed.
Cheers,
Chemanuel
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
|
|
From: Ioannis V. <no...@ya...> - 2001-01-05 13:44:04
|
true, false (and not TRUE, FALSE) exist in C++ as possible values of bool type which is fundamental type (*built in* as char, int, e.t.c.). From Bjarne Stroustrup's "The C++ programming language" Special Edition page 75: This is what is guaranteed about sizes of fundamental types: 1=sizeof(char)<=sizeof(short)<=sizeof(int)<=sizeof(long) 1<=sizeof(bool)<=sizeof(long) sizeof(char)<=sizeof(wchar_t)<=sizeof(long) (My note: wchar_t is *also* fundamental type in C++) sizeof(float)<=sizeof(double)<=sizeof(long double) sizeof(N)=sizeof(signed N)=sizeof(unsigned N) --- end of paste --- When a bool type is converted to an integer type true is concerted to 1 and false to 0. When an integer type is converted to bool, 0 is converted to false and !=0 is converted to true. E.g.: bool x=true; int y=x; // y==1 y=-10; x=y; //x==true x=0; //x==false Ioannis > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Alan Thomas > Sent: Friday, January 05, 2001 2:07 PM > To: dev...@li... > Subject: [Dev-C++] thruth or consequences > > > Are TRUE and FALSE provided somewhere as a standard definition > in a C++ library or something? I have been defining them myself, > but now I > have problems with multiple definitions or something in header > files. When > I remove the multiple definitions, then TRUE and FALSE are no > longer defined > in "this scope." > Thanks, Alan > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |
|
From: <jos...@ya...> - 2001-01-05 13:24:14
|
--- James Gordon <Jam...@Cl...> escribió: > You could download the Win32 Help from somewhere like > > I cannot remember where I got it from, but using Gozilla I downloaded > it > from ftp.cs.virginia.edu looking for win32help.exe. > > Regards, > > James. > Hi all, Borland released recently the latest update version of the WinAPI, (akthough is not as complete as the SDK of MSDN). From Borland I couldn't get it. I got the latest windows documentation from this sites: ftp://ftp.nluug.nl/vol/1/borland/bcppbuilder/techpubs/bcb5/b5ms.zip ftp://ftp.surfnet.nl/vol/1/borland/bcppbuilder/techpubs/bcb5/b5ms.zip Pay attention, is 17 Mb Cheers, Chemanuel __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ |
|
From: ropbert d b. <lon...@ju...> - 2001-01-05 12:50:01
|
Hex is a different way of thinking. However, it is not that hard once you understand the concept. Here is a good WEB site to help you. http://www.phoenix.net/~jacobson/pages/hex.html http://winnie.fit.edu/~emoore/hkbcheat.html This is a good example site http://www.hexworkshop.com/ This is a good HEX editor & converter Good luck & if you need help we are here. Lon...@ju... On Fri, 5 Jan 2001 09:12:18 -0000 Caroline Tully <Car...@no...> writes: > Help!! > I'm working my way through a ' Teach yourself C ' book and have > reached a > Chapter about Hex. > I wondered if anyone knew where I could get further information on > Hex, as > my book doesnt go into very much detail and it's making my head > hurt!!! > Please email me at ' car...@no... ' with any links. > Cheers! > Caroline > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |
|
From: Alan T. <ala...@3n...> - 2001-01-05 12:09:41
|
Are TRUE and FALSE provided somewhere as a standard definition
in a C++ library or something? I have been defining them myself, but now I
have problems with multiple definitions or something in header files. When
I remove the multiple definitions, then TRUE and FALSE are no longer defined
in "this scope."
Thanks, Alan
|
|
From: Alan T. <ala...@3n...> - 2001-01-05 12:03:18
|
"Hex" is a spell cast by an intelligent agent. This sometimes affects the
execution of software by stealing clock cycles on the computer.
Seriously . . . The hexadecimal system is a base 16 system, where
the decimal system is base 10. This means that each digit can represent
0-15, as opposed to 0-9 in decimal. After 9, of course, you need more
digits that don`t exist in base 10. The letters "A" through "F" represent
the digit values 10 through 15. Each digit is a power of 16, no longer a
power of 10, because this is a "base 16" system --- each digit can represent
one of 16 different values (0-15).
So, the hexadecimal number 1C converted to the decimal
system is 1x16^1 (16 to the first power) + Cx16^0 (16 to the zeroth power,
or 1),
which means 16 + 12 = 28.
When you think about it, it's a lot like the decimal system, where
274 = 2x10^2 + 7x10^1 + 4x10^0. It just seems weird because we have ten
fingers and normally use the decimal (base 10) system. Binary works the
same way but in base 2 (only two values, 0 or 1, for each digit).
Hope this helps, Alan
|
|
From: Frazell T. <fr...@fl...> - 2001-01-05 11:22:00
|
MSDN is great but where on it is it i found it once after like 3 hours but cant again a link would be extremly helpful ----- Original Message ----- From: "Hoo Hong" <hoo...@ho...> To: <dev...@li...> Sent: Friday, January 05, 2001 5:11 AM Subject: Re: [Dev-C++] Win32 API > hi, > I just managed to find some references for Win32 API. Anyone interested > please check out this URL : > http://www.mingw.org/docs.shtml > Nevertheless, the best source for Win32 API is still MSDN. > > Regards, > Hoo Hong > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |
|
From: James G. <Jam...@Cl...> - 2001-01-05 10:46:32
|
You could download the Win32 Help from somewhere like I cannot remember where I got it from, but using Gozilla I downloaded it from ftp.cs.virginia.edu looking for win32help.exe. Regards, James. -----Original Message----- From: Hoo Hong [mailto:hoo...@ho...] Sent: Friday, January 05, 2001 10:12 AM To: dev...@li... Subject: Re: [Dev-C++] Win32 API hi, I just managed to find some references for Win32 API. Anyone interested please check out this URL : http://www.mingw.org/docs.shtml Nevertheless, the best source for Win32 API is still MSDN. Regards, Hoo Hong _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This electronic message and any attachment is intended to be read by the named addressee(s) only. Any other recipient should be aware that its contents may be legally privileged and/or confidential and that its use, disclosure, copying or distribution may be unlawful. Unless you are a named addressee, please delete this message Whilst C. & J. Clark International Limited has taken steps to prevent the transmission of computer viruses with electronic mail, responsibility for screening incoming messages and the risk of such transmission and its consequences lies with the recipient. C. & J. Clark International Limited Registered in England and Wales Company No. 141015 Registered Office: 40 High Street, Street, Somerset BA16 0YA Telephone: +44 (0) 1458 443131 Fax: +44 (0) 1458 447547 |
|
From: Hoo H. <hoo...@ho...> - 2001-01-05 10:10:16
|
hi,
I just managed to find some references for Win32 API. Anyone interested
please check out this URL :
http://www.mingw.org/docs.shtml
Nevertheless, the best source for Win32 API is still MSDN.
Regards,
Hoo Hong
|
|
From: Hoo H. <hoo...@ho...> - 2001-01-05 10:10:13
|
<string> comes as a part of STL Library, any C++ complier should have =
it. Make sure your "C++ include files" option (under Option->Compiler =
options) is linked to the correct path. Also, make sure you compile it =
under a C++ Project (Not C Project), STL library works only in C++ =
environment.
Regards,
Hoo Hong
----- Original Message -----=20
From: Ioannis Vranos=20
To: dev...@li...=20
Sent: Friday, January 05, 2001 5:01 AM
Subject: RE: [Dev-C++] Reg. Program
Yes, Dev-C++ has it.
Ioannis
-----Original Message-----
From: dev...@li... =
[mailto:dev...@li...]On Behalf Of Frazell =
Thomas
Sent: Thursday, January 04, 2001 10:43 PM
To: dev...@li...
Subject: Re: [Dev-C++] Reg. Program
Dev. C++ has it? cause it gives me an error
|