dev-cpp-users Mailing List for Dev-C++ (Page 697)
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: DeAd P. <dea...@ho...> - 2001-05-18 19:18:10
|
Ok sorry to keep bugging you guys but i have another problem.. to make a random number everytime i use a program i would stick #include <time.h> at the top and then add srand(clock()); in the program so that the number will always be different..(randomize it) it doesnt work on here. what am i doing wrong? it gives no errors. -Thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |
|
From: DeAd P. <dea...@ho...> - 2001-05-18 19:13:33
|
ok, in school i have this file i use for my own shortcuts.. like mystuff.cp,
when i try it on my PC it dont work.. can somone help me?
I usually put it like this on the mac in school..
mystuff.cp
void whatever()
{
cout<<"This is my sample";
}
-----------------
myprogram.cp
#include <iostream.h>
#include <stdlib.h>
#include "mystuff.cp"
int main
{
whatever();
return 0;
}
-Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
|
|
From: <jos...@ya...> - 2001-05-18 07:38:48
|
Here you can find lots of tutorials that will help you to do all the stuff http://www.geocities.com/josempadron/eng/tutorials.htm hth Chemanuel --- DeAd PhXcKaH <dea...@ho...> escribió: > I need help! I'm kind of new to c++, i know all the basics(all text > stuff) i > dont know how to make nice windows with buttons or graphics or > anything i > can only use dos... can someone explain to me step by step how to > make a > simple C++ program with maybe a few buttons doing some kind of > action. > Thank You > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger: Comunicación instantánea gratis con tu gente - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-05-18 07:34:51
|
Hi,
I think the mistake is down there. Check out my correction.
--- Andre` Niel Cameron <ca...@op...> escribió: > Does any one
see any errors here? It compiles fine it just doesn't
> WORK!:(
> BOOL LeftRight;
> BOOL TopBottom;
>
> BOOL ClickButton(RECT szRectName)
> {
> if ((g_x > szRectName.left) && (g_x < szRectName.right))
> LeftRight = TRUE;
> else LeftRight = FALSE;
>
> if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
> TopBottom = TRUE;
> else TopBottom = FALSE;
>
> if ((LeftRight = TRUE) && (TopBottom = TRUE))
If you want to compare you need to use
if ((LeftRight == TRUE) && (TopBottom == TRUE))
Otherwise you're just doing an assignment.
> return TRUE;
> else return FALSE;
> }
>
hth
Chemanuel
_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger: Comunicación instantánea gratis con tu gente -
http://messenger.yahoo.es
|
|
From: Jerry C. <je...@ca...> - 2001-05-17 22:08:08
|
I just installed Dev-C++ and was wondering if anyone else had any problems with adding files to a project? Everytime I add existing source files to a project, the window is empty (i.e., no code). Any ideas? Btw, am using a Win98 platform. TIA, Jerry |
|
From: gem M. <ge...@ac...> - 2001-05-17 19:43:09
|
Please remove me from the users E-Mail list.
Thanks --- Glen --- |
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 19:35:06
|
goto www.winprog.org click on tutorials. ----- Original Message ----- From: "DeAd PhXcKaH" <dea...@ho...> To: <Dev...@li...> Sent: Thursday, May 17, 2001 3:26 PM Subject: [Dev-C++] C++ windows > I need help! I'm kind of new to c++, i know all the basics(all text stuff) i > dont know how to make nice windows with buttons or graphics or anything i > can only use dos... can someone explain to me step by step how to make a > simple C++ program with maybe a few buttons doing some kind of action. > Thank You > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: DeAd P. <dea...@ho...> - 2001-05-17 19:26:07
|
I need help! I'm kind of new to c++, i know all the basics(all text stuff) i dont know how to make nice windows with buttons or graphics or anything i can only use dos... can someone explain to me step by step how to make a simple C++ program with maybe a few buttons doing some kind of action. Thank You _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 19:19:05
|
Hey thanx alot:) Everything works GREAT now, I guess simpler is better:)
----- Original Message -----
From: "Schedler, Kurt" <Kur...@hi...>
To: <dev...@li...>
Sent: Thursday, May 17, 2001 1:25 PM
Subject: RE: [Dev-C++] help please
> Why not do something like this and save a few variables and conditions:
>
> bool ClickButton(RECT szRectName)
> {
> return (g_x > szRectName.left) && (g_x < szRectName.right) && (g_y >
> szRectName.top) && (g_y < szRectName.bottom)
> }
>
> Like the other post mentioned, the > and < were reversed in the last two
> comparisons. Remeber that the y axis goes down the screen from the top.
>
> -----Original Message-----
> From: Andre` Niel Cameron [mailto:ca...@op...]
> Sent: Thursday, May 17, 2001 10:06 AM
> To: dev...@li...
> Subject: [Dev-C++] help please
>
>
> Does any one see any errors here? It compiles fine it just doesn't
WORK!:(
> BOOL LeftRight;
> BOOL TopBottom;
>
> BOOL ClickButton(RECT szRectName)
> {
> if ((g_x > szRectName.left) && (g_x < szRectName.right))
> LeftRight = TRUE;
> else LeftRight = FALSE;
>
> if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
> TopBottom = TRUE;
> else TopBottom = FALSE;
>
> if ((LeftRight = TRUE) && (TopBottom = TRUE))
> return TRUE;
> else return FALSE;
> }
>
>
>
> "The sender believes that this E-mail and any attachments were free of any
> virus, worm, Trojan horse, and/or malicious code when sent. This message
> and its attachments could have been infected during transmission. By
> reading the message and opening any attachments, the recipient accepts
full
> responsibility for taking protective and remedial action about viruses and
> other defects. The sender's employer is not liable for any loss or damage
> arising in any way from this message or its attachments."
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Schedler, K. <Kur...@hi...> - 2001-05-17 18:40:52
|
Why not do something like this and save a few variables and conditions:
bool ClickButton(RECT szRectName)
{
return (g_x > szRectName.left) && (g_x < szRectName.right) && (g_y >
szRectName.top) && (g_y < szRectName.bottom)
}
Like the other post mentioned, the > and < were reversed in the last two
comparisons. Remeber that the y axis goes down the screen from the top.
-----Original Message-----
From: Andre` Niel Cameron [mailto:ca...@op...]
Sent: Thursday, May 17, 2001 10:06 AM
To: dev...@li...
Subject: [Dev-C++] help please
Does any one see any errors here? It compiles fine it just doesn't WORK!:(
BOOL LeftRight;
BOOL TopBottom;
BOOL ClickButton(RECT szRectName)
{
if ((g_x > szRectName.left) && (g_x < szRectName.right))
LeftRight = TRUE;
else LeftRight = FALSE;
if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
TopBottom = TRUE;
else TopBottom = FALSE;
if ((LeftRight = TRUE) && (TopBottom = TRUE))
return TRUE;
else return FALSE;
}
"The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent. This message
and its attachments could have been infected during transmission. By
reading the message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. The sender's employer is not liable for any loss or damage
arising in any way from this message or its attachments."
|
|
From: Luigi S. <gi...@li...> - 2001-05-17 18:20:21
|
Hi! Usually, as a programmer, among other things, I need to: - compile a single file (when I wish to check if there are compile errors) - build a project (compile all files and run the linker) - make a project (compile only modified files, if needed run the linker) Questions: - Is there any way to compile a single file using Dev-C++? - To build a project I use "rebuild all", how about making the project? - Shouldn't "compile a project" be different from "rebuild all"? gisan |
|
From: Luigi S. <gi...@li...> - 2001-05-17 18:20:20
|
>From: Colin Laplace <web...@bl...> >Organization: Bloodshed Software >To: Luigi Santillo <gi...@li...> >Subject: Re: Possible bug: Access violation >Date: Wed, 16 May 2001 13:02:53 +0200 >X-Mailer: KMail [version 1.0.28] > >Hi ! > >Thanks for sending this bug report, it will be corrected for next version > >Regards, >Colin > > > Phase 1 - creating a new project > > - start ... >-- >Colin Laplace >web...@bl... >http://www.bloodshed.net gisan |
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 17:36:11
|
I did that that was just a unnoticed byproduct. The acctual problem is I
cannot get the RECT info into the function.
if (ClickButton(exit,340,470,490,510) == TRUE)
PostQuitMessage(0);
else G.currGameState = GAMESTATE_NMENU;
break;
}
And here is the function:
BOOL ClickButton(RECT szRectName,int l,int t,int r,int b)
{
if ((g_x < szRectName.left) && (g_x > szRectName.right))
LeftRight = TRUE;
else LeftRight = FALSE;
if ((g_y > szRectName.top) && (g_y < szRectName.bottom))
TopBottom = TRUE;
else TopBottom = FALSE;
if ((LeftRight = TRUE) && (TopBottom = TRUE))
return TRUE;
else return FALSE;
}
----- Original Message -----
From: "Elias Pschernig" <eli...@ao...>
To: <dev...@li...>
Sent: Thursday, May 17, 2001 1:14 PM
Subject: Re: [Dev-C++] help please
> > Does any one see any errors here? It compiles fine it just doesn't
> WORK!:(
> > BOOL LeftRight;
> > BOOL TopBottom;
> >
> > BOOL ClickButton(RECT szRectName)
> > {
> > if ((g_x > szRectName.left) && (g_x < szRectName.right))
> > LeftRight = TRUE;
> > else LeftRight = FALSE;
> >
> > if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
>
> I think you want to swap the < and > in the above line.
>
> Elias Pschernig
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Elias P. <eli...@ao...> - 2001-05-17 17:14:30
|
> Does any one see any errors here? It compiles fine it just doesn't
WORK!:(
> BOOL LeftRight;
> BOOL TopBottom;
>
> BOOL ClickButton(RECT szRectName)
> {
> if ((g_x > szRectName.left) && (g_x < szRectName.right))
> LeftRight = TRUE;
> else LeftRight = FALSE;
>
> if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
I think you want to swap the < and > in the above line.
Elias Pschernig
|
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 17:04:13
|
Does any one see any errors here? It compiles fine it just doesn't WORK!:(
BOOL LeftRight;
BOOL TopBottom;
BOOL ClickButton(RECT szRectName)
{
if ((g_x > szRectName.left) && (g_x < szRectName.right))
LeftRight = TRUE;
else LeftRight = FALSE;
if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
TopBottom = TRUE;
else TopBottom = FALSE;
if ((LeftRight = TRUE) && (TopBottom = TRUE))
return TRUE;
else return FALSE;
}
|
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 14:57:21
|
I knew that one:) I'm using Direct Input. I had it in the title:) How do I do it with that? ----- Original Message ----- From: "Lorenzo" <co...@in...> To: <dev...@li...> Sent: Thursday, May 17, 2001 10:54 AM Subject: Re: [Dev-C++] DINPUT > > Does anyone know how to detect where the mouse was clicked? > > case WM_LBUTTONDOWN: > xPos = LOWORD(lParam); // horizontal position of cursor > yPos = HIWORD(lParam); // vertical position of cursor > break; > > -------------------------------------------------------------------------- -- > -------------- > If debugging is the process of removing bugs, > then programming must be the process of putting them in. > -------------------------------------------------------------------------- -- > -------------- > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Lorenzo <co...@in...> - 2001-05-17 14:53:37
|
> Does anyone know how to detect where the mouse was clicked?
case WM_LBUTTONDOWN:
xPos = LOWORD(lParam); // horizontal position of cursor
yPos = HIWORD(lParam); // vertical position of cursor
break;
----------------------------------------------------------------------------
--------------
If debugging is the process of removing bugs,
then programming must be the process of putting them in.
----------------------------------------------------------------------------
--------------
|
|
From: Andre` N. C. <ca...@op...> - 2001-05-17 14:28:37
|
Does anyone know how to detect where the mouse was clicked? I want the program to close when the word exit is clicked. The word exit is wrighten on a bmp in the background. Any ideas anyone? |
|
From: ls <len...@ho...> - 2001-05-17 06:08:34
|
Does anyone have any idea how to implement swedish letters when running program in DOS window -- Lennart Sandberg Department of Computer Engineering Mälardalen University Box 883 email: len...@ho... 721 23 Västerås phone: +46 227 13248 mob +46 70 778 2387 |
|
From: Andre` N. C. <ca...@op...> - 2001-05-15 21:49:50
|
Does anyone know of a good place to recrute Artist's for a Game Development team? I'm also looking for a programmer with strong network skills. -Andre |
|
From: <csc...@gm...> - 2001-05-15 21:45:33
|
> everytime i try to compile allegro throgh the make command i get the > following error...i have no idea what is going on...HELP!!! > please!!!!!!!!!!!!! Don't panic. Just put this line in the file c:\devc\include\windef.h #define HMONITOR_DECLARED suppose you have everything else, dxlibs, includes? with greetings, -chris |
|
From: <Dos...@ao...> - 2001-05-15 21:28:49
|
everytime i try to compile allegro throgh the make command i get the
following error...i have no idea what is going on...HELP!!!
please!!!!!!!!!!!!!
C:\Dev-C\allegro>make
Compiling Allegro for MINGW32, optimised. Please wait...
gcc -DALLEGRO_SRC -Wall -Wno-unused -mpentium -O2 -funroll-loops -ffast-math
-fo
mit-frame-pointer -fno-strength-reduce -I. -I./include -o
obj/mingw32/alleg/inli
ne.o -c src/inline.c
In file included from .\include\allegro\aintwin.h:38,
from src/inline.c:27:
c:\mingw32\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\include\ddra
w.
h:148: parse error before `HMONITOR'
c:\mingw32\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\include\ddra
w.
h:149: parse error before `HMONITOR'
C:\MINGW32\BIN\MAKE.EXE: *** [obj/mingw32/alleg/inline.o] Error 1
any ideas as to what i can do...all the headers and libs are in the proper
places (i think) is there some kind of error int he ddraw.h file??
|
|
From: Patoche <pvi...@fr...> - 2001-05-15 20:59:41
|
ok i know it is in the compiled file, but i want to excute it without = having a copy of it on disk. Is there solution to execute it directly from = memory ?? Perhaps some lines in assembler ?? thanks ________________ En-t=EAte r=E9ponse_______________ Objet : Re: [Dev-C++] execute a file stored in resource Auteur : Andre` Niel Cameron <ca...@op...> Date : Tue, 15 May 2001 15:53:52 +0100 if you load it ass a resource it should automatically be included in the = compiled file. At least it is with MSVC++. ----- Original Message ----- From: "Patrice VIALARD" <pa...@wa...> To: <dev...@li...> Sent: Tuesday, May 15, 2001 11:47 AM Subject: [Dev-C++] execute a file stored in resource > Hello, > > i want to use a program file(.EXE) stored in resource in my program, but = i want to use it without create a copy of it on disk for security reason. = there is a solution ??? > > thank you .. > Patrice. > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users= |
|
From: Andre` N. C. <ca...@op...> - 2001-05-15 15:51:53
|
if you load it ass a resource it should automatically be included in the compiled file. At least it is with MSVC++. ----- Original Message ----- From: "Patrice VIALARD" <pa...@wa...> To: <dev...@li...> Sent: Tuesday, May 15, 2001 11:47 AM Subject: [Dev-C++] execute a file stored in resource > Hello, > > i want to use a program file(.EXE) stored in resource in my program, but i want to use it without create a copy of it on disk for security reason. there is a solution ??? > > thank you .. > Patrice. > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Patrice V. <pa...@wa...> - 2001-05-15 15:47:59
|
Hello, i want to use a program file(.EXE) stored in resource in my program, but = i want to use it without create a copy of it on disk for security reason. = there is a solution =3F=3F=3F thank you .. Patrice. |