dev-cpp-users Mailing List for Dev-C++ (Page 272)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Per W. <pw...@ia...> - 2004-01-04 11:32:00
|
I hope you have never seen any code doing #define true 0 since the compiler treats any non-zero value as TRUE, i.e. the reverse condition. Also, in c++ true is reserved word, just like int or char, so in C++ you don't have to #define anything. A lot of C code are using #define FALSE 0 #define TRUE 1 or possibly #define FALSE 0 #define TRUE (!FALSE) /Per W On Sat, 3 Jan 2004, Noorez Kassam wrote: > There are somethings i don't understand. > > I thought that you needed the windows.h file to use the UINT for unsigned > int? When I was programing for MS-DOS i never saw the UINT for unsigned int. > > and what would this program line do > #define true 0 > > and what is an unsigned char? > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Per W. <pw...@ia...> - 2004-01-04 11:29:32
|
I just downloaded the 2.4.2 windows install release edited src/mingw32.bat point at my MinGW directory run run it. checked contents of setup.h changed to src/msw make -f makefile.g95 Libraries built ok. I have installed MinGW myself. It says: C:\usr\src\wxWindows-2.4.2\lib>gcc --version gcc (GCC) 3.2 (mingw special 20020817-1) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /Per W On Sun, 4 Jan 2004, Michael C Urban wrote: > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > Msys, but wxWindows 2.4.2 fails before it even gets started because it > fails to create certain directories. I think it might have to do with the > slashes going the wrong way and being interpreted as escape characters or > something. > > Does anyone have insights on this? > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: P.T. W. M. <pt...@ea...> - 2004-01-04 11:24:38
|
Thanks for the corrections =) At 20:24 03-01-04, Noorez Kassam wrote: >There are somethings i don't understand. > >I thought that you needed the windows.h file to use the UINT for unsigned >int? When I was programing for MS-DOS i never saw the UINT for unsigned int. > >and what would this program line do >#define true 0 > >and what is an unsigned char? > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail >http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <or...@vp...> - 2004-01-04 10:48:05
|
Michael C Urban wrote: > Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the > makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and > Msys, but wxWindows 2.4.2 fails before it even gets started because it > fails to create certain directories. I think it might have to do with the > slashes going the wrong way and being interpreted as escape characters or > something. > > Does anyone have insights on this? I know encountered this before. The quick'n'dirty solution is to watch which directories cannot it create, then create them yourself. -- Greetings, Balázs |
|
From: <or...@vp...> - 2004-01-04 10:46:01
|
Hi! I personally recommend including inttypes.h or stdint.h Look around in stdint.h and you will find quite a few definitions, so you won't have to reinvent the wheel. You'll probably need uint32_t -- Greetings, Balázs |
|
From: <or...@vp...> - 2004-01-04 10:42:00
|
Pat Hunt wrote: > I bought a book on how to program and Dev C++ 4.01 was included. I > tried to do the hello world but every time I try to run the program > after I compile it I get a flash of some screen and that's all. Dev > stays the same. What do I do??? How about reading the faqing FAQ? -- Greetings, Balázs |
|
From: Per W. <pw...@ia...> - 2004-01-04 10:18:13
|
I wouldn't recommend to #define UINT unsigned int but would instead recommend the typedef unsigned int UINT; declaration. /Per W On Sun, 4 Jan 2004, Michael C Urban wrote: > It's just an unsigned int. So yes, you can use it. You can even define a > pre-processor macro for it if you want. > > Many of the data types you see in Windows programming are just typedefs or > pre-processor macros for primitive types. > > On Sat, 3 Jan 2004, Noorez Kassam wrote: > > > Can the data types that you would see in WinApps like UINT (unsigned int) be > > used without the windows.h file? Or do you need to define that sort of thing > > without the windows header file? > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Per W. <pw...@ia...> - 2004-01-04 10:15:16
|
Not directly. If you don't use the windows.h file, you must yourself add the line typedef unsigned int UINT; in your program - or include some other include files that contains the above line. /Per W On Sat, 3 Jan 2004, Noorez Kassam wrote: > Can the data types that you would see in WinApps like UINT (unsigned int) be > used without the windows.h file? Or do you need to define that sort of thing > without the windows header file? > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Per W. <pw...@ia...> - 2004-01-04 10:14:12
|
No, there are no compilers where int is default unsigned. However, the char data type might be default signed or unsigned. If unsigned, it will store - at least - the range 0..255 while a signed char will store - at least - -128..+127. /Per W On Sat, 3 Jan 2004, P.T. Waugh MA wrote: > An unsigned int is an unsigned integer which is an integer from 0 to the > maximum value that sizeof(int) will hold on your system which is the value > it would take on if all the bits were 1's. This is on many systems the > default for "int". This is as compared to a signed int which uses the most > significant bit of the byte or word to determine the "sign" (positive or > negative) of the variable. Such bytes (or words) are then interpreted as > negative. > > UINT is either a pre-processor macro, or (more likely) a typedef (alias) > for unsigned int. > > For example: > > // Define an alias for unsigned int type > typedef UINT unsigned int > > then to do this: > > // Standard way > unsigned int uivar > > // You can now do this > UINT uivar > > This typedef might be a part of windows.h... do a grep for it. > > At 20:24 03-01-04, Noorez Kassam wrote: > >There are somethings i don't understand. > > > >I thought that you needed the windows.h file to use the UINT for unsigned > >int? When I was programing for MS-DOS i never saw the UINT for unsigned int. > > > >and what would this program line do > >#define true 0 > > > >and what is an unsigned char? > > > >_________________________________________________________________ > >The new MSN 8: smart spam protection and 2 months FREE* > >http://join.msn.com/?page=features/junkmail > >http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: IBM Linux Tutorials. > >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > >Free Linux Tutorials. Learn everything from the bash shell to sys admin. > >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Michael C U. <mu...@cb...> - 2004-01-04 07:59:02
|
Has anyone tried to build wxWindows 2.4.2 under Dev C++? it seems that the makefile.g95 is FUBAR. I've compiled wxWindows in the past using MinGW and Msys, but wxWindows 2.4.2 fails before it even gets started because it fails to create certain directories. I think it might have to do with the slashes going the wrong way and being interpreted as escape characters or something. Does anyone have insights on this? |
|
From: Michael C U. <mu...@cb...> - 2004-01-04 07:55:47
|
It's just an unsigned int. So yes, you can use it. You can even define a pre-processor macro for it if you want. Many of the data types you see in Windows programming are just typedefs or pre-processor macros for primitive types. On Sat, 3 Jan 2004, Noorez Kassam wrote: > Can the data types that you would see in WinApps like UINT (unsigned int) be > used without the windows.h file? Or do you need to define that sort of thing > without the windows header file? > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Noorez K. <coo...@ho...> - 2004-01-04 06:59:04
|
Can the data types that you would see in WinApps like UINT (unsigned int) be used without the windows.h file? Or do you need to define that sort of thing without the windows header file? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca |
|
From: P.T. W. M. <pt...@ea...> - 2004-01-04 04:42:43
|
An unsigned int is an unsigned integer which is an integer from 0 to the maximum value that sizeof(int) will hold on your system which is the value it would take on if all the bits were 1's. This is on many systems the default for "int". This is as compared to a signed int which uses the most significant bit of the byte or word to determine the "sign" (positive or negative) of the variable. Such bytes (or words) are then interpreted as negative. UINT is either a pre-processor macro, or (more likely) a typedef (alias) for unsigned int. For example: // Define an alias for unsigned int type typedef UINT unsigned int then to do this: // Standard way unsigned int uivar // You can now do this UINT uivar This typedef might be a part of windows.h... do a grep for it. At 20:24 03-01-04, Noorez Kassam wrote: >There are somethings i don't understand. > >I thought that you needed the windows.h file to use the UINT for unsigned >int? When I was programing for MS-DOS i never saw the UINT for unsigned int. > >and what would this program line do >#define true 0 > >and what is an unsigned char? > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail >http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Noorez K. <coo...@ho...> - 2004-01-04 04:24:48
|
There are somethings i don't understand. I thought that you needed the windows.h file to use the UINT for unsigned int? When I was programing for MS-DOS i never saw the UINT for unsigned int. and what would this program line do #define true 0 and what is an unsigned char? _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca |
|
From: Ed C. <em...@ed...> - 2004-01-04 01:49:56
|
Hi Pat,
=20
At the end of the program, right before the "return 0;" line, add this:
system("PAUSE");
=20
Alternatively, you can open a command prompt, go to the directory where =
you
compiled the program, and type "helloworld" (or whatever you named it).
=20
Console programs don't stay open unless you tell them to.
=20
Hope that helps.
=20
-Ed
=20
=20
=20
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Pat Hunt
Sent: Saturday, January 03, 2004 7:30 PM
To: dev...@li...
Subject: [Dev-C++] first time user
I bought a book on how to program and Dev C++ 4.01 was included. I =
tried to
do the hello world but every time I try to run the program after I =
compile
it I get a flash of some screen and that's all. Dev stays the same. =
What
do I do???
|
|
From: Pat H. <Pa...@ac...> - 2004-01-04 00:29:49
|
I bought a book on how to program and Dev C++ 4.01 was included. I = tried to do the hello world but every time I try to run the program = after I compile it I get a flash of some screen and that's all. Dev = stays the same. What do I do??? |
|
From: Ed C. <em...@ed...> - 2004-01-04 00:22:46
|
Hi all, I'm going to try rephrasing my question. If I'm using an ODBC driver to connect to a Visual FoxPro (.dbf) data file, can I run queries without loading the whole file into memory? For example, if I just want to count records in a table, I would run the query "SELECT COUNT(*) FROM [c:\somefile.dbf]", but the ODBC driver loads the whole table into RAM = to figure this out. How can I do this better?=20 Thanks for any help. -Ed -----Original Message----- Sent: Friday, January 02, 2004 2:00 AM To: dev...@li... Subject: [Dev-C++] SQL "SELECT COUNT(*)" loads whole table into memory Hi all, Not technically a Dev-Cpp question, but I'm hoping somebody can help, anyway. I'm working with an ODBC driver for Visual FoxPro 6 (as well as = ODBC drivers for several other RDBMSs). My application is supposed to loop through a list of tables, run the single SQL statement "SELECT COUNT(*) = FROM tblname", get the result, then move on. At the end, I go back and tally = all the row counts. In the process, I am simply reusing all my handles (environment, connections, and recordsets), calling SQLGetData and SQLCloseCursor = after each query. Now, here's the problem: even though I'm just doing SELECT COUNT(*), the entire table is getting loaded into memory. My application's memory = usage goes from 6 MB to 100 +, though if I comment out just the FoxPro = database interaction, it stays around 8 MB, where I would expect it to be. The = logic and coding I'm doing for the FoxPro queries is absolutely identical to = the logic I'm using on the other databases, except, of course, for the connection string, and I'm not having this problem with the other = systems. I should also point out that removing some of the larger tables from the = list of tables to check results in an almost perfectly corresponding drop in = RAM usage. For what it's worth, doing the same query directly from Visual FoxPro 6 results in a RAM spike under 1 KB. Anybody know what's wrong? Is there a driver setting I need to use or something? Thanks! -Ed |
|
From: <dan...@sb...> - 2004-01-03 23:00:20
|
<html><head><title>
TrueSwitch
</title></head><style type="text/css"><!--
body {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
font-style: normal;
color: #000000;
background-color: #6097D5;
margin-top: 0;
margin-left: 0;
}
a {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
font-style: normal;
}
a:link, a:active, a:visited {
text-decoration: none;
#color: #cc0000;
background: transparent;
}
a:hover {
text-decoration: underline;
#color: #cc0000;
background: transparent;
}
.footer {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
color: #FFFFFF;
}
a.footer:link, a.footer:visited, a.footer:active, a.footer:hover {
text-decoration: underline;
#color: #ffffff;
background: transparent;
}
.button {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
color: #FFFFFF;
}
a.button:link, a.button:visited, a.button:active, a.button:hover {
text-decoration: none;
#color: #ffffff;
background: transparent;
}
td {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
font-style: normal;
color: #000000;
}
td.footer {
font-family: verdana, lucida sans unicode, lucida sans, lucidux sans, lucida, arial, sans-serif;
font-size: 10px;
font-style: normal;
color: #FFFFFF;
background-color: #000000;
}
#redtxt {
color: #BB0000;
}
--></style><table bgcolor="#6097D5" border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.trueswitch.com?r=sbc_cn"><img height="71" border="0" width="242" alt="TrueSwitch logo" src="http://www.trueswitch.com/img/TrueSwitch/images/logo_top_blk_rd.gif"></img></a></td></tr></table><table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top"><table border="0" cellpadding="0" cellspacing="0"><tr><td valign="top" colspan="5"><img width="255" src="http://www.trueswitch.com/img/TrueSwitch/images/logo_bot_blk_rd.gif"></img></td></tr><tr><td background="http://www.trueswitch.com/img/TrueSwitch/images/text_box_left.gif" valign="top" width="38"> </td><td width="6"> </td><td valign="top" width="184"><div id="redtxt">tam...@ms...</div> has a new e-mail address
</td><td width="6"> </td><td background="http://www.trueswitch.com/img/TrueSwitch/images/text_box_right.gif" valign="top" width="21"> </td></tr><tr><td colspan="5"><img width="255" src="http://www.trueswitch.com/img/TrueSwitch/images/text_box_bottom.gif"></img></td></tr></table></td><td bgcolor="#ffffff" width="485" rowspan="3"><table width="90%"><tr><td> <p></p><br></br><br>Hello,<p /><p />I have just switched my email address from tam...@ms... to dan...@sb.... Please use this new address for all future emails and instant messages.<p /><p />Experience a faster, more useful Internet from SBC Yahoo!: http://sbc.yahoo.com<p /><p />To keep in touch with instant messaging, you can download the latest version of Yahoo Messenger for free at: http://messenger.yahoo.com<p /><p />Thanks,<p />dan...@sb...</br><p></p>
Note: This message was sent by TrueSwitch at the request of
<a href="mailto:dan...@sb...">dan...@sb...</a><p></p></td></tr></table></td></tr></table><table border="0" cellpadding="3" cellspacing="0"><tr><td width="735" class="footer">SBC Yahoo! Switching Services provided by TrueSwitch:
<a href="http://www.trueswitch.com?r=sbc_cn" class="footer">
http://www.trueswitch.com
</a></td></tr></table></html>
|
|
From: P.T. W. M. <pt...@ea...> - 2004-01-03 10:53:47
|
Anyone out there using Dev-C++, or gcc, to compile MS Flight Simulator gauges? I'm in the middle of developing a project for FS, and want to use gcc, but think I'm going to have to resort to Borland to avoid having to correct/update all the MS .h files etc. Curious if anyone else does this too. Patrick |
|
From: P.T. W. M. <pt...@ea...> - 2004-01-03 10:51:41
|
Already have distiller, which will convert .ps to .pdf or whatever format I need on win32. Actually, I found the docs in other formats on the site, and had even downloaded them already - just didn't realize it till I began taking inventory. That's the problem doing too much at once. At 02:01 03-01-04, Haakon M. Eriksen wrote: >Hi! > >Download gsview 4.4 and the ghostscript library - all available for >win32. It reads PS and PDF very well, and starts much faster than >Acrobat Reader. > >Cheers! > > >Haakon > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opick >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Haakon M. E. <ha...@nh...> - 2004-01-03 10:01:43
|
Hi! Download gsview 4.4 and the ghostscript library - all available for win32. It reads PS and PDF very well, and starts much faster than Acrobat Reader. Cheers! Haakon |
|
From: Per W. <pw...@ia...> - 2004-01-03 02:37:14
|
One reason why Linux might be mentioned a lot is that the MinGW compiler used in Dev-C++ is a Windows port of the gcc c/c++ compiler. This compiler is originally written for Unix machines. Since GNU/Linux has a non-ignorable chunk of the Unix market, it is quite natural that a lot of examples etc are mentioning Linux. The goal with MinGW was to keep the compiler as untouched as possible, while generating code runnable in the Win32 environment. That is the reason why all builds are performed using the make tool. Implementing "view user output" for command-line programs doesn't need to be so hard. Half the work is performed by linking in a replacement for the clean-up code, that will check if the application was run standalone or from the IDE. If run from the IDE, the application window should stay open. The only part the IDE have to do then, is to find out which console window that belongs to the running application. As a matter of fact, it is possible for anyone interested to add this feature themselves, by adding an own-written little app to the Tools menu. /Per W On Fri, 2 Jan 2004, William W Cridland wrote: > I would thank the members for giving expert suggestions and advice > concerning the public domain IDE Compiler Dev-cpp C++. I wrote to the > three design and developers of this system. Like a lot of many C++ > programmers I am comfortable with Borland Compilers and IDE platforms and > miss some of the good attributes which should have been incorporated into > this Dev-cpp IDE. I am not sure why they had to re-invent the wheel and > use another batch of include library files. Also the merry go round one > has to fathom out to get a final presentaion on the screen. As I point > out later Borland has a drop down menu which include ' User Screen' to > see the result of our code. I am not the greatest programmer in fact I am > a hardware engineer but intrigued with all the facets of C++ . This is > the inputs I wrote to the three desiners of the ID. Don't understand how > they came up with the name seen enough of that on the telly. > > ' Copy of e-mail-Start : > Gentlemen thank you for an excellent job 0n the developement and design > of the Dev-C++ IDE/Compiler et al.However a few points should be > addressed to make the IDE more useable for the public. Understand that > the design was based on the new standard ANSI/ISO C/C++ and also to > address different cross platforms Linux etc. THe IDE is very versatile > and functional except that there is no button or drop down menu whatever > which will allow the user to look at the output. Example Borland IDE's > has a separate drop down menu, when you click on 'User Screen' voila up > comes the result and output to the screen.One must innovate ,conjure up > go around to implement this feature. I have tried several 'A pause > statement , function getchar() there are no doubt other means of beating > around the bush. For instance in Borland I used a one liner getche() in > my Blank file so I did not have to do anything to the program . At the > end of writing the code and compiling, run output came up on the screen. > May I suggest that this should have been an > integral part of the IDE design. Using the ' pause' work around incurrs > penalties and cross platform problems. > In the Question & Answer section the CLEAR > Screen command was brought up and you suggested we include Conio.c in the > Dev-C++ System File. I suggest the 'Clear Screen' function should been > activated with it's own Include header file. Now it could be there is a > file already for this manoeuvre, if so I get 50 lashes. > In your help files you go to great lengths to > explain all about 'C' programming and it's very well done . However most > of us have moved on to C++ and perhaps it would have been prudent to at > least write some examples of C++ code. Just to introduce the newcomer to > differences due to ANSI/ISO changes and implementing the code with the > Dev-C++ IDE. > Finally Linux is continually mentioned as > though they had a stake in the company. This system you explain is the > reason so many things were changed causing us Borland user added work. > Considering the percentage of LInux users it seems to me as though we > should have put that at the back of the burner. Would like a response to > these concerns with the public interest in mind . End of e-mail. > If we are going to use an IDE and this one > seems to measure up and it's free then let's get it right . > > Bill Cridland E.E. Bolton MA > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <or...@vp...> - 2004-01-03 01:26:44
|
jo mateix wrote: > Yes, Mingw is free, but for sure it is not the best C++ > compiler. Still a lot of work to do. Well, it depends. If you want the *most* C++ standards-comliant compiler today, it is GCC (MinGW). I think standards-compliance is far ahead of minor speed improvement or smaller exe files. And I doubt there is a lot of work to do, GCC 3 only needs minor improvements. And if you (I mean the original author of exe size) still don't like large exe's, then there is UPX. With stripping, then compressing with UPX, it got me a 64 KB exe, that is a simple C++ program. And if that is still too big, then you'd better start learning machine code. -- Greetings, Balázs |
|
From: William W C. <wa...@ju...> - 2004-01-02 21:15:43
|
I would thank the members for giving expert suggestions and advice
concerning the public domain IDE Compiler Dev-cpp C++. I wrote to the
three design and developers of this system. Like a lot of many C++
programmers I am comfortable with Borland Compilers and IDE platforms and
miss some of the good attributes which should have been incorporated into
this Dev-cpp IDE. I am not sure why they had to re-invent the wheel and
use another batch of include library files. Also the merry go round one
has to fathom out to get a final presentaion on the screen. As I point
out later Borland has a drop down menu which include ' User Screen' to
see the result of our code. I am not the greatest programmer in fact I am
a hardware engineer but intrigued with all the facets of C++ . This is
the inputs I wrote to the three desiners of the ID. Don't understand how
they came up with the name seen enough of that on the telly.
' Copy of e-mail-Start :
Gentlemen thank you for an excellent job 0n the developement and design
of the Dev-C++ IDE/Compiler et al.However a few points should be
addressed to make the IDE more useable for the public. Understand that
the design was based on the new standard ANSI/ISO C/C++ and also to
address different cross platforms Linux etc. THe IDE is very versatile
and functional except that there is no button or drop down menu whatever
which will allow the user to look at the output. Example Borland IDE's
has a separate drop down menu, when you click on 'User Screen' voila up
comes the result and output to the screen.One must innovate ,conjure up
go around to implement this feature. I have tried several 'A pause
statement , function getchar() there are no doubt other means of beating
around the bush. For instance in Borland I used a one liner getche() in
my Blank file so I did not have to do anything to the program . At the
end of writing the code and compiling, run output came up on the screen.
May I suggest that this should have been an
integral part of the IDE design. Using the ' pause' work around incurrs
penalties and cross platform problems.
In the Question & Answer section the CLEAR
Screen command was brought up and you suggested we include Conio.c in the
Dev-C++ System File. I suggest the 'Clear Screen' function should been
activated with it's own Include header file. Now it could be there is a
file already for this manoeuvre, if so I get 50 lashes.
In your help files you go to great lengths to
explain all about 'C' programming and it's very well done . However most
of us have moved on to C++ and perhaps it would have been prudent to at
least write some examples of C++ code. Just to introduce the newcomer to
differences due to ANSI/ISO changes and implementing the code with the
Dev-C++ IDE.
Finally Linux is continually mentioned as
though they had a stake in the company. This system you explain is the
reason so many things were changed causing us Borland user added work.
Considering the percentage of LInux users it seems to me as though we
should have put that at the back of the burner. Would like a response to
these concerns with the public interest in mind . End of e-mail.
If we are going to use an IDE and this one
seems to measure up and it's free then let's get it right .
Bill Cridland E.E. Bolton MA
|
|
From: jo m. <non...@ho...> - 2004-01-02 15:22:55
|
hello, It seems there are a lot of "pure C" fans here. However, I think the problem is not C++ itself. If you are dealing with complex and serious projects, you need the high-level facilities, and I think it is better to rely on the language itself than on "customized" libraries that are so often buggy, non-portable and badly implemented. Besides, if you are learning, your time is better invested if you learn generalities than learning how to use a particular library. The actual problem is the compiler. Yes, Mingw is free, but for sure it is not the best C++ compiler. Still a lot of work to do. Sorry for bad English. Bye. >From: Maya <Esc...@ne...> >CC: DevCpp User Group <dev...@li...> >Subject: Re: [Dev-C++] Executable size is huge >Date: Wed, 31 Dec 2003 20:37:35 -0800 > >Get a hold of you, man!! >Remember that as soon as you include <iostream> or <string> or any of the >C++ libraries, you are loading a whole lot of huge templates. The C++ >library is not what it used to be before the templetization. If you think >that the small program you have writing is to big for your machine to >handle, why not use the 'C' library. There is nothing wrong with the 'C' >language, it is just another methodology. > >Happy new year every one, have one, have two, have three, but leave the car >keys at home. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |