dev-cpp-users Mailing List for Dev-C++
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
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(4) |
|
2
(9) |
3
(10) |
4
(29) |
5
(27) |
6
(20) |
7
(12) |
8
(3) |
|
9
(5) |
10
(14) |
11
(1) |
12
(13) |
13
(4) |
14
(18) |
15
(7) |
|
16
(3) |
17
(8) |
18
(16) |
19
(3) |
20
(14) |
21
(14) |
22
(8) |
|
23
(8) |
24
(9) |
25
(9) |
26
(13) |
27
(7) |
28
(3) |
29
(2) |
|
30
(2) |
|
|
|
|
|
|
|
From: Per W. <pw...@ia...> - 2003-11-06 22:06:07
|
All standard-compliant compilers should handle function pointers with
aplomb. Just do:
class Data {
public:
typedef int (*FUNC_GET)();
int GetData(FUNC_GET fn) {
return fn(); // Alternative 1
// return (*fn)(); // Alternative 2
}
};
int function() {
return 5;
}
int main() {
Data data;
return data.GetData(function);
}
/Per W
On Fri, 7 Nov 2003, Ben McLean (finlaylabs) wrote:
> I have a prob with code that contains pointers to functions, that will not compile with Dev-C++. Other (knowlegeable)friends can make small mods and get it to compile on windows with VC++6.0, and on BSD systems etc, But Dev-C++ seems to choke on this one issue. I have used Dev-C++ for 6 months now and have been very impressed.
> I am taking the liberty of pasting a post to Devshed below, that explains the issue. One friend (mitakeet) states that "Likely DevC wants some other way to declare the pointer. My research yesterday indicated that many compilers do not follow a standard, I just tried things until they worked."
>
> He declared the pointer using this style:
> #ifdef WIN32
> #define FNCTPTR
> #else //*nix
> #define FNCTPTR &Data::
> #endif
>
> class Data{
> private:
>
> typedef int (Data::*FUNC_GET)(void);
> and then
> int GetData(FUNC_GET fn){
> return (this->*fn)();
> };
> but that does not work on Dev-C++. Neither does my method, basically straight from the books by Stroustrup. The orig question post is below, with nice red highlighting to ease your viewing. How should I be declaring the pointer to function for Dev-C++?? Thanks for the help and the EXCELLENT software,
>
> Ben Mclean
>
>
> --------------------------------------------------------------------------------
> A friend and I are stumped on why the following wont compile. We get many error messages all as follows, for any function that contains calls to ddxFunc():
>
> Calculations.cpp: In member function `double calculations::ddt3_Stress_xx(int, int, int)':
> Calculations.cpp:176: no matching function for call to `Calculations::ddxFunc(<unknown type>, int&, int&, int&)'
> Calculations.h:61: candidates are: double Calculations::ddxFunc(double (Calculations::*)(int, int, int), int, int, int)
>
> The function ddt3_Stress_xx is below, the only point being it makes use of ddxFunc:
>
> code:------------------------------------------------------------------------------double Calculations::ddt3_Stress_xx(int i,int j,int k){
> double ddt3stress;
> ddt3stress = calcStiffness(11,i,j,k)*ddxFunc(ddt2_Vel_x,i,j,k)
> + calcStiffness(12,i,j,k)*ddyFunc(ddt2_Vel_y,i,j,k)
> + calcStiffness(13,i,j,k)*ddzFunc(ddt2_Vel_z,i,j,k);
> if(myParams->symmetry>3){
> ddt3stress += calcStiffness(14,i,j,k)*(ddzFunc(ddt2_Vel_y,i,j,k)
> + ddyFunc(ddt2_Vel_z,i,j,k))
> + calcStiffness(15,i,j,k)*(ddzFunc(ddt2_Vel_x,i,j,k)
> + ddxFunc(ddt2_Vel_z,i,j,k))
> + calcStiffness(16,i,j,k)*(ddyFunc(ddt2_Vel_x,i,j,k)
> + ddxFunc(ddt2_Vel_y,i,j,k));
> }
> return ddt3stress;
> }------------------------------------------------------------------------------
> As far as we can determine we have correctly typedef'd etc etc such that it should be clear the FUNC argument is of type double. An extract of Calculations.h and .cpp showing how we have done this is below. What are we doing wrong, or what are we not doing that we need to be? I would greatly apprecate some help on this.
>
> Thanks in anticipation,
> finlaylabs.
>
>
> code:------------------------------------------------------------------------------//****************************************************************************
> //Calculations.h
>
> class Calculations{
> // typedef for passing functions as args
> typedef double (Calculations::*FUNC)(int,int,int);
> // should be clear that FUNC arguments return type double
> public:
>
> private:
>
> double ddxFunc(FUNC,int,int,int);
> double ddyFunc(FUNC,int,int,int);
> double ddzFunc(FUNC,int,int,int);
> //etc............
>
>
> //****************************************************************************
> //Calculations.cpp
>
> #include <math.h>
>
> #include "Calculations.h"
>
> // derivatives of function-based values:
> //dd*Func() can calc derivatives for ddt2_vel_x() etc function-derived values
> double Calculations::ddxFunc(FUNC fn,int i,int j,int k){
> double xderv = 0.0;
> for(int K_index=1;K_index<=myParams->K;K_index++){
> xderv += weightcoeff(K_index,myParams->dx)
> *tapercoeff(K_index,myParams->dx)
> *((this->*fn)(i+K_index,j,k)-(this->*fn)(i+1-K_index,j,k));
> }
> return xderv;
> }
>
> ------------------------------------------------------------------------------
|
|
From: Ben M. \(finlaylabs\) <bm...@fi...> - 2003-11-06 17:38:43
|
I have a prob with code that contains pointers to functions, that will =
not compile with Dev-C++. Other (knowlegeable)friends can make small =
mods and get it to compile on windows with VC++6.0, and on BSD systems =
etc, But Dev-C++ seems to choke on this one issue. I have used Dev-C++ =
for 6 months now and have been very impressed.
I am taking the liberty of pasting a post to Devshed below, that =
explains the issue. One friend (mitakeet) states that "Likely DevC wants =
some other way to declare the pointer. My research yesterday indicated =
that many compilers do not follow a standard, I just tried things until =
they worked."
He declared the pointer using this style:
#ifdef WIN32
#define FNCTPTR=20
#else //*nix
#define FNCTPTR &Data::
#endif
class Data{
private:
typedef int (Data::*FUNC_GET)(void);
and then
int GetData(FUNC_GET fn){
return (this->*fn)();
};
but that does not work on Dev-C++. Neither does my method, basically =
straight from the books by Stroustrup. The orig question post is below, =
with nice red highlighting to ease your viewing. How should I be =
declaring the pointer to function for Dev-C++?? Thanks for the help and =
the EXCELLENT software,
Ben Mclean
-------------------------------------------------------------------------=
-------
A friend and I are stumped on why the following wont compile. We get =
many error messages all as follows, for any function that contains calls =
to ddxFunc():=20
Calculations.cpp: In member function `double =
calculations::ddt3_Stress_xx(int, int, int)':=20
Calculations.cpp:176: no matching function for call to =
`Calculations::ddxFunc(<unknown type>, int&, int&, int&)'=20
Calculations.h:61: candidates are: double Calculations::ddxFunc(double =
(Calculations::*)(int, int, int), int, int, int)=20
The function ddt3_Stress_xx is below, the only point being it makes use =
of ddxFunc:=20
code:--------------------------------------------------------------------=
----------double Calculations::ddt3_Stress_xx(int i,int j,int k){
double ddt3stress;
ddt3stress =3D calcStiffness(11,i,j,k)*ddxFunc(ddt2_Vel_x,i,j,k)
+ calcStiffness(12,i,j,k)*ddyFunc(ddt2_Vel_y,i,j,k)
+ calcStiffness(13,i,j,k)*ddzFunc(ddt2_Vel_z,i,j,k);
if(myParams->symmetry>3){
ddt3stress +=3D =
calcStiffness(14,i,j,k)*(ddzFunc(ddt2_Vel_y,i,j,k)
+ ddyFunc(ddt2_Vel_z,i,j,k))
+ calcStiffness(15,i,j,k)*(ddzFunc(ddt2_Vel_x,i,j,k)
+ ddxFunc(ddt2_Vel_z,i,j,k))
+ calcStiffness(16,i,j,k)*(ddyFunc(ddt2_Vel_x,i,j,k)
+ ddxFunc(ddt2_Vel_y,i,j,k));
}
return ddt3stress;
}------------------------------------------------------------------------=
------
As far as we can determine we have correctly typedef'd etc etc such that =
it should be clear the FUNC argument is of type double. An extract of =
Calculations.h and .cpp showing how we have done this is below. What are =
we doing wrong, or what are we not doing that we need to be? I would =
greatly apprecate some help on this.=20
Thanks in anticipation,=20
finlaylabs.=20
code:--------------------------------------------------------------------=
----------//*************************************************************=
***************
//Calculations.h
class Calculations{
// typedef for passing functions as args
typedef double (Calculations::*FUNC)(int,int,int);
// should be clear that FUNC arguments return type double
public:
private:
double ddxFunc(FUNC,int,int,int);
double ddyFunc(FUNC,int,int,int);
double ddzFunc(FUNC,int,int,int);
//etc............
//***********************************************************************=
*****
//Calculations.cpp
#include <math.h>
#include "Calculations.h"
// derivatives of function-based values:
//dd*Func() can calc derivatives for ddt2_vel_x() etc function-derived =
values
double Calculations::ddxFunc(FUNC fn,int i,int j,int k){
double xderv =3D 0.0;
for(int K_index=3D1;K_index<=3DmyParams->K;K_index++){
xderv +=3D weightcoeff(K_index,myParams->dx)
*tapercoeff(K_index,myParams->dx)
=
*((this->*fn)(i+K_index,j,k)-(this->*fn)(i+1-K_index,j,k));
}
return xderv;
}
-------------------------------------------------------------------------=
----- |
|
From: <ten...@ne...> - 2003-11-06 17:25:18
|
Since ANSI 99 (I think), the use of headers ended in .h is considere obsolete, since they don't use the namespace, a feature included in the headers which have no extension. If you want use the obsolete headers, you can add to the include path the folder /include/c++/3.2/bacward. If you use the modern headers, you have to consider they use namespace (read about them in some book), so you have to either place the line using namespace std; before the code using the standard variables, functions and members, using them preceded with std:: or place the lines using std::the_name_of_function_or_variable_or_whatever_of_the_std_namespace_you'll_use. Don Rutherford wrote: > I am new to C++: I have had a devil of a job to find a compiler to go > with Windows XP. > I thought Dev -C was the answer until I tried it. > It works beautifully for my C progs but even on the shortest C+ progs > (say 7 lines) it flags up a compile error for line 29! > It says: warning - backward error - no such file. > > It will not allow "cout" unless I have #include<iostream.h> > and if I do have that it flags up a red line error. > > Can anyone point out the where the trouble is? > > Regards. |
|
From: Alvin T. <al...@th...> - 2003-11-06 17:24:45
|
it keeps various configuration info, including what update items have been installed. no excuse to be using windows 9x anymore; upgrade to win2k. -alvin Michael D. Smith wrote: > > I have win98 with Dev-C++ version 4 and I have no devcpp.cfg file either. > > I do have .exe, ini, GID, cnt, and hlp. > > What's it supposed to do? > > ms > > At 10:00 AM 11/5/03, you wrote: > >> what OS are you using? i know on the NT variants it's in >> >> C:\Documents and Settings\user\Local Settings\Application Data >> >> anyone still using a windows 9x variant know where it is? please tell >> us, then upgrade to win2k. >> >> hth, >> alvin >> >> >> Pascal wrote: >> >>> I have not devcpp.cfg in my systeme,not in devcpp folder and not in >>> my user data application folder.! >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> 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: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > 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: Stefaan L. <ste...@ag...> - 2003-11-06 17:11:46
|
Dear, I'm Stefaan Lhermitte and at the moment I'm working (or at least trying to work) with the PCI Software Development Kit (SDK) but I'm not experienced in programming in C/C++. What I want to do is program additional features for the PCI Geomatica software. Normally VC++ is supported by PCI, but we don't have Visual Studio. We are trying if perhaps another (open source) compiler could be used and at the moment we are working with Dev-C++ 4. What I'm doing now is trying to compile one of the PCI example scripts (lrp.c) that are included on the SDK-cd. When I try to do this, the compilers gives the following error output: c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x19d):test.c: undefined reference to `IMPSTATUS' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x200):test.c: undefined reference to `IMPErrChar' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x208):test.c: undefined reference to `ALLRegister' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x219):test.c: undefined reference to `GDBOpen' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x243):test.c: undefined reference to `CheckChan' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x261):test.c: undefined reference to `CheckWin' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x2a6):test.c: undefined reference to `IMPErrInt' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x2ca):test.c: undefined reference to `GDBSizeInfo' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x31c):test.c: undefined reference to `IMPErrInt' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x388):test.c: undefined reference to `IMPErrInt' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x3d5):test.c: undefined reference to `GDBWriteHistory' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x4ac):test.c: undefined reference to `GDBRealChanIO' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x53a):test.c: undefined reference to `GDBRealChanIO' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x5c1):test.c: undefined reference to `GDBRealChanIO' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x637):test.c: undefined reference to `GDBRealChanIO' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x6f4):test.c: undefined reference to `GDBRealChanIO' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x719):test.c: undefined reference to `IMPCounter' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x7b0):test.c: undefined reference to `GDBWriteHistory' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x7cb):test.c: undefined reference to `GDBClose' c:\documents and settings\stefaanlh\my documents\cpp\test.o(.text+0x7d3):test.c: undefined reference to `IMPReturn' Does anyone have experience with this type of errors? I assume the problem is that Dev-C++. To avoid this, I tried to copy the pci.lib file into C:\Dev-C++\Lib and rename it into libpci.a. I also added the -lpci in the linker option (in project options). After doing all this my script still doesn't work. Can anyone help me perhaps? Thank you very much in advance! Kind regards, Stef -- ________________________________________________________________________ Stefaan Lhermitte Research Associate Lab of Geomatics and Forest Engineering K.U. Leuven Vital Decosterstraat 102. B-3000 Leuven Belgium Tel:+32-(0)16-329750 Fax: +32-(0)16-329760 Mobile: +32-(0)494-350842 ste...@ag... Business Card: http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=stefaanl ________________________________________________________________________ |
|
From: Alvin T. <al...@th...> - 2003-11-06 16:06:38
|
well, my advice is to uninstall completely and get the latest CVS version. then, under 'Tools-->Compiler Options', go to the 'Directories' tab. then, under the 'Binaries' subtab, add the path to your compiler binaries. not sure where it is in cygwin; maybe someone using it can chip in here? same goes for libraries, c includes and c++ includes. hth, alvin Maya wrote: > I have installed cygwin in a Win98 machine, as well as Dev-C++ a the > Development Interface. What I am trying to do is to port some UNIX > programs to Win9x and, if successful, I will, latter on, try on the > other Windowses. > > You see, I don't know the Win98 world that well. I am a UNIX citizen; I > have been since 1996. I lived on SCO for a while, then AIX and SUN at > work, but lately, like most UNIXENS, I have been living in the LINUX > world, where the grass is still green and there is lots of real-estate. > I was happy living in the DOS / Win3.x world, but we were evicted by the > landlord [Microsoft], there were other landlords [OS/2, WARP, > DRDOS,etc], but I felt like their worlds were a bit too small for my > taste. So I moved to the UNIX world, and what a place that it! > > Having a well developed UNIXEN attitude, I would like to share with the > rest; even if they are not UNIXENS. Well, I have found that MinGW and > CygWin are some sort of wormholes that have allowed me to again visit > that distant universe called Microsoft. > > Anyway, after installing and then deleting [not unstalling] Dev-C++ to > again reinstall it, I am unable to compile using Dev-C++, I had to go > manually at the prompt. > Where can I get a list of setting I must have in Dev-C++ for it to work > properly? > > TIA > al...@th... wrote: > >> a few changes since vUpdate was still in use. if i were you, i'd just >> get the latest version from CVS and copy the bin/lib dir's over (or >> better yet, install minGW and msys). >> >> hth, >> alvin >> >> >> Maya wrote: >> >>> I am trying to use vUpdate, but I get a message that reads: >>> ] Ready, hit check mark to begin... >>> * Error: Your devcpp.cfg file is missing the $BIN field in its >>> [VUPDATE] section... >>> >>> What the heck is that!!??! >>> > |
|
From: Alvin T. <al...@th...> - 2003-11-06 15:53:43
|
isn't that what i just said? but if *you* say it, it must be true... :P -alvin Matthews wrote: > Ok, this is a recurring topic on this list. Conio is a nonstandard c > library, which for some reason was included in earlier MinGW distributions. > Newer Dev-C++s don't come with it anymore, ( or at least the non-standard > version), so I compiled my own version from the older conio.c file. > Anyways, if you have the version that has textcolor(), etc, then you > include "conio.h" and add "-lconio" to your linker options. > > At 11:14 AM 05/11/2003 -0500, Alvin Thompson wrote: > >>not sure where that conio.c is coming from; it's not included in my >>minGW distro. there's a good chance it will go away. >> >>-alvin >> >> >>Tuukka Lehtinen wrote: >> >> >>>There is simple implementation Dev-cpp\include\conio.c >>>I don't know why this isin't are in library form. >>> >>>If you need more advance console support you may consider pdcurses >>>library http://pdcurses.sourceforge.net/ >>> >>>Don't use system() because it takes huge system resources for the little >>>thing. >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>Does SourceForge.net help you be more productive? Does it >>>help you create better code? SHARE THE LOVE, and help us help >>>YOU! Click Here: http://sourceforge.net/donate/ >>>_______________________________________________ >>>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: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>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: Alvin T. <al...@th...> - 2003-11-06 15:42:06
|
for one thing, for c++ i know you're not supposed to include 'iostream.h', but rather 'iostream' (minus the extension). same for a lot of other includes... hth, alvin Don Rutherford wrote: > I am new to C++: I have had a devil of a job to find a compiler to go > with Windows XP. > I thought Dev -C was the answer until I tried it. > It works beautifully for my C progs but even on the shortest C+ progs > (say 7 lines) it flags up a compile error for line 29! > It says: warning - backward error - no such file. > > It will not allow "cout" unless I have #include<iostream.h> > and if I do have that it flags up a red line error. > > Can anyone point out the where the trouble is? > > Regards. |
|
From: Glenn W. <gl...@mr...> - 2003-11-06 13:54:53
|
Has anyone noticed that this version takes a very long time to load? The = only thing different on from the 4.9.8.0 install is the GTK package is = installed. It probably takes around 30 seconds to load. The computer is = old but it is a dual processor 450 PII running XP. =20 On the topic of code completion: I am new to c++ and I am not aware of many of the member functions. I = was hoping that code completion would give me a list of these functions = which would speed up my learning curve. Using something as simple as = cin, has getline, get, etc.. If I type cin. shouldn't I get a list of = functions? Is code completion only for clases created in your code? =20 Thanks Sincerely,=20 Glenn Welker=20 Director of Product Development=20 MRH Technology Group=20 =20 |
|
From: Glenn W. <gl...@mr...> - 2003-11-06 13:25:00
|
Thanks for the feedback. One of the reasons I am asking is that I = installed several of the packages thinking that I might use them down = the road. Now the cache creation for code completion kills the = application. I have a feeling that one of the packages may be to blame = but since I had just upgraded to the newest version this could be the = problem as well.=20 I think I will uninstall all of the unneeded packages to see if it will = solve the problem. Thanks again. Glenn Welker -----Original Message----- From: David McKen [mailto:ci...@ya...] Sent: Wednesday, November 05, 2003 9:58 PM To: dev...@li... Subject: Re: [Dev-C++] Package Manager Actually it does one more thing. Packman keeps track of what it installed and is able to remove the files that were installed if needed. ----- Original Message -----=20 From: "Carlos Garc=EDa del Monte" <ten...@ne...> To: "Glenn Welker" <gl...@mr...> Cc: <dev...@li...> Sent: Wednesday, November 05, 2003 12:53 PM Subject: Re: [Dev-C++] Package Manager > It extracts the files in the package to the folders it says, but does > nothing more, if you want to add the help files it may have to the menu, > you'll have to do it yourself. That's the way it works, Package manager > is a gzip extractor which knows where to extract the files. It can add > some items to the start menu. > Greetings. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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: Brion K. <bri...@bi...> - 2003-11-06 12:21:56
|
Hi All, This hopfuly will be an easy question for you all. When I can actually get the debugger to work, I cannot trace into or stop on break points or anything. The console window opens but it is blank. Any Ideas? Or do you need more information? If so whats information will help? Thanks Brion |
|
From: Dondolo M. <MDo...@OL...> - 2003-11-06 11:17:25
|
Hi all, Where can i get/download the help file for Dev C++ 4.9.6.0 . I get an error ".....cannot find file" Regards, Mpho |
|
From: Per W. <pw...@ia...> - 2003-11-06 07:01:05
|
Please note that Dev-C++ doesnt support C+, and for C++ it uses you should switch to the current C++ standard. Correct include file should be #include <iostream> Then you might use std::cout without a problem. By the way - do you often get compiler errors on line 29 of 7-line programs? /Per W On Wed, 5 Nov 2003, Don Rutherford wrote: > I am new to C++: I have had a devil of a job to find a compiler to go with Windows XP. > I thought Dev -C was the answer until I tried it. > It works beautifully for my C progs but even on the shortest C+ progs (say 7 lines) it flags up a compile error for line 29! > It says: warning - backward error - no such file. > > It will not allow "cout" unless I have #include<iostream.h> > and if I do have that it flags up a red line error. > > Can anyone point out the where the trouble is? > > Regards. > |
|
From: Don R. <don...@wh...> - 2003-11-06 06:30:20
|
I am new to C++: I have had a devil of a job to find a compiler to go = with Windows XP. I thought Dev -C was the answer until I tried it. It works beautifully for my C progs but even on the shortest C+ progs = (say 7 lines) it flags up a compile error for line 29! It says: warning - backward error - no such file. It will not allow "cout" unless I have #include<iostream.h> and if I do have that it flags up a red line error. Can anyone point out the where the trouble is? Regards. |
|
From: <Esc...@ne...> - 2003-11-06 06:05:13
|
Hey folks! I have messed up the settings in Dev-C++. Can anyone tell me where or how do I get the default settings? TIA __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 |
|
From: David M. <ci...@ya...> - 2003-11-06 02:57:56
|
Actually it does one more thing. Packman keeps track of what it installed and is able to remove the files that were installed if needed. ----- Original Message ----- From: "Carlos García del Monte" <ten...@ne...> To: "Glenn Welker" <gl...@mr...> Cc: <dev...@li...> Sent: Wednesday, November 05, 2003 12:53 PM Subject: Re: [Dev-C++] Package Manager > It extracts the files in the package to the folders it says, but does > nothing more, if you want to add the help files it may have to the menu, > you'll have to do it yourself. That's the way it works, Package manager > is a gzip extractor which knows where to extract the files. It can add > some items to the start menu. > Greetings. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |
|
From: Eric <eri...@cl...> - 2003-11-06 01:42:55
|
how did you get on? did you read my posting direct to you? do you need to reboot the system? just a thought. TALKING CLOCK Proudly showing off his new apartment to a couple of his friends late one night the drunk led the way to his bedroom where there was a big brass gong. "What's that big brass gong for?" one of the guests asked. "It's not a gong. It's a talking clock" the drunk replied. A talking clock? Seriously?" asked his astonished friend. "Yup" replied the drunk. "How's it work?" the second guest asked, squinting at it. "Watch" the man said. He picked up a hammer, gave it an ear shattering pound and stepped back. The three stood looking at one another for a moment. Suddenly, someone on the other side of the wall screamed " You f___ ing asshole....it's ten past three in the morning!" ----- Original Message ----- From: "Alain Paschoud" <ala...@ge...> To: <dev...@li...> Sent: Wednesday, November 05, 2003 9:47 PM Subject: [Dev-C++] Creating DLLs and use them Hi all, I just created a very simple DLL with one function in it. When I try to load it (with regsvr32), I got the message "<paht_to_the_dll> was loaded, but the DllRegisterServer entry point was not found". Should I add something in my code to add a DllRegisterServer entry point ? Thank you for your any information about this problem. Best regards. |
|
From: wugang <wu...@ey...> - 2003-11-06 00:51:32
|
Per W: Sure you are right: I'm not planning to running the IDE on some embedded system. But my idea is to make the IDE a good tool to develop emebeded system with embedded OS. Now there are some em-OSes, such as em-linux, uc/os. But I think they are not easy to use. For example, the coder must configure em-OS manually, delete useless code from em-OS manually, and he can not estimate the performance of em-OS(size, speed) when coding. My idea is to add some buttons to the IDE. One is configure button, the coder can choose, say, how many tasks in the em-system, the tactic of task-switch, and so on. And before compiling, the IDE can automatically delete useless em-OS code according to em-OS configuration. The other button is performance button, which can estimate the performance of em-OS according to current configuration. It is said that vxWorks has realized the idea above. I dont know it true or not, for I have never used vxWorks. No matter it's true or not, I want to do it, to show my capability to the university. :) Now you know why must I change the source of dev-cpp? And after all, even if I just change the compiler, still I have to recompile the IDE source, or it will still call MinGW. Isn't it? ÔÚÄúµÄÀ´ÐÅÖÐÌáµ½ >Who do you need to recompile environment, just to use it for an embedded >system? I assume you are not planning on running the IDE on the embedded >system - just use it to create applications for the embedded systems. > >Just write a stub program that gets called instead of the MinGW >compiler, and that calls the embedded compiler with suitably renamed >parameters. > >/Per W > > --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ ÒÆ¶¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyou.com --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû |