dev-cpp-users Mailing List for Dev-C++ (Page 675)
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: Christian W. <Chr...@vo...> - 2001-08-17 09:52:50
|
Hi List, how can i create a timer in an application ??? I must get every second an event from the timer... How to use ??? Thanx for help Diese Mail wurde auf Viren überprüft. This mail was checked for virusses. |
|
From: Ray & D. S. <sm...@ma...> - 2001-08-16 21:57:40
|
Hi, I'm no expert but I beleive dinput.dll contains the DirectInput routines for DirectX. Do the other computers have DirectX??? Ray Smith ----- Original Message ----- From: jansb000 <jan...@wx...> To: <dev...@li...> Sent: Friday, August 17, 2001 7:04 AM Subject: [Dev-C++] Q: Compiled program says it needs dinput.dll > I compiled a program with DEVCPP. > The executable (on other machines than mine) says it needs a file called > "dinput.dll". > What is this file and where can I find it? > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Clayton W. <vgd...@ho...> - 2001-08-16 21:12:34
|
The problem might be that you are calling something in your source that you shouldn't be because I have no problem making programs with my Dev-C++ version 4, but I do have trouble compiling the Allegro Library. If you want I'll try to compile it on my Dev-C++ and see if I get the same thing when I compile. Just send the source to my actual email instead of through the mailing list (that way we don't get in trouble in case its too big). I'll take a crack at the code and see if it compiles for me or not:). Just copy and paste it and send it to vgd...@ho... with the subject line of "Program Code". --Clayton Weaver >From: "jansb000" <jan...@wx...> >Reply-To: dev...@li... >To: <dev...@li...> >Subject: [Dev-C++] Q: Compiled program says it needs dinput.dll >Date: Thu, 16 Aug 2001 23:04:17 +0200 > >I compiled a program with DEVCPP. >The executable (on other machines than mine) says it needs a file called >"dinput.dll". >What is this file and where can I find it? > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: jansb000 <jan...@wx...> - 2001-08-16 20:51:48
|
I compiled a program with DEVCPP. The executable (on other machines than mine) says it needs a file called "dinput.dll". What is this file and where can I find it? |
|
From: Elektro <el...@wo...> - 2001-08-16 16:11:33
|
I am compiling the FreeImage library with gcc from command line using make= but i have this error: C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:9: warning: this is the location of the previous definition ..\FreeImage.h:95: warning: `BI_RLE4' redefined C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:10: warning: this is the location of the previous definition ..\FreeImage.h:96: warning: `BI_BITFIELDS' redefined C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:11: warning: this is the location of the previous definition In file included from FreeImage.cpp:26: ..\FreeImage.h:81: conflicting types for `typedef long int BOOL' C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\windef.h:122: previous declaration as `typedef WINBOOL BOOL' ..\FreeImage.h:98: redefinition of `struct tagRGBQUAD' C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:1215: previous definition here ..\FreeImage.h:105: redefinition of `struct tagBITMAPINFOHEADER' C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:1209: previous definition here ..\FreeImage.h:119: redefinition of `struct tagBITMAPINFO' C:\ARCHIV~1\DEVC__~1\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\= incl ude\wingdi.h:1219: previous definition here C:\ARCHIV~1\DEVC__~1\BIN\MAKE.EXE: *** [FreeImage.o] Error 1 I have configured these variables in autoexec.bat: SET PATH=3DC:\archiv~1\devc__~1\bin;%PATH% SET C_INCLUDE_PATH=3DC:\archiv~1\devc__~1\include SET= CPP_INCLUDE_PATH=3DC:\archiv~1\devc__~1\include\g++;C:\archiv~1\devc__~1\in= clude SET LIBRARY_PATH=3DC:\archiv~1\devc__~1\lib If I execute gcc --print-search-dirs I have: install: /gcc-2.95.2/lib/gcc-lib/i386-mingw32msvc\2.95.2\ programs:= C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\;C:\archiv~1\devc__~1\lib;\= gcc-2.95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\;\gcc-2.95.2\lib\gcc-lib\i386= -mingw32msvc\;\usr\lib\gcc\i386-mingw32msvc\2.95.2\;\usr\lib\gcc\i386-mingw3= 2msvc\;C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\..\..\..\..\i386-ming= w32msvc\bin\i386-mingw32msvc\2.95.2\;C:\archiv~1\devc__~1\libi386-mingw32msv= c\2.95.2\..\..\..\..\i386-mingw32msvc\bin\;\gcc-2.95.2\lib\gcc-lib\i386-ming= w32msvc\2.95.2\..\..\..\..\i386-mingw32msvc\bin\i386-mingw32msvc\2.95.2\;\gc= c-2.95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw32msvc\bi= n\ libraries:= C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\;C:\archiv~1\devc__~1\lib;C= :\archiv~1\devc__~1\lib\i386-mingw32msvc\2.95.2\;C:\archiv~1\devc__~1\lib\;\= gcc-2.95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\;\usr\lib\gcc\i386-mingw32msv= c\2.95.2\;C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\..\..\..\..\i386-m= ingw32msvc\lib\i386-mingw32msvc\2.95.2\;C:\archiv~1\devc__~1\libi386-mingw32= msvc\2.95.2\..\..\..\..\i386-mingw32msvc\lib\;\gcc-2.95.2\lib\gcc-lib\i386-m= ingw32msvc\2.95.2\..\..\..\..\i386-mingw32msvc\lib\i386-mingw32msvc\2.95.2\;= \gcc-2.95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw32msvc= \lib\;C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\..\..\..\i386-mingw32m= svc\2.95.2\;C:\archiv~1\devc__~1\libi386-mingw32msvc\2.95.2\..\..\..\;\gcc-2= .95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\i386-mingw32msvc\2.95.2\= ;\gcc-2.95.2\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\;\lib\i386-mingw32= msvc\2.95.2\;\lib\;\usr\lib\i386-mingw32msvc\2.95.2\;\usr\lib\ How I can change these paths ? Thanks |
|
From: Elektro <el...@wo...> - 2001-08-15 19:33:32
|
Is there a function similar to the clrscr() in Turbo C++ ?
In Linux GCC compiler uses the NCURSES library, and in Windows console apps=
?
*********** REPLY SEPARATOR ***********
On 13/08/01 at 13:23 Nexus wrote:
>here is a very easy starter app
>that will run from windows or the command line...
>
>run it from both to see the differce.
>
>
>Nexus
>
>#include <stdio.h>
>#include <iostream.h>
>#include <stdlib.h> //needed for system("cls"); to work
>int main(int argc, char *argv[])
>{
>int fleas;
>
>system("cls"); //clears the screen of junk you typed before
>
> cout << "\t\tHow many fleas does your Dog have? ";
> cin >> fleas;
> cout << "\t\tWell thats " << fleas << " to many\n";
> cin.get(); //keeps window open when run rom inside windows
> cin.get();
> return 0;
>}
|
|
From: Vassili <v.v...@bt...> - 2001-08-15 12:40:06
|
I noticed that Borland has a Delphi 6 system to download, if this = intrests you, then go to http://www.inprise.co.uk/downloads/ |
|
From: Ramana K. <ra...@my...> - 2001-08-15 08:31:43
|
I don't really know, but is probably to do with which files you include. How
do you include files? With the .h or a c- prefix? Do you use namespaces?
This is just things think may be related to your problem, I'm not too sure
on the specifics of such stuff.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Lennart
Sandberg
Sent: Tuesday, 14 August 2001 5:13 AM
To: dev...@li...
Subject: [Dev-C++] getch
Does anyone know why getch() and getchar() is function the same way in
dev-c++
The getchar() function is buffered and getch() is unbuffered, but in dev
both function
the same way buffered.
--
Lennart Sandberg
email: len...@ho...
phone: +46 227 13248 mob +46 70 778 2387
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: n m. <nma...@ex...> - 2001-08-15 06:24:31
|
When will the new wxwin package be fixed With all the compilation problems
and such?
From,
nmatrix9
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
|
|
From: Aaron W. <Aar...@My...> - 2001-08-14 22:56:28
|
WW91IGhhdmUgdG8gbWFrZSBhIHN1Ym1lbnUuDQoNCmRvIHdoYXQgeW91IG9yaWdpbmFsbHkgZGlk LCBhbmQgdGhlbiwgbWFrZSB0aGUgSVRFTSBJRCBiZWxvdyB0aGUgSXRlbSBjYXB0aW9uIDYwMSwg YWRkIHlvdXIgY2FwdGlvbiwgb3IgeW91IGNhbiB1c2UgJy0nIGZvciBhIHNlcGVyYXRvci4gYW5k IHByZXNzIEFkZCBTdWIgSXRlbSwgVGhlICZGaWxlIHNob3VsZCBub3cgaGF2ZSBhICsgb3IgLSB3 aXRoIHRoZSBuZXcgc3VibWVudSwgbm93IGNsaWNrICBPSywgaGV5IHByZXN0bywgbm8gaW5kZXgg ZXJyb3IuDQoNCg0KQWFyb24NCiAgLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLSANCiAgRnJv bTogQW1lZXIgS2hhbiANCiAgVG86IGRldi1jcHAtdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0 IA0KICBDYzogd2VibWFzdGVyQGJsb29kc2hlZC5uZXQgDQogIFNlbnQ6IFR1ZXNkYXksIEF1Z3Vz dCAxNCwgMjAwMSAxNzoxNA0KICBTdWJqZWN0OiBbRGV2LUMrK10gRXJyb3IgZGlzcGxheWVkIGlu IERldiBDKysNCg0KDQogIEhpLi4NCiAgSSBoYXZlIGNyZWF0ZWQgYSB3aW5kb3cgIldpbmRvd0Fw cCIgdXNpbmcgc3RlcHMNCiAgTmV3IFByb2plY3RzL1dpbmRvd3MgQXBwbGljYXRpb24vIGluIERl diBDKysgdmVyc2lvbiA0Lg0KICBXaGVuIEkgdHJpZWQgdG8gYWRkIGEgbWVudSB0byB0aGlzIFdp bmRvdyAoaWUgV2luZG93QXBwKQ0KICAgSSBnb3QgZXJyb3IgbWVzc2FnZSAiIEludmFsaWQgSW5k ZXgiLiBUaGUgIHN0ZXAgSSBoYXZlIGZvbGxvd2VkIGFyZSBGaWxlL09wZW4gUHJvamVjdCBvciBG aWxlL0VkaXQgcmVzb3VyY2VzIGZpbGUvY3JlYXRlIG5ldyBtZW51IGljb24vLiB0aGUgSUQgIG9m IHRoZSBtZW51IGdpdmVuIGFzIDYwMCxpdGVtIGNhcHRpb24gJyZGaWxlIi9hZGQgaXRlbXMgYW5k IHByZXNzZWQgT0sNCiAgSSBzaGFsbCBiZSB0aGFua2Z1bCBpZiBhbnlib2R5IGFkdmlzZSBtZSBo b3cgdG8gY29ycmVjdA0KICB0aGlzLg0KICBDYW4gYW55Ym9keSBzdWdnZXN0IGdvb2QgdHV0b3Jp YWwgb24gY3JlYXRpbmcgd2luZG93cw0KICBiYXNlZCBhcHBsaWNhdGlvbnMgdXNpbmcgRGV2IEMr Kw0KDQogIFRoYW5rIHUNCiAgcHVsaW1hdGhAeWFob28uY29tDQo= |
|
From: Clayton W. <vgd...@ho...> - 2001-08-14 21:53:59
|
I did a little looking into it and found this site address: http://www.bloodshed.net/dev/docs/doc_tutorials.html It only has two links on it, but it might help you:). --Clayton Weaver >From: "Clayton Weaver" <vgd...@ho...> >Reply-To: dev...@li... >To: dev...@li... >Subject: Re: [Dev-C++] Error displayed in Dev C++ >Date: Tue, 14 Aug 2001 15:25:59 -0500 > >Unfortunately I can't help you cause I'm in the same boat as you:(. I'm new >to Dev-C++ version 4 and need tutorials myself too:). I hope that someone >can end up helping us out Ameer:). > >--Clayton Weaver > >PS-Of course we could use search engines to find the info we need:). Just a >thought:). > > >>From: "Ameer Khan" <sm...@vs...> >>Reply-To: dev...@li... >>To: <dev...@li...> >>CC: <web...@bl...> >>Subject: [Dev-C++] Error displayed in Dev C++ >>Date: Tue, 14 Aug 2001 21:44:49 +0530 >> >>Hi.. >>I have created a window "WindowApp" using steps >>New Projects/Windows Application/ in Dev C++ version 4. >>When I tried to add a menu to this Window (ie WindowApp) >> I got error message " Invalid Index". The step I have followed are >>File/Open Project or File/Edit resources file/create new menu icon/. the >>ID >> of the menu given as 600,item caption '&File"/add items and pressed OK >>I shall be thankful if anybody advise me how to correct >>this. >>Can anybody suggest good tutorial on creating windows >>based applications using Dev C++ >> >>Thank u >>pul...@ya... > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: Clayton W. <vgd...@ho...> - 2001-08-14 20:26:06
|
Unfortunately I can't help you cause I'm in the same boat as you:(. I'm new to Dev-C++ version 4 and need tutorials myself too:). I hope that someone can end up helping us out Ameer:). --Clayton Weaver PS-Of course we could use search engines to find the info we need:). Just a thought:). >From: "Ameer Khan" <sm...@vs...> >Reply-To: dev...@li... >To: <dev...@li...> >CC: <web...@bl...> >Subject: [Dev-C++] Error displayed in Dev C++ >Date: Tue, 14 Aug 2001 21:44:49 +0530 > >Hi.. >I have created a window "WindowApp" using steps >New Projects/Windows Application/ in Dev C++ version 4. >When I tried to add a menu to this Window (ie WindowApp) > I got error message " Invalid Index". The step I have followed are >File/Open Project or File/Edit resources file/create new menu icon/. the ID > of the menu given as 600,item caption '&File"/add items and pressed OK >I shall be thankful if anybody advise me how to correct >this. >Can anybody suggest good tutorial on creating windows >based applications using Dev C++ > >Thank u >pul...@ya... _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: Ameer K. <sm...@vs...> - 2001-08-14 16:13:50
|
Hi.. I have created a window "WindowApp" using steps New Projects/Windows Application/ in Dev C++ version 4. When I tried to add a menu to this Window (ie WindowApp) I got error message " Invalid Index". The step I have followed are = File/Open Project or File/Edit resources file/create new menu icon/. the = ID of the menu given as 600,item caption '&File"/add items and pressed = OK I shall be thankful if anybody advise me how to correct this. Can anybody suggest good tutorial on creating windows based applications using Dev C++ Thank u pul...@ya... |
|
From: Christian W. <Chr...@vo...> - 2001-08-14 10:22:14
|
Hi List, how can i read out the seconds in the time-function (needed in int ...) ? Or did anyone know how to write a function wich gives a message when a second is over ??? Thanks to everyone Christian Diese Mail wurde auf Viren überprüft. This mail was checked for virusses. |
|
From: Nexus <nne...@ya...> - 2001-08-13 20:19:22
|
here is a very easy starter app
that will run from windows or the command line...
run it from both to see the differce.
Nexus
#include <stdio.h>
#include <iostream.h>
#include <stdlib.h> //needed for system("cls"); to work
int main(int argc, char *argv[])
{
int fleas;
system("cls"); //clears the screen of junk you typed before
cout << "\t\tHow many fleas does your Dog have? ";
cin >> fleas;
cout << "\t\tWell thats " << fleas << " to many\n";
cin.get(); //keeps window open when run rom inside windows
cin.get();
return 0;
}
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|
|
From: Nexus <nne...@ya...> - 2001-08-13 20:00:13
|
add cin.get() just before the return you may have to add 2
or run it from the command line....
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Clayton
Weaver
Sent: Monday, August 13, 2001 7:04 AM
To: dev...@li...
Subject: [Dev-C++] (no subject)
I made a simple program to test the compiling and run options in the Dev-C++
program. The program I wrote was just a simple one that told the computer to
output the string "hello world" to the screen when you ran the program. That
is where the problem is though. I have Windows 98 and I have the DJGPP
compiler with Rhide interface and the MinGW compiler and I just recently
downloaded the Dev-C++ software and I like it, but I'm having trouble with
it. Let me start from the beginning. The simple program I wrote had this as
the source code:
#include <iostream.h>
int main()
{
cout<<"hello world";
return0;
}
I compiled the program without any problems, but when I run it or try to
click on the .exe file in the c:\ drive it pops up the program real quick
and closes it back out instead of keeping it up until I click the exit
button at the top of the window. Why does it do this and how can I make it
stop? My DJGPP with Rhide interface lets the identical program I wrote in it
stay open until I click the x on the screen to close it, but Dev-C++ opens
the program and closes it write back(the program was written in Dev-C++).
Thanks for any and all help that you can offer me:).
--Clayton Weaver
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|
|
From: Lennart S. <len...@ho...> - 2001-08-13 19:12:42
|
Does anyone know why getch() and getchar() is function the same way in
dev-c++
The getchar() function is buffered and getch() is unbuffered, but in dev
both function
the same way buffered.
--
Lennart Sandberg
email: len...@ho...
phone: +46 227 13248 mob +46 70 778 2387
|
|
From: Vassili <v.v...@bt...> - 2001-08-13 18:39:28
|
You can execute you program via DOS prompt or by inserting something like
system("PAUSE") or getchar() before the return.
Anyway, straying from the point.
DOS actually helps out on performing some things, if I remember right, the
getchar() function would cause a program to echo what is written. When a
letter is typed, dos would print (echo) it and when return is pressed, the
program executes, printing the stored data. This is why conio.h was created,
I suppose, to bypass this help, getch() executes once the key is pressed.
I'm not to sure how accurate my memory is, I read this a while back.
----- Original Message -----
From: "Clayton Weaver" <vgd...@ho...>
To: <dev...@li...>
Sent: Monday, August 13, 2001 3:04 PM
Subject: [Dev-C++] (no subject)
> I made a simple program to test the compiling and run options in the
Dev-C++
> program. The program I wrote was just a simple one that told the computer
to
> output the string "hello world" to the screen when you ran the program.
That
> is where the problem is though. I have Windows 98 and I have the DJGPP
> compiler with Rhide interface and the MinGW compiler and I just recently
> downloaded the Dev-C++ software and I like it, but I'm having trouble with
> it. Let me start from the beginning. The simple program I wrote had this
as
> the source code:
>
> #include <iostream.h>
>
> int main()
> {
> cout<<"hello world";
> return0;
> }
>
> I compiled the program without any problems, but when I run it or try to
> click on the .exe file in the c:\ drive it pops up the program real quick
> and closes it back out instead of keeping it up until I click the exit
> button at the top of the window. Why does it do this and how can I make it
> stop? My DJGPP with Rhide interface lets the identical program I wrote in
it
> stay open until I click the x on the screen to close it, but Dev-C++ opens
> the program and closes it write back(the program was written in Dev-C++).
> Thanks for any and all help that you can offer me:).
>
> --Clayton Weaver
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: JS <jsc...@gm...> - 2001-08-13 14:21:56
|
you should add something like an input commang (getc) or what to
stop the window from disappearing.
On 13 Aug 2001, at 9:04, Clayton Weaver wrote:
> I made a simple program to test the compiling and run options in the Dev-C++
> program. The program I wrote was just a simple one that told the computer to
> output the string "hello world" to the screen when you ran the program. That
> is where the problem is though. I have Windows 98 and I have the DJGPP
> compiler with Rhide interface and the MinGW compiler and I just recently
> downloaded the Dev-C++ software and I like it, but I'm having trouble with
> it. Let me start from the beginning. The simple program I wrote had this as
> the source code:
>
> #include <iostream.h>
>
> int main()
> {
> cout<<"hello world";
> return0;
> }
>
> I compiled the program without any problems, but when I run it or try to
> click on the .exe file in the c:\ drive it pops up the program real quick
> and closes it back out instead of keeping it up until I click the exit
> button at the top of the window. Why does it do this and how can I make it
> stop? My DJGPP with Rhide interface lets the identical program I wrote in it
> stay open until I click the x on the screen to close it, but Dev-C++ opens
> the program and closes it write back(the program was written in Dev-C++).
> Thanks for any and all help that you can offer me:).
>
> --Clayton Weaver
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Clayton W. <vgd...@ho...> - 2001-08-13 14:04:26
|
I made a simple program to test the compiling and run options in the Dev-C++
program. The program I wrote was just a simple one that told the computer to
output the string "hello world" to the screen when you ran the program. That
is where the problem is though. I have Windows 98 and I have the DJGPP
compiler with Rhide interface and the MinGW compiler and I just recently
downloaded the Dev-C++ software and I like it, but I'm having trouble with
it. Let me start from the beginning. The simple program I wrote had this as
the source code:
#include <iostream.h>
int main()
{
cout<<"hello world";
return0;
}
I compiled the program without any problems, but when I run it or try to
click on the .exe file in the c:\ drive it pops up the program real quick
and closes it back out instead of keeping it up until I click the exit
button at the top of the window. Why does it do this and how can I make it
stop? My DJGPP with Rhide interface lets the identical program I wrote in it
stay open until I click the x on the screen to close it, but Dev-C++ opens
the program and closes it write back(the program was written in Dev-C++).
Thanks for any and all help that you can offer me:).
--Clayton Weaver
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|
|
From: john m. <jun...@ho...> - 2001-08-12 18:50:21
|
hello everybody. i've just finished writing a program and know i want to
move on to the next version. but one thing that i want to improve on is the
way you answer the questions.
1) View Account.
2) Make account
3) edit account
Answer:
aswell as being able to type the number that the answer corrospondes
with, i want to be able to move up and down to highlight different answers.
i know this is alot to ask but please could someone help me.
thankyou.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|
|
From: Jose S. <dyo...@ho...> - 2001-08-12 02:36:53
|
It still doesn't work... :-( Please help anyone... >From: dev...@li... >Reply-To: dev...@li... >To: dev...@li... >Subject: Dev-cpp-users digest, Vol 1 #379 - 5 msgs >Date: Sat, 11 Aug 2001 12:01:26 -0700 > >Send Dev-cpp-users mailing list submissions to > dev...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users >or, via email, send a message with subject or body 'help' to > dev...@li... > >You can reach the person managing the list at > dev...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Dev-cpp-users digest..." > > >Today's Topics: > > 1. Please help me...why doesn't the code compile? (Jose Samonte) > 2. Re: executeing programs (Richard) > 3. RE: executeing programs (Ioannis Vranos) > 4. Re: Please help me...why doesn't the code compile? (Vassili) > 5. Help with DLL entry point (Butler Justin) > >--__--__-- > >Message: 1 >From: "Jose Samonte" <dyo...@ho...> >To: dev...@li... >Date: Fri, 10 Aug 2001 23:56:09 +0000 >Subject: [Dev-C++] Please help me...why doesn't the code compile? >Reply-To: dev...@li... > >Please help me anyone... :-) >There are actually three files here; main.cpp, module1.cpp, and main.cpp. >I'm trying to separate the function prototypes into a header file, and put >the function body in a source file, since the function is generic enough to >be used in many programs, and I want to make it into a module, but it >doesn't compile... :-( >THANK YOU in advance!!! > > > >////////////////////////////////////////////////////// >// Module : main.cpp >// >// Purpose : Shows the usage of modular functions >////////////////////////////////////////////////////// > >#include <iostream.h> >#include "module1.h" > >void main() >{ > cout << "This is a test\n"; > cout << UCase("This is a test of UCase\n"); > cout << LCase("This is a test of LCase\n"); >} > >////////////////////////////////////////////////////// >// Module : module1.cpp >// >// Purpose : Shows the usage of modular functions >////////////////////////////////////////////////////// > >#include "module1.h" > >////////////////////////////////////////////////////// >// UCase() > >char* UCase(char *str) >{ > // Convert each char in the string to uppercase > // > int len = strlen(str); > for (int i = 0; i < len; i++) > str[i] = toupper(str[i]); > > return str; >} > >////////////////////////////////////////////////////// >// LCase() > >char* LCase(char *str) >{ > // Convert each char in the string to lowercase > // > int len = strlen(str); > for (int i = 0; i < len; i++) > str[i] = tolower(str[i]); > > return str; >} > >////////////////////////////////////////////////////// >// Module : module1.h >// >// Purpose : Interface for module1.cpp >////////////////////////////////////////////////////// > >#ifndef __MODULE1_H__ >#define __MODULE1_H__ > >#include <stdlib.h> >#include <ctype.h> >#include <string.h> > >// Function prototypes >// >extern char* LCase(char *str); >extern char* UCase(char *str); > >#endif //__MODULE1_H__ > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > >--__--__-- > >Message: 2 >Date: Sat, 11 Aug 2001 14:29:54 +0200 >From: Richard <ri...@cc...> >Subject: Re: [Dev-C++] executeing programs >To: dev...@li... >Reply-To: dev...@li... > >Try using : > >system("PAUSE"); > >Insert it at the end of the main() section in your program. > >It will cause the programme to pause just before it terminates. They only >thing is that it will show a line on the screen notifing you to press a key >to continue. This could become a bit anoying... > >Later, >Richard > >-----Original Message----- > From: dev...@li... >[mailto:dev...@li...]On Behalf Of Mary Ward > Sent: Thursday, August 09, 2001 8:33 AM > To: dev...@li... > Subject: [Dev-C++] executeing programs > > > Ok i made my first program the today and I compiled and executed it. I >had >no errors but when i executed it a little black screen popped up very >quickly and then went away. What happened? Did i do something wrong? > > Nate > reply to blu...@mi... > > > > >--__--__-- > >Message: 3 >From: "Ioannis Vranos" <no...@ya...> >To: <dev...@li...> >Subject: RE: [Dev-C++] executeing programs >Date: Sat, 11 Aug 2001 17:58:28 +0200 >Reply-To: dev...@li... > >well there is always system("pause >null"); (i have been a dos guy) :) > > >Ioannis > >* Ioannis Vranos >* Programming pages: http://www.noicys.f2s.com >* Alternative URL: http://run.to/noicys > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Richard > > Sent: Saturday, August 11, 2001 2:30 PM > > To: dev...@li... > > Subject: Re: [Dev-C++] executeing programs > > > > > > Try using : > > > > system("PAUSE"); > > > > Insert it at the end of the main() section in your program. > > > > It will cause the programme to pause just before it > > terminates. They only thing is that it will show a line on > > the screen notifing you to press a key to continue. This > > could become a bit anoying... > > > > Later, > > Richard > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...]On Behalf > > Of Mary Ward > > Sent: Thursday, August 09, 2001 8:33 AM > > To: dev...@li... > > Subject: [Dev-C++] executeing programs > > > > > > Ok i made my first program the today and I compiled and > > executed it. I had no errors but when i executed it a little > > black screen popped up very quickly and then went away. What > > happened? Did i do something wrong? > > > > Nate > > reply to blu...@mi... > > > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > >--__--__-- > >Message: 4 >From: "Vassili" <v.v...@bt...> >To: <dev...@li...> >Subject: Re: [Dev-C++] Please help me...why doesn't the code compile? >Date: Sat, 11 Aug 2001 17:02:45 +0100 >Reply-To: dev...@li... > >If your going to use pointers and arrays, always have an address to store >data, ditto for char, int, float,...,etc. > >try using something like:- > >#include <iostream.h> >#include "module1.h" > >void main() >{ > // Initialised plus somewhere to store data > char str1[] = "This is a test of UCase"; > char str2[] = "This is a test of LCase"; > > // Pass the address of strings and display the > // modified data, which is the returned address > cout << "This is a test\n" > << UCase(str1) << endl > << LCase(str2) << endl; >} > >----- Original Message ----- >From: "Jose Samonte" <dyo...@ho...> >To: <dev...@li...> >Sent: Saturday, August 11, 2001 12:56 AM >Subject: [Dev-C++] Please help me...why doesn't the code compile? > > > > Please help me anyone... :-) > > There are actually three files here; main.cpp, module1.cpp, and >main.cpp. > > I'm trying to separate the function prototypes into a header file, and >put > > the function body in a source file, since the function is generic enough >to > > be used in many programs, and I want to make it into a module, but it > > doesn't compile... :-( > > THANK YOU in advance!!! > > > > > > > > ////////////////////////////////////////////////////// > > // Module : main.cpp > > // > > // Purpose : Shows the usage of modular functions > > ////////////////////////////////////////////////////// > > > > #include <iostream.h> > > #include "module1.h" > > > > void main() > > { > > cout << "This is a test\n"; > > cout << UCase("This is a test of UCase\n"); > > cout << LCase("This is a test of LCase\n"); > > } > > > > ////////////////////////////////////////////////////// > > // Module : module1.cpp > > // > > // Purpose : Shows the usage of modular functions > > ////////////////////////////////////////////////////// > > > > #include "module1.h" > > > > ////////////////////////////////////////////////////// > > // UCase() > > > > char* UCase(char *str) > > { > > // Convert each char in the string to uppercase > > // > > int len = strlen(str); > > for (int i = 0; i < len; i++) > > str[i] = toupper(str[i]); > > > > return str; > > } > > > > ////////////////////////////////////////////////////// > > // LCase() > > > > char* LCase(char *str) > > { > > // Convert each char in the string to lowercase > > // > > int len = strlen(str); > > for (int i = 0; i < len; i++) > > str[i] = tolower(str[i]); > > > > return str; > > } > > > > ////////////////////////////////////////////////////// > > // Module : module1.h > > // > > // Purpose : Interface for module1.cpp > > ////////////////////////////////////////////////////// > > > > #ifndef __MODULE1_H__ > > #define __MODULE1_H__ > > > > #include <stdlib.h> > > #include <ctype.h> > > #include <string.h> > > > > // Function prototypes > > // > > extern char* LCase(char *str); > > extern char* UCase(char *str); > > > > #endif //__MODULE1_H__ > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > >--__--__-- > >Message: 5 >Date: Sat, 11 Aug 2001 09:51:15 -0700 (PDT) >From: Butler Justin <dub...@ya...> >To: dev...@li... >Subject: [Dev-C++] Help with DLL entry point >Reply-To: dev...@li... > >I can make a C EXE, but I have no clue how to make a >DLL for use in VB, because it needs an entry point. I >have no clue where to put anything, I can't find any >help on bloodshed.net or its linked pages, and the >comments with the wizard-generated project are as >unhelpful as ever, and VB says it can't find the "DLL >entry point" when I declare the function even with a >compiled DLL of the project DEV generates. Is it >possible any of you can help me? Thanks. > >__________________________________________________ >Do You Yahoo!? >Send instant messages & get email alerts with Yahoo! Messenger. >http://im.yahoo.com/ > > > >--__--__-- > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >End of Dev-cpp-users Digest _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: Luigi S. <gi...@li...> - 2001-08-12 01:30:31
|
At 23.56 10/08/01 +0000, you wrote:
Hello Jose!
I tried your code (after storing it in 3 different files) with Dev C++. I
made a project and asked the IDE to compile it: everything seemed fine (no
compilation errors), but when I tried to execute it ... I had troubles! :-)
Unlike me, you had some compilation error, I guess it is because you turned
on some extra warnings, while I used only the "plain" Dev C++ options.
When I tried to compile your program from the command line (see the file
main.mk) I got these kind of errors:
- main should return an integer
- you are passing a "const char *" where a "char *" is expected
Maybe the second kind of error needs some comment.
Your prototype says: "extern char* LCase(char *str);" (by the way the
"extern" is not necessary), so a "char *" is expected. In your test
program, when you call the function by the line: "LCase("This is a test of
LCase\n");", you are handing it a "const char *" (a "string constant" to be
more specific). Usually compilers store string constants in a sort of read
only memory, so when you attempt to modify them you'll get (at least) a run
time error.
I suggest that you modify main.cpp in this way:
- build a "char *" using a constant string, and use hand it to your functions
I've changed your main.cpp according to the above, I also used "C style
strings". Since you are using C++ I suggest you use "C++ style strings"
(see your documentation on the standard library).
Hope this helps.
>Please help me anyone... :-)
>There are actually three files here; main.cpp, module1.cpp, and main.cpp.
>I'm ...
--
gisan
gi...@li... |
|
From: Butler J. <dub...@ya...> - 2001-08-11 16:51:16
|
I can make a C EXE, but I have no clue how to make a DLL for use in VB, because it needs an entry point. I have no clue where to put anything, I can't find any help on bloodshed.net or its linked pages, and the comments with the wizard-generated project are as unhelpful as ever, and VB says it can't find the "DLL entry point" when I declare the function even with a compiled DLL of the project DEV generates. Is it possible any of you can help me? Thanks. __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ |
|
From: Vassili <v.v...@bt...> - 2001-08-11 16:00:42
|
If your going to use pointers and arrays, always have an address to store
data, ditto for char, int, float,...,etc.
try using something like:-
#include <iostream.h>
#include "module1.h"
void main()
{
// Initialised plus somewhere to store data
char str1[] = "This is a test of UCase";
char str2[] = "This is a test of LCase";
// Pass the address of strings and display the
// modified data, which is the returned address
cout << "This is a test\n"
<< UCase(str1) << endl
<< LCase(str2) << endl;
}
----- Original Message -----
From: "Jose Samonte" <dyo...@ho...>
To: <dev...@li...>
Sent: Saturday, August 11, 2001 12:56 AM
Subject: [Dev-C++] Please help me...why doesn't the code compile?
> Please help me anyone... :-)
> There are actually three files here; main.cpp, module1.cpp, and main.cpp.
> I'm trying to separate the function prototypes into a header file, and put
> the function body in a source file, since the function is generic enough
to
> be used in many programs, and I want to make it into a module, but it
> doesn't compile... :-(
> THANK YOU in advance!!!
>
>
>
> //////////////////////////////////////////////////////
> // Module : main.cpp
> //
> // Purpose : Shows the usage of modular functions
> //////////////////////////////////////////////////////
>
> #include <iostream.h>
> #include "module1.h"
>
> void main()
> {
> cout << "This is a test\n";
> cout << UCase("This is a test of UCase\n");
> cout << LCase("This is a test of LCase\n");
> }
>
> //////////////////////////////////////////////////////
> // Module : module1.cpp
> //
> // Purpose : Shows the usage of modular functions
> //////////////////////////////////////////////////////
>
> #include "module1.h"
>
> //////////////////////////////////////////////////////
> // UCase()
>
> char* UCase(char *str)
> {
> // Convert each char in the string to uppercase
> //
> int len = strlen(str);
> for (int i = 0; i < len; i++)
> str[i] = toupper(str[i]);
>
> return str;
> }
>
> //////////////////////////////////////////////////////
> // LCase()
>
> char* LCase(char *str)
> {
> // Convert each char in the string to lowercase
> //
> int len = strlen(str);
> for (int i = 0; i < len; i++)
> str[i] = tolower(str[i]);
>
> return str;
> }
>
> //////////////////////////////////////////////////////
> // Module : module1.h
> //
> // Purpose : Interface for module1.cpp
> //////////////////////////////////////////////////////
>
> #ifndef __MODULE1_H__
> #define __MODULE1_H__
>
> #include <stdlib.h>
> #include <ctype.h>
> #include <string.h>
>
> // Function prototypes
> //
> extern char* LCase(char *str);
> extern char* UCase(char *str);
>
> #endif //__MODULE1_H__
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|