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
(24) |
2
(12) |
3
(10) |
4
(5) |
5
(30) |
|
6
(6) |
7
(18) |
8
(17) |
9
(36) |
10
(22) |
11
(7) |
12
(3) |
|
13
(10) |
14
(31) |
15
(6) |
16
(18) |
17
(18) |
18
(24) |
19
(9) |
|
20
(11) |
21
(43) |
22
(18) |
23
(32) |
24
(51) |
25
(38) |
26
(14) |
|
27
(12) |
28
(5) |
29
(24) |
30
(31) |
31
(12) |
|
|
|
From: Mark L. W. <ma...@al...> - 2002-10-29 21:40:30
|
I am trying to get my first WxWindows application started. The first thing I wanted the program to do was display a "splash" screen ala windows... The compiler said I was missing wx/splash.h and indeed I am... I downloaded the WxWindows DevPak via the check for updates in Dev-C++. Am I doing something wrong here??? Thanks in advance... Mark |
|
From: <h.r...@gm...> - 2002-10-29 21:37:18
|
> Hi, > > Wondering if anyone has experience with mixed language programming and > whether it can be done with Dev-Cpp? > > In particular, I'm writing a mathematical simulation in C (using Dev-Cpp) > and would like to make using of some existing numerical routines in > Fortran. > My C knowledge is necessity-based self-taught and so limited; don't know > anything about Fortran. Neither do I know much about using > compilers/linkers/etc in command line mode (which is why I use Dev-Cpp--I > let it worry about that stuff). > > Still, I know that built-in to the gcc interface is the g77 compiler so > there must be a way to compile the fortran source to an object with g77 > and > then link to & call the routines from C. Could it be as simple as added > fortran source files to my Dev-Cpp project? If so, any thoughts on how to > prototype the Fortran functions & subfunctions to make them accessible to > the C calling routines? > > BTW, I've tried f2c but have been unable to make that work. That approach > is suboptimal anyway because the resulting C code is far less efficient > than > the original Fortran source. > > Perhaps specifics would help. The fortran code I'm trying to use is a > single file ode.f The entry point is the subroutine ode. Here's how the > file is laid out: > > // ode.f > > subroutine ode(f,neqn,y,t,tout,relerr,abserr,iflag,work,iwork) > implicit real*8(a-h,o-z) > > c f -- double precision subroutine f(t,y,yp) to evaluate > c derivatives yp(i)=dy(i)/dt > c neqn -- number of equations to be integrated (integer*4) > c y(*) -- solution vector at t (real*8) > c t -- independent variable (real*8) > c tout -- point at which solution is desired (real*8) > c relerr,abserr -- relative and absolute error tolerances for local > c error test (real*8). at each step the code requires > c dabs(local error) .le. dabs(y)*relerr + abserr > c for each component of the local error and solution vectors > c iflag -- indicates status of integration (integer*4) > c work(*) (real*8) -- arrays to hold information internal to > c iwork(*) (integer*4) which is necessary for subsequent calls > > . . . ode calls de: > subroutine de(f,neqn,y,t,tout,relerr,abserr,iflag, > 1 yy,wt,p,yp,ypout,phi,alpha,beta,sig,v,w,g,phase1,psi,x,h,hold, > 2 start,told,delsgn,ns,nornd,k,kold,isnold) > implicit real*8(a-h,o-z) > > . . . de calls step & intrp: > subroutine step(x,y,f,neqn,h,eps,wt,start, > 1 hold,k,kold,crash,phi,p,yp,psi, > 2 alpha,beta,sig,v,w,g,phase1,ns,nornd) > implicit real*8(a-h,o-z) > > subroutine intrp(x,y,xout,yout,ypout,neqn,kold,phi,psi) > implicit real*8(a-h,o-z) > // end ode.f > > The derivative function f is written in C (and that's where I was having > probs with the f2c route). > > All help is appreciated (sorry for the long post). > > Scott > there are many interesting articels about this topic in the web, e.g.: Carsten A. Arnholm Mixed language programming using C++ and FORTRAN 77 at: http://home.online.no/~arnholm/cppf77.htm#Section1 If you use google for search you will find many others. Horst -- Horst Rößner Postf. 1802 52205 Stolberg ICQ ID #74808448 h.r...@gm... h.g...@t-... +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |
|
From: Cesare P. <pad...@in...> - 2002-10-29 20:56:50
|
At 15:31 29/10/2002 +0100, Frank Wagner wrote: >Hello Cesare, > >to use the serial ports with DevC++ depends on the compiler to use >with. >As far as I know (but I'm not sure) with borland these functions are >included >in the conio.h. >There is also a conio.h that comes with the DevC++ IDE written by >Hongli Lai but I don't know whether it will compatible with borland. > >I use the cygwin system because of the ability to port these >applications to unix systems. >With cygwin the required funktions are in termios.h and fcntl.h > >If you are interested in I can send you a little example that uses the >cygwin system. It would be nice ... I use Mingw compiler. Thanks, Cesare > >Greetings > >Frank > >>>> Cesare Padovani <pad...@in...> 10/29 1:10 >>> >Does anyone know how to write to and read from an i/o port? > >In the dos version of Borland C++ there were the functions: > >void outport(int portid, int value); >int outp(int portid, int byte_value); > >located in dos.h. > >What about Dev-C++ in this area? > >Regards, Cesare Padovani > > > >------------------------------------ >Cesare Padovani >Dipartimento di Ingegneria Elettrica >Universita' degli Studi di L'Aquila >Italy >Tel. +39-0862-434432 >Fax +39-0862-434403 > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > ------------------------------------ Cesare Padovani Dipartimento di Ingegneria Elettrica Universita' degli Studi di L'Aquila Italy Tel. +39-0862-434432 Fax +39-0862-434403 |
|
From: Scott W. <se...@al...> - 2002-10-29 20:33:49
|
Hi,
Wondering if anyone has experience with mixed language programming and
whether it can be done with Dev-Cpp?
In particular, I'm writing a mathematical simulation in C (using Dev-Cpp)
and would like to make using of some existing numerical routines in Fortran.
My C knowledge is necessity-based self-taught and so limited; don't know
anything about Fortran. Neither do I know much about using
compilers/linkers/etc in command line mode (which is why I use Dev-Cpp--I
let it worry about that stuff).
Still, I know that built-in to the gcc interface is the g77 compiler so
there must be a way to compile the fortran source to an object with g77 and
then link to & call the routines from C. Could it be as simple as added
fortran source files to my Dev-Cpp project? If so, any thoughts on how to
prototype the Fortran functions & subfunctions to make them accessible to
the C calling routines?
BTW, I've tried f2c but have been unable to make that work. That approach
is suboptimal anyway because the resulting C code is far less efficient than
the original Fortran source.
Perhaps specifics would help. The fortran code I'm trying to use is a
single file ode.f The entry point is the subroutine ode. Here's how the
file is laid out:
// ode.f
subroutine ode(f,neqn,y,t,tout,relerr,abserr,iflag,work,iwork)
implicit real*8(a-h,o-z)
c f -- double precision subroutine f(t,y,yp) to evaluate
c derivatives yp(i)=dy(i)/dt
c neqn -- number of equations to be integrated (integer*4)
c y(*) -- solution vector at t (real*8)
c t -- independent variable (real*8)
c tout -- point at which solution is desired (real*8)
c relerr,abserr -- relative and absolute error tolerances for local
c error test (real*8). at each step the code requires
c dabs(local error) .le. dabs(y)*relerr + abserr
c for each component of the local error and solution vectors
c iflag -- indicates status of integration (integer*4)
c work(*) (real*8) -- arrays to hold information internal to
c iwork(*) (integer*4) which is necessary for subsequent calls
. . . ode calls de:
subroutine de(f,neqn,y,t,tout,relerr,abserr,iflag,
1 yy,wt,p,yp,ypout,phi,alpha,beta,sig,v,w,g,phase1,psi,x,h,hold,
2 start,told,delsgn,ns,nornd,k,kold,isnold)
implicit real*8(a-h,o-z)
. . . de calls step & intrp:
subroutine step(x,y,f,neqn,h,eps,wt,start,
1 hold,k,kold,crash,phi,p,yp,psi,
2 alpha,beta,sig,v,w,g,phase1,ns,nornd)
implicit real*8(a-h,o-z)
subroutine intrp(x,y,xout,yout,ypout,neqn,kold,phi,psi)
implicit real*8(a-h,o-z)
// end ode.f
The derivative function f is written in C (and that's where I was having
probs with the f2c route).
All help is appreciated (sorry for the long post).
Scott
|
|
From: B. <ama...@uo...> - 2002-10-29 17:41:15
|
Yes, perfect both methods and the solutions suggested. Thank you. The cla= ss side, that is, when the access to the fuction members of the class is made, it is we= ll defined. Now I'm thinking in a way to discover whose program is accessing them (th= e classes). In a Unix world I could check the gid and discover which kind of user pro= gram is requesting it. And in a Win environment? Are you understanding now? How can, in a run-time mode, I can check this = access Regards Andr=E9 =3D=3D=3D Daniel Glenfield wrote: > I'd considered derived classes as a solution, but I think perhaps the > exercise (it sounds like one) involves creating a portable class - one = that > can be plugged in to a project. > > The variables specified could have been anything, so we're not sure on > whether our solutions are going to work or not. The functions are not > specified so they could do anyhting. I thought setting access via the > constructors would work better. After all, if the object was to derive = the > class into child classes the exercise would have said so surely? > > >From: "Abhijit Shylanath" <mu...@gm...> > >To: "Daniel Glenfield" > ><sp...@ho...>,<ama...@uo...>,<dev...@li...= rceforge.net> > >Subject: Re: [Dev-C++] Off:Classes Access Restrictions > >Date: Tue, 29 Oct 2002 18:26:02 +0530 > > > >Greets, everyone. > > > > > So a superdummy could be (DummyAccess =3D true, NerdAccess =3D true= ) > > > and the function will not care what the object is named, it will ju= st > >see > > > the value of the variable for NerdAccess. If it were a string, the > >function > > > would have to be rewritten to accomodate "superdummy" > > > >I came in late (I'd disabled my mail delivery for sometime), so I may = not > >be > >talking about what you're talking about. But according to what Daniel = is > >talking about, someone wants a class, some parts of which are accessib= le to > >some dudes, other parts to other dudes. His method makes sense. Also, = it > >should be more efficient than using strings (less time to compare or > >check). > >You could also modify the method to use a flag, like > > > > Constructor(int access_mode); > > > >which could be a combination of > > > > #define FOO_MODE_DUMMY 0x01 > > #define FOO_MODE_NERD 0x02 > > > >like so: > > > > Constructor(FOO_MODE_DUMMY | FOO_MODE_NERD); > > > >Within the methods, checking would be like so: > > > > if(access_mode & FOO_MODE_NERD) > > { > > // Do nerdy stuff > > } > > > >But this method is run-time checking, and you wouldn't know what to do= if a > >dummy tries to access a nerd-only-function. Error-message? Drop to OS? > >Wouldn't it be better if there were compile-time errors? Yes, so we ha= ve > >the > >new and improved C++-style DERIVED CLASSES! Yes, with one simple wave = of > >the > >hand... never mind... how's this? > > > >class FooParent > >{ > > public: > > FooParent(); > > ~FooParent(); > > > > virtual int WhichFoo() =3D 0; > > > > private: > > int num_stuff; > >}; > > > >class FooDummy : public FooParent > >{ > > /* blah */ > >}; > > > >class FooNerd : public FooNerd > >{ > > /* different blah */ > >}; > > > >Was this what was asked? > > > >___________________________________________________________ > > > >Abhijit Shylanath > > > >E-mail: mu...@gm... || ibr...@bi... > >Web-site: http://mudeth.tripod.com/ > > _________________________________________________________________ > Surf the Web without missing calls! Get MSN Broadband. > http://resourcecenter.msn.com/access/plans/freeactivation.asp |
|
From: Frank W. <F.W...@wi...> - 2002-10-29 14:32:23
|
Hello Cesare, to use the serial ports with DevC++ depends on the compiler to use with. As far as I know (but I'm not sure) with borland these functions are included in the conio.h. There is also a conio.h that comes with the DevC++ IDE written by Hongli Lai but I don't know whether it will compatible with borland. I use the cygwin system because of the ability to port these applications to unix systems. With cygwin the required funktions are in termios.h and fcntl.h If you are interested in I can send you a little example that uses the cygwin system. Greetings Frank >>> Cesare Padovani <pad...@in...> 10/29 1:10 >>> Does anyone know how to write to and read from an i/o port? In the dos version of Borland C++ there were the functions: void outport(int portid, int value); int outp(int portid, int byte_value); located in dos.h. What about Dev-C++ in this area? Regards, Cesare Padovani ------------------------------------ Cesare Padovani Dipartimento di Ingegneria Elettrica Universita' degli Studi di L'Aquila Italy Tel. +39-0862-434432 Fax +39-0862-434403 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Daniel G. <sp...@ho...> - 2002-10-29 13:53:47
|
I'd considered derived classes as a solution, but I think perhaps the
exercise (it sounds like one) involves creating a portable class - one that
can be plugged in to a project.
The variables specified could have been anything, so we're not sure on
whether our solutions are going to work or not. The functions are not
specified so they could do anyhting. I thought setting access via the
constructors would work better. After all, if the object was to derive the
class into child classes the exercise would have said so surely?
>From: "Abhijit Shylanath" <mu...@gm...>
>To: "Daniel Glenfield"
><sp...@ho...>,<ama...@uo...>,<dev...@li...>
>Subject: Re: [Dev-C++] Off:Classes Access Restrictions
>Date: Tue, 29 Oct 2002 18:26:02 +0530
>
>Greets, everyone.
>
> > So a superdummy could be (DummyAccess = true, NerdAccess = true)
> > and the function will not care what the object is named, it will just
>see
> > the value of the variable for NerdAccess. If it were a string, the
>function
> > would have to be rewritten to accomodate "superdummy"
>
>I came in late (I'd disabled my mail delivery for sometime), so I may not
>be
>talking about what you're talking about. But according to what Daniel is
>talking about, someone wants a class, some parts of which are accessible to
>some dudes, other parts to other dudes. His method makes sense. Also, it
>should be more efficient than using strings (less time to compare or
>check).
>You could also modify the method to use a flag, like
>
> Constructor(int access_mode);
>
>which could be a combination of
>
> #define FOO_MODE_DUMMY 0x01
> #define FOO_MODE_NERD 0x02
>
>like so:
>
> Constructor(FOO_MODE_DUMMY | FOO_MODE_NERD);
>
>Within the methods, checking would be like so:
>
> if(access_mode & FOO_MODE_NERD)
> {
> // Do nerdy stuff
> }
>
>But this method is run-time checking, and you wouldn't know what to do if a
>dummy tries to access a nerd-only-function. Error-message? Drop to OS?
>Wouldn't it be better if there were compile-time errors? Yes, so we have
>the
>new and improved C++-style DERIVED CLASSES! Yes, with one simple wave of
>the
>hand... never mind... how's this?
>
>class FooParent
>{
> public:
> FooParent();
> ~FooParent();
>
> virtual int WhichFoo() = 0;
>
> private:
> int num_stuff;
>};
>
>class FooDummy : public FooParent
>{
> /* blah */
>};
>
>class FooNerd : public FooNerd
>{
> /* different blah */
>};
>
>Was this what was asked?
>
>___________________________________________________________
>
>Abhijit Shylanath
>
>E-mail: mu...@gm... || ibr...@bi...
>Web-site: http://mudeth.tripod.com/
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
|
|
From: Abhijit S. <mu...@gm...> - 2002-10-29 12:58:46
|
There was an error in my last message:
> class FooNerd : public FooNerd
That would be
class FooNerd : public FooParent
Sorry.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Abhijit S. <mu...@gm...> - 2002-10-29 12:57:12
|
Greets, everyone.
> So a superdummy could be (DummyAccess = true, NerdAccess = true)
> and the function will not care what the object is named, it will just see
> the value of the variable for NerdAccess. If it were a string, the
function
> would have to be rewritten to accomodate "superdummy"
I came in late (I'd disabled my mail delivery for sometime), so I may not be
talking about what you're talking about. But according to what Daniel is
talking about, someone wants a class, some parts of which are accessible to
some dudes, other parts to other dudes. His method makes sense. Also, it
should be more efficient than using strings (less time to compare or check).
You could also modify the method to use a flag, like
Constructor(int access_mode);
which could be a combination of
#define FOO_MODE_DUMMY 0x01
#define FOO_MODE_NERD 0x02
like so:
Constructor(FOO_MODE_DUMMY | FOO_MODE_NERD);
Within the methods, checking would be like so:
if(access_mode & FOO_MODE_NERD)
{
// Do nerdy stuff
}
But this method is run-time checking, and you wouldn't know what to do if a
dummy tries to access a nerd-only-function. Error-message? Drop to OS?
Wouldn't it be better if there were compile-time errors? Yes, so we have the
new and improved C++-style DERIVED CLASSES! Yes, with one simple wave of the
hand... never mind... how's this?
class FooParent
{
public:
FooParent();
~FooParent();
virtual int WhichFoo() = 0;
private:
int num_stuff;
};
class FooDummy : public FooParent
{
/* blah */
};
class FooNerd : public FooNerd
{
/* different blah */
};
Was this what was asked?
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Daniel G. <sp...@ho...> - 2002-10-29 12:26:35
|
Slow up a second, "they" are going to be importing your class and creating
instances of it? Make sure everything is documented! lol
I think the premise of what we have so far is sound, though I believe my
method of overloading the constructors with member variables initialised to
true or false will work better than a string as you can combine the
variables to create a new kind of object.
So a superdummy could be (DummyAccess = true, NerdAccess = true)
and the function will not care what the object is named, it will just see
the value of the variable for NerdAccess. If it were a string, the function
would have to be rewritten to accomodate "superdummy"
Am I making sense anyone???
>From: André Macário Barros <ama...@uo...>
>To: Dev-C++ Mailing List <dev...@li...>
>Subject: Re: [Dev-C++] Off:Classes Access Restrictions
>Date: Tue, 29 Oct 2002 09:15:05 -0200
>
>Have no preference. But I could say that it would be better the "dummies"
>and
>"nerds" even don't know that they could make "more things" using the class
>any. Compile time maybe?
>
>Regards
>André
>
>Per Westermark wrote:
>
> > Should the access restriction be made at compile time or at run time?
> >
> > /Per W
> >
> > On Mon, 28 Oct 2002, André Macário Barros wrote:
> >
> > > Gentelmen,
> > >
> > > Sorry about the off-topic question, but let me know if you can
>help:
> > >
> > > 1. Consider the following Class
> > > Class any{
> > > public:
> > > any (int x=0, int y=0, int z=0);
> > > void dummy_func1();
> > > void not_so_dummy_func2();
> > > void very_important_func3();
> > > void only_for_bad_boys_func4();
> > > private:
> > > int x;
> > > int y;
> > > int z;
> > > };
> > >
> > > 2. Let suppose 3 different groups of users (supose programmers):
> > > "The dummies", "The Nerds", and "The Bad Boys"
> > >
> > > 3. I want to restrict the access to the public functions by group,
> > > that is, dummies programs only accessing func1, nerds programs
>accessing
> > > func1 to func3, and badboys programs accessing all the functions;
> > >
> > > 4. Is it possible do this, step 3, in C++?
> > >
> > > 5. If item 4 is possible, is it possible in Dev-C++? How?
> > >
> > > Regards
> > > André
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Dev-cpp-users mailing list
> > > Dev...@li...
> > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> > >
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
|
|
From: B. <ama...@uo...> - 2002-10-29 12:12:09
|
Thank you, Sir, but what is written in their main.cpp file? Remember: tha=
t
groups, dummies, nerds, and badboys, are only symbolic names. There is no=
thing
set up telling for the class that one or other is accessing it.
Regards,
Andr=E9
=3D=3D=3D
Daniel Glenfield wrote:
> Are you saying that you will create objects of the class, named Dummies=
,
> Nerds, and BadBoys and limit their access?
>
> I might suggest using overloaded constructors and setting a member vari=
able
> (a bool) to TRUE when used. For example, you have three overloaded
> constructors.
>
> any (DummyAccess =3D true);
> any (DummyAccess =3D true, NerdAccess =3D true);
> any (DummyAccess =3D true, NerdAccess =3D true, BadBoysAccess =3D true)=
;
>
> Then in the member functions
>
> void any::very_important_func3( any &ConstructedObject )
> {
> if (ConstructedObject.NerdAccess !=3D true)
> {
> return 0; // escape from the function
> }
> //... Do something
> }
>
> What about that?
>
> >From: Andr=E9 Mac=E1rio Barros <ama...@uo...>
> >To: Dev-C++ Mailing List <dev...@li...>
> >Subject: [Dev-C++] Off:Classes Access Restrictions
> >Date: Mon, 28 Oct 2002 23:06:15 -0200
> >
> >Gentelmen,
> >
> > Sorry about the off-topic question, but let me know if you can hel=
p:
> >
> > 1. Consider the following Class
> > Class any{
> > public:
> > any (int x=3D0, int y=3D0, int z=3D0);
> > void dummy_func1();
> > void not_so_dummy_func2();
> > void very_important_func3();
> > void only_for_bad_boys_func4();
> > private:
> > int x;
> > int y;
> > int z;
> > };
> >
> > 2. Let suppose 3 different groups of users (supose programmers):
> > "The dummies", "The Nerds", and "The Bad Boys"
> >
> > 3. I want to restrict the access to the public functions by group,
> >that is, dummies programs only accessing func1, nerds programs accessi=
ng
> >func1 to func3, and badboys programs accessing all the functions;
> >
> > 4. Is it possible do this, step 3, in C++?
> >
> > 5. If item 4 is possible, is it possible in Dev-C++? How?
> >
> >Regards
> >Andr=E9
> >
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Dev-cpp-users mailing list
> >Dev...@li...
> >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
> _________________________________________________________________
> Unlimited Internet access for only $21.95/month. Try MSN!
> http://resourcecenter.msn.com/access/plans/2monthsfree.asp
|
|
From: Cesare P. <pad...@in...> - 2002-10-29 12:09:53
|
Does anyone know how to write to and read from an i/o port? In the dos version of Borland C++ there were the functions: void outport(int portid, int value); int outp(int portid, int byte_value); located in dos.h. What about Dev-C++ in this area? Regards, Cesare Padovani ------------------------------------ Cesare Padovani Dipartimento di Ingegneria Elettrica Universita' degli Studi di L'Aquila Italy Tel. +39-0862-434432 Fax +39-0862-434403 |
|
From: B. <ama...@uo...> - 2002-10-29 12:07:43
|
Have no preference. But I could say that it would be better the "dummies"=
and
"nerds" even don't know that they could make "more things" using the clas=
s
any. Compile time maybe?
Regards
Andr=E9
Per Westermark wrote:
> Should the access restriction be made at compile time or at run time?
>
> /Per W
>
> On Mon, 28 Oct 2002, Andr=E9 Mac=E1rio Barros wrote:
>
> > Gentelmen,
> >
> > Sorry about the off-topic question, but let me know if you can hel=
p:
> >
> > 1. Consider the following Class
> > Class any{
> > public:
> > any (int x=3D0, int y=3D0, int z=3D0);
> > void dummy_func1();
> > void not_so_dummy_func2();
> > void very_important_func3();
> > void only_for_bad_boys_func4();
> > private:
> > int x;
> > int y;
> > int z;
> > };
> >
> > 2. Let suppose 3 different groups of users (supose programmers):
> > "The dummies", "The Nerds", and "The Bad Boys"
> >
> > 3. I want to restrict the access to the public functions by group,
> > that is, dummies programs only accessing func1, nerds programs access=
ing
> > func1 to func3, and badboys programs accessing all the functions;
> >
> > 4. Is it possible do this, step 3, in C++?
> >
> > 5. If item 4 is possible, is it possible in Dev-C++? How?
> >
> > Regards
> > Andr=E9
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
|
|
From: Per W. <pw...@ia...> - 2002-10-29 11:58:28
|
Should the access restriction be made at compile time or at run time?
/Per W
On Mon, 28 Oct 2002, Andr=E9 Mac=E1rio Barros wrote:
> Gentelmen,
>=20
> Sorry about the off-topic question, but let me know if you can help:
>=20
> 1. Consider the following Class
> Class any{
> public:
> any (int x=3D0, int y=3D0, int z=3D0);
> void dummy_func1();
> void not_so_dummy_func2();
> void very_important_func3();
> void only_for_bad_boys_func4();
> private:
> int x;
> int y;
> int z;
> };
>=20
> 2. Let suppose 3 different groups of users (supose programmers):
> "The dummies", "The Nerds", and "The Bad Boys"
>=20
> 3. I want to restrict the access to the public functions by group,
> that is, dummies programs only accessing func1, nerds programs accessing
> func1 to func3, and badboys programs accessing all the functions;
>=20
> 4. Is it possible do this, step 3, in C++?
>=20
> 5. If item 4 is possible, is it possible in Dev-C++? How?
>=20
> Regards
> Andr=E9
>=20
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>=20
|
|
From: Carlos d. M. <cg...@wo...> - 2002-10-29 11:50:10
|
include the header and in linker options/further object files select the object file. =3D?iso-8859-1?Q?Andr=3DE9=3D20Mac=3DE1rio?=3D Barros escribi=F3: > Gentlemen, > > 1-Let Consider 3 files in a Project File: > > -A header file, .h containing the interface of the class, that is, > the prototype of the functions, and even in-line functions; > -A imp.cpp containing the implementation of the functions of the > class presented in the header file; and > -A main.cpp containing the client program that instatiates a object > that makes use of the public functions specified in the header file. > > 2-Let suppose the project is running in the integrated environment o= f > Dev-C++; > > 3-How can I suppress the source code of the imp.cpp file to hide the > implementation and perform a link only with its object file with > Dev-C++? > > Regards > Andr=E9 > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Carlos d. M. <cg...@wo...> - 2002-10-29 11:42:15
|
Go to www.mingw.org and see in documentation. Dev is the IDE for mingw compiler, which is the windows port of GCC. =3D?iso-8859-1?Q?Andr=3DE9=3D20Mac=3DE1rio?=3D Barros escribi=F3: > Gentlemen, > > Where can I download a .PDF manual of Dev-C++? Its environment, > tricks like include conio.o to make clrscr() works, put -lwsock32 in th= e > Project Options to run Tcp/Ip console programs under Win, insert break > commands in the GDB, run and make display commands of the variables to > follow step-by-step executions,...., things like that? > I've read some messages about an invitation to make a Dev-C++ > manual. Is it exist? A manual? > > Regards > Andr=E9 > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Carlos d. M. <cg...@wo...> - 2002-10-29 11:28:40
|
Or add a variable which says if you're nerd, a bad boy or a dummy, give i=
t a
value in the constructor, then each of those functions check first the va=
lue of
that variable, if it is what it is for it continues working,if not it ret=
urns
with a message, or not, or generates an exception.
Daniel Glenfield escribi=F3:
> Are you saying that you will create objects of the class, named Dummies=
,
> Nerds, and BadBoys and limit their access?
>
> I might suggest using overloaded constructors and setting a member vari=
able
> (a bool) to TRUE when used. For example, you have three overloaded
> constructors.
>
> any (DummyAccess =3D true);
> any (DummyAccess =3D true, NerdAccess =3D true);
> any (DummyAccess =3D true, NerdAccess =3D true, BadBoysAccess =3D true)=
;
>
> Then in the member functions
>
> void any::very_important_func3( any &ConstructedObject )
> {
> if (ConstructedObject.NerdAccess !=3D true)
> {
> return 0; // escape from the function
> }
> //... Do something
> }
>
> What about that?
>
> >From: Andr=E9 Mac=E1rio Barros <ama...@uo...>
> >To: Dev-C++ Mailing List <dev...@li...>
> >Subject: [Dev-C++] Off:Classes Access Restrictions
> >Date: Mon, 28 Oct 2002 23:06:15 -0200
> >
> >Gentelmen,
> >
> > Sorry about the off-topic question, but let me know if you can hel=
p:
> >
> > 1. Consider the following Class
> > Class any{
> > public:
> > any (int x=3D0, int y=3D0, int z=3D0);
> > void dummy_func1();
> > void not_so_dummy_func2();
> > void very_important_func3();
> > void only_for_bad_boys_func4();
> > private:
> > int x;
> > int y;
> > int z;
> > };
> >
> > 2. Let suppose 3 different groups of users (supose programmers):
> > "The dummies", "The Nerds", and "The Bad Boys"
> >
> > 3. I want to restrict the access to the public functions by group,
> >that is, dummies programs only accessing func1, nerds programs accessi=
ng
> >func1 to func3, and badboys programs accessing all the functions;
> >
> > 4. Is it possible do this, step 3, in C++?
> >
> > 5. If item 4 is possible, is it possible in Dev-C++? How?
> >
> >Regards
> >Andr=E9
> >
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Dev-cpp-users mailing list
> >Dev...@li...
> >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
> _________________________________________________________________
> Unlimited Internet access for only $21.95/month. Try MSN!
> http://resourcecenter.msn.com/access/plans/2monthsfree.asp
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Carlos d. M. <cg...@wo...> - 2002-10-29 11:26:28
|
If you compile the project you use the compiler options in the project, b= ut if you compile only the unit you're using the "general" compiler options: th= ose you have in tools->Compiler options. If you compile the project you are a= sking for compile c or c++, win32 GUI, etc. If you compile the unit you're usin= g the other, perhaps c or c++ and win32 console. What I imagine is that, although you should have a warning of undefined reference to WinMain@32, it compiled the unit as a console app, so when y= ou run it it creates at first a console, but after it works creating the win= dow. pr...@le... escribi=F3: > Hi list, > Now this is an absolute newbie question, quite befitting me. I've start= ed > dabbling with the black arts of C++ recently. Today, while writing a > windows application, I came across a strange situation. If I compile an= d > run just the unit (i.e. main.cpp) file on its own, I get a console wind= ow > running at the back of the application window. But if I compile the ent= ire > project (i.e. winapp.dev) then I don't get a console. Can someone expla= in > what lies in the project file that causes the console to disappear? > > This is not a commercial project that I'm working on, so it really isn'= t a > matter of whether I want the console or not, but rather WHAT causes the > console to appear in the first place. > > Any help appreciated. Thanks in advance. > > Pranav Negandhi > Software Engineering > Learnet India Limited, Mumbai. > Phone: 91-22-859 8042 Ext: 316 > http://www.learnetindia.com > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Daniel G. <sp...@ho...> - 2002-10-29 09:06:11
|
Are you saying that you will create objects of the class, named Dummies,
Nerds, and BadBoys and limit their access?
I might suggest using overloaded constructors and setting a member variable
(a bool) to TRUE when used. For example, you have three overloaded
constructors.
any (DummyAccess = true);
any (DummyAccess = true, NerdAccess = true);
any (DummyAccess = true, NerdAccess = true, BadBoysAccess = true);
Then in the member functions
void any::very_important_func3( any &ConstructedObject )
{
if (ConstructedObject.NerdAccess != true)
{
return 0; // escape from the function
}
//... Do something
}
What about that?
>From: André Macário Barros <ama...@uo...>
>To: Dev-C++ Mailing List <dev...@li...>
>Subject: [Dev-C++] Off:Classes Access Restrictions
>Date: Mon, 28 Oct 2002 23:06:15 -0200
>
>Gentelmen,
>
> Sorry about the off-topic question, but let me know if you can help:
>
> 1. Consider the following Class
> Class any{
> public:
> any (int x=0, int y=0, int z=0);
> void dummy_func1();
> void not_so_dummy_func2();
> void very_important_func3();
> void only_for_bad_boys_func4();
> private:
> int x;
> int y;
> int z;
> };
>
> 2. Let suppose 3 different groups of users (supose programmers):
> "The dummies", "The Nerds", and "The Bad Boys"
>
> 3. I want to restrict the access to the public functions by group,
>that is, dummies programs only accessing func1, nerds programs accessing
>func1 to func3, and badboys programs accessing all the functions;
>
> 4. Is it possible do this, step 3, in C++?
>
> 5. If item 4 is possible, is it possible in Dev-C++? How?
>
>Regards
>André
>
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
|
|
From: <pr...@le...> - 2002-10-29 05:24:49
|
Hi list, Now this is an absolute newbie question, quite befitting me. I've started dabbling with the black arts of C++ recently. Today, while writing a windows application, I came across a strange situation. If I compile and run just the unit (i.e. main.cpp) file on its own, I get a console window running at the back of the application window. But if I compile the entire project (i.e. winapp.dev) then I don't get a console. Can someone explain what lies in the project file that causes the console to disappear? This is not a commercial project that I'm working on, so it really isn't a matter of whether I want the console or not, but rather WHAT causes the console to appear in the first place. Any help appreciated. Thanks in advance. Pranav Negandhi Software Engineering Learnet India Limited, Mumbai. Phone: 91-22-859 8042 Ext: 316 http://www.learnetindia.com |
|
From: B. <ama...@uo...> - 2002-10-29 02:14:50
|
Gentlemen,
Where can I download a .PDF manual of Dev-C++? Its environment,
tricks like include conio.o to make clrscr() works, put -lwsock32 in the
Project Options to run Tcp/Ip console programs under Win, insert break
commands in the GDB, run and make display commands of the variables to
follow step-by-step executions,...., things like that?
I've read some messages about an invitation to make a Dev-C++
manual. Is it exist? A manual?
Regards
Andr=E9
|
|
From: B. <ama...@uo...> - 2002-10-29 02:11:44
|
Gentlemen,
1-Let Consider 3 files in a Project File:
-A header file, .h containing the interface of the class, that is,
the prototype of the functions, and even in-line functions;
-A imp.cpp containing the implementation of the functions of the
class presented in the header file; and
-A main.cpp containing the client program that instatiates a object
that makes use of the public functions specified in the header file.
2-Let suppose the project is running in the integrated environment of
Dev-C++;
3-How can I suppress the source code of the imp.cpp file to hide the
implementation and perform a link only with its object file with
Dev-C++?
Regards
Andr=E9
|
|
From: B. <ama...@uo...> - 2002-10-29 01:58:49
|
Gentelmen,
Sorry about the off-topic question, but let me know if you can help:
1. Consider the following Class
Class any{
public:
any (int x=3D0, int y=3D0, int z=3D0);
void dummy_func1();
void not_so_dummy_func2();
void very_important_func3();
void only_for_bad_boys_func4();
private:
int x;
int y;
int z;
};
2. Let suppose 3 different groups of users (supose programmers):
"The dummies", "The Nerds", and "The Bad Boys"
3. I want to restrict the access to the public functions by group,
that is, dummies programs only accessing func1, nerds programs accessing
func1 to func3, and badboys programs accessing all the functions;
4. Is it possible do this, step 3, in C++?
5. If item 4 is possible, is it possible in Dev-C++? How?
Regards
Andr=E9
|
|
From: B. <ama...@uo...> - 2002-10-29 01:43:37
|
Gentlemen, A long time ago, working with Borland Turbo C or Turbo C++, everytime I had a question about a command, printf, for example, or struct, what is it or how it is employed, I put the cursor bellow the command and pressed Cntrl-F1. A help window appeared telling me how to use, and in some cases, even a example. Is there any resource like this in Dev-C++? Regards |