dev-cpp-users Mailing List for Dev-C++ (Page 239)
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: Eric R. <eri...@cl...> - 2004-03-15 22:23:43
|
ididnotshoutbutifyousaidididthenimustof ----- Original Message Follows ----- > 1: Please don't SHOUT your messages to the list. > > 2: Please read other messages in the list before posting - > there are more than one user on the list who get these > kinf of response mails now, because someone on the list > has a virus, or someone have scanned all email addresses > on the list. > > 3: Please realize that it isn't the LIST who sends back > the virus waring responses. Whoever have the virus posts > mails to the list with false 'from' address, and the list > then forwards these mails. The response from any receiver > are then sent back to the list and to forged senders. > > 4: Please contact the site that sent back the notice, and > request to get a copy of the full header of the original > mail. With this header, the machine with the virus may be > traced. > > 5: One more: Calm down. Don't SCREAM to the list! Assume > that there are 500 participants in the list. If one of > them are guilty, that means you scream at 499 innocent > people! That is rude. > > /Per W > > On Tue, 16 Mar 2004, Eric Richards wrote: > > > I HAVE NOT SENT ANY ATTACHMENTS TO THE GROUP. > > > > > > SO IT IS NOT ME, PLEASE DO NOT CALL IT "YOUR EMAIL" > > > > =a0 > > > > > > =a0 > > ----- Message Forwarded on Tue 16/3/2004 ----- > > From: Adm...@ol... > > To: dev...@li... > > Subject: [Dev-C++] Email Quarantined > > Date: Mon, 15 Mar 2004 13:31:03 +0200 > > The Mail Firewall has intercepted and quarantined your > > email which caused the Content filter,'extension > > Blocking' (.exe; .vbe. vb, .vbs etc),to be triggered. > > The destination domain/server does not allow this type > of extension. > > > Message: BA01777df4.00000001.mml > > From: dev...@li... > > To: 3do...@ex... > > Subject: Re: Your product > > > > > > ------------------------------------------------------- > > This SF.Net email > |
|
From: Eric R. <eri...@cl...> - 2004-03-15 21:20:03
|
I HAVE NOT SENT ANY ATTACHMENTS TO THE GROUP. SO IT IS NOT ME, PLEASE DO NOT CALL IT "YOUR EMAIL" =a0 =a0 ----- Message Forwarded on Tue 16/3/2004 ----- From: Adm...@ol... To: dev...@li... Subject: [Dev-C++] Email Quarantined Date: Mon, 15 Mar 2004 13:31:03 +0200 The Mail Firewall has intercepted and quarantined your email which caused the Content filter,'extension Blocking' (.exe; .vbe. vb, .vbs etc),to be triggered. The destination domain/server does not allow this type of extension. Message: BA01777df4.00000001.mml From: dev...@li... To: 3do...@ex... Subject: Re: Your product |
|
From: Maik H. <mai...@gm...> - 2004-03-15 19:59:04
|
Hello DevC users, I recently decided to update MingW to version 3.3.1. Unfortenately I didn't succeed yet, so I beg your help and knowledge. My DevC version resides at C:\Programme\Dev-Cpp (version 4.9.8.7). I downloaded core, g++ and binutils from www.mingw.org and put everything of it at C:\Programme\Dev-Cpp\MingW331. I tried my best to edit the compiler options and folders within DevC compiler configuration, but I constantly got errors. Example: Compile log: Compiler: MingW 3.3.1 Building Makefile: "C:\CPlusPlus\SkinSelector\Makefile.win" Führt make clean aus rm -f MainSource.o SkinSelector.exe g++.exe -c MainSource.cpp -o MainSource.o -I"C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/backward" -I "C:/Programme/Dev-Cpp/Mingw331/include" -I"C:/Programme/Dev-Cpp/Mingw331/inc lude/c++/3.3.1" -I"C:/Programme/Dev-Cpp/Mingw331/include/c++" -I"C:/Programm e/Dev-Cpp/include" In file included from c:/Programme/Dev-Cpp/MingW331/include/c++/3.3.1/mingw32/bits/c++io.h:35, from C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/bits/fpos.h:44, from C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/iosfwd:49, from C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/ios:44, from C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/ostream:45, from C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/iostream:45, from MainSource.cpp:4: C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:168: error: `vfscanf' not declared C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:169: error: `vscanf' not declared C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:171: error: `vsscanf' not declared C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:178: error: `vfscanf' not declared C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:179: error: `vscanf' not declared C:/Programme/Dev-Cpp/Mingw331/include/c++/3.3.1/cstdio:181: error: `vsscanf' not declared make.exe: *** [MainSource.o] Error 1 Ausführung beendet Would someone be so kind and tell me what the problem is? Any package(s) missing? May be you could tell me your pathnames and provide screenshots of you DevC compiler configuration screen (only if you use MingW 3.3.1, of course). Thanks Maik Himstedt |
|
From: Frank W. <F.W...@wi...> - 2004-03-15 16:39:00
|
Hello, I go on with this thred because the my problem that the pathes in the Compiler Obtions are not the same as these in the makefile. I reinstalled Dev-Cpp and the problem is still existing. I work under Windows 2000 with Dev-Cpp 4.9.8.0 but happened also with the most recent version. I attach the devcpp.cfg, the devcpp.ini, the makefile.win and a screenshot of my path settings for example. I really hope somebody can help me because I can't compile any of my projects. Thanks in advance Frank >>> "Mats Lidstrom" <mat...@to...> 19.02.2004 20:49:44 >>> How does your devcpp.cfg look like? Is it correct? /M |
|
From: Per W. <pw...@ia...> - 2004-03-15 15:11:21
|
Someone on this list has a virus - or someone have ripped all email addresses on this list. The guilty machine sends out these mails while specifying a forged 'from' address taken from the list. You are not the only one affected. The last week I have received a number of bounces, spam warnings and virus warnings. All the time claiming that I was the original sender. I am pretty sure that a lot of other people on this list have seen the same phenomenon. Since no bounce or warning have ever contained the IP of the original sender, it is very hard to pinpoint the guilty machine. I have sent out three requests for full header information, but not received any answer. /Per W EMA System email: pw...@ia... Per Westermark web: http://iapetus.neab.net Vargvaegen 174B phone: +46 70 214 74 48 S-906 42 Umeaa Sweden On Mon, 15 Mar 2004, Roger Chrispim wrote: > Dear friend, > > I did not send such mail (with attached files), so excuse me for the situ= ation. > I would say that someone is using my mail. If possible, please send his/h= er IP > address in order to try to find the intruder. > > Thank you for your help > > Roger > > PS.: I am user of Dev Cpp lists but I do not know Old Mutual. > As I am sure the person who did this is receiving this mail, I would ask = gently > to stop playing this game. In such way, nobody will gain... Tks > > > > C=F3pia Adm...@ol...: > > > The Mail Firewall has intercepted and quarantined your > > email which caused the Content filter,'extension Blocking' > > (.exe; .vbe. vb, .vbs etc),to be triggered. The destination > > domain/server > > does not allow this type of extension. > > > > Message: BA01777df4.00000001.mml > > From: dev...@li... > > To: 3do...@ex... > > Subject: Re: Your product > > > > Roger Chrispim > +55.12.3949 2041 > rc...@ic... > > ------------------------------------------ > Mensagem enviada atraves do WebMail ICONet > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > 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: Roger C. <rc...@ic...> - 2004-03-15 14:25:56
|
Dear friend, I did not send such mail (with attached files), so excuse me for the situation. I would say that someone is using my mail. If possible, please send his/her IP address in order to try to find the intruder. Thank you for your help Roger PS.: I am user of Dev Cpp lists but I do not know Old Mutual. As I am sure the person who did this is receiving this mail, I would ask gently to stop playing this game. In such way, nobody will gain... Tks Cópia Adm...@ol...: > The Mail Firewall has intercepted and quarantined your > email which caused the Content filter,'extension Blocking' > (.exe; .vbe. vb, .vbs etc),to be triggered. The destination > domain/server > does not allow this type of extension. > > Message: BA01777df4.00000001.mml > From: dev...@li... > To: 3do...@ex... > Subject: Re: Your product Roger Chrispim +55.12.3949 2041 rc...@ic... ------------------------------------------ Mensagem enviada atraves do WebMail ICONet |
|
From: Andres R. <lo...@ho...> - 2004-03-15 13:43:57
|
> Hi, > > Can I use fork() in Dev C++ on windows? I installed it > on windows and I cannot run simple program with fork. No. Windows does not support fork directly. You must do some code porting to make it work. (fork->CreateProcess I think..) > > I have absolutely no idea how to run. I know i can > download cygwin or mingw, but not sure whether that > will enable running programs with sockets and fork() > processes. Cygwin can compile your program without modifications. But then again, one must have cygwin1.dll in the system in order to run that program. Oh, and sockets need also some porting magic ;) > Regards, > Tejas Kokje > University of Southern California > Regards, Andres Rand |
|
From: <Adm...@ol...> - 2004-03-15 11:31:11
|
The Mail Firewall has intercepted and quarantined your email which caused the Content filter,'extension Blocking' (.exe; .vbe. vb, .vbs etc),to be triggered. The destination domain/server does not allow this type of extension. Message: BA01777df4.00000001.mml From: dev...@li... To: 3do...@ex... Subject: Re: Your product |
|
From: <Fra...@Rh...> - 2004-03-15 02:15:26
|
Ich werde ab 13.03.2004 nicht im B=FCro sein. Ich kehre zur=FCck am 31.03.2004. Ich werde Ihre Nachrichten nach meiner R=FCckkehr bearbeiten. = |
|
From: Tim S. <ti...@we...> - 2004-03-15 02:14:56
|
Hi Claudio, you wrote, > anyway I wanted to ask you if I could make this in C++ of course you can do and its realy simple, all you need is a cgi-bin directory from your webhosting provider put your programm in this dir and set it executeable. Since most internet- provider have linux servers you need to compile it under linux, if you don't have installed linux and dont want to you can try Knoppix, a distribution which can be booted from CD, the URL where you can download a image is www.knopper.net. For programming an CGI there is a nice tutorial at http://www.coding-zone.co.uk/cpp/cgi/170401cgicpp.shtml hth Tim -- > Und wer als Root browst, gehoert eh | http://we-are-teh-b.org/~tim/borg.key > in Honig getunkt, in Wollfaeden gewaelzt | http://learn.to/quote > und im Streichelzoo ausgesetzt... | http://discworld.kicks-ass.org rockshop auf heise.de |
|
From: David M. <ci...@ya...> - 2004-03-14 18:55:46
|
Do you have cgi-bin access?
if yes
do you have shell access or know what O.S. the server runs?
if yes
Yes you can, look for a tutorial on cgi-bin programming.
else
Probably, You might want to use perl instead since you won't
have to
compile anything.
else
Probably not, try an online service for this.
----- Original Message -----
From: "Claudio Martn Veas" <cm...@ya...>
To: <dev...@li...>
Sent: Sunday, March 14, 2004 1:13 PM
Subject: [Dev-C++] (no subject)
> Hello Im newbie on c and c++ and Im also learning java
> and I wanted to make a web page with a friend and I
> wanted to make a visit counter(or is it hit counter?),
> anyway I wanted to ask you if I could make this in C++
> and If you knew where to get some help of the subject.
> Thanks
> Claudio Veas
> Excuse my english is not so good as it used to be
>
> ------------
> Los mejores usados y las más tentadoras
> ofertas de 0km están en Yahoo! Autos.
> Comprá o vendé tu auto en
> http://autos.yahoo.com.ar
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO
of
> GenToo technologies. Learn everything from fundamentals to system
>
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
|
|
From: <cm...@ya...> - 2004-03-14 18:13:16
|
Hello Im newbie on c and c++ and Im also learning java and I wanted to make a web page with a friend and I wanted to make a visit counter(or is it hit counter?), anyway I wanted to ask you if I could make this in C++ and If you knew where to get some help of the subject. Thanks Claudio Veas Excuse my english is not so good as it used to be ------------ Los mejores usados y las más tentadoras ofertas de 0km están en Yahoo! Autos. Comprá o vendé tu auto en http://autos.yahoo.com.ar |
|
From: Daniel G. <sp...@ho...> - 2004-03-14 12:57:44
|
you could do
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
cout << "Hello World!" << endl;
int Number;
cout << "Type a number and hit ENTER" << endl;
cin >> Number;
cout << "\nThe number is " << Number << endl;
return 0;
}
>From: "faramarz yari" <far...@ho...>
>To: Dev...@li...
>Subject: [Dev-C++] cin & cout?
>Date: Sun, 14 Mar 2004 12:38:00 +0000
>
>i want to know how i can use clasee iostream.h,
>for exp : CIN & COUT in my dev cpp?
>
>_________________________________________________________________
>Add photos to your e-mail with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
|
|
From: Tim S. <ti...@we...> - 2004-03-14 12:54:10
|
Hi Faramarz, you wrote: > i want to know how i can use clasee iostream.h, > for exp : CIN & COUT in my dev cpp? First in the actual C++ standard the standard headers are only written by their name and not with a .h, so you have to do #include <iostream> The next point is, that all standard classes reside in the std-namespace so you have to write std::cout or std::cin. But you can tell your compiler to always use a specific namespace with use namespace <yournamespace>; hth Tim --=20 http://we-are-teh-b.org/~tim/borg.key http://learn.to/quote |
|
From: faramarz y. <far...@ho...> - 2004-03-14 12:38:07
|
i want to know how i can use clasee iostream.h, for exp : CIN & COUT in my dev cpp? _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: Siva C. <siv...@ya...> - 2004-03-14 06:57:11
|
oops... I missed your mail!! ===== Siva Chandra B-Tech, Electrical Engineering, IIT Madras. Currently pursuing MS by research at IIIT, Hyderabad visit www.geocities.com/sivachandra_br __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com |
|
From: Siva C. <siv...@ya...> - 2004-03-14 06:54:42
|
hello, --- Eddie Diener <edd...@tr...> wrote: > Is there a way of running gcc separately from the > command line ? Add the ..\Dev-Cpp\bin directory path to the autoexec.bat(or its equivalent) file and restart your system. Then you can use all the executables in the ..\Dev-Cpp\bin directory from any other folder through the command line. > Is there any way to determine what > version of MingW and gcc are part of Dev-cpp ? gcc -v at the command line would give the gcc version number. There should be something similar for other MingW executables. > Can > the version of MingW/gcc be updated for a particular > version of Dev-cpp or does each version of Dev-cpp > essentially use only a single version of Mingw/gcc ? never tried but I think you can update the files in the ..\Dev-Cpp\bin directory keeping in mind the issue of version compatibility. (kindly suggest if there are better ways of doing things) Siva Chandra __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com |
|
From: Tim S. <ti...@we...> - 2004-03-14 06:28:56
|
Hi Eddie, you have writte: > Is there a way of running gcc separately from the command line? Of course this is possible, just Add $DEV-CPP-DIR\bin, $DEV-CPP-DIR\include and $DEV-CPP-DIR\lib to your PATH. > Is there any way to determine what version of MingW and gcc are part > of Dev-cpp?=20 Not that I know. Most GNU Programms can be called with the -v parameter to tell you what version it is. > Can the version of MingW/gcc be updated for a particular version of > Dev-cpp or does each version of Dev-cpp essentially use only a single > version of Mingw/gcc? You can just overwrite the old executeables, like gcc or g++, but beware that some Dev-Packs might not work with a newer Version of GCC (I have here wxWidgets in Mind). Btw, I'm using only the pure Dev-C++ files without GNU toolchain because I maintain my own MinGW installation. greetings Tim --=20 http://we-are-teh-b.org/~tim/borg.key http://learn.to/quote |
|
From: Eddie D. <edd...@tr...> - 2004-03-14 05:03:29
|
Is there a way of running gcc separately from the command line ? Is = there any way to determine what version of MingW and gcc are part of = Dev-cpp ? Can the version of MingW/gcc be updated for a particular = version of Dev-cpp or does each version of Dev-cpp essentially use only = a single version of Mingw/gcc ? |
|
From: Eddie D. <edd...@tr...> - 2004-03-14 04:59:54
|
After updating to the latest 4.9.8.7 version, I notice that the help = file did not change and is still woefully incomplete. Are any attempts = being made to update the help file ? Having many help file sections = saying "to be implemented' is not a successful way to promote a product. |
|
From: Tejas K. <t4...@ya...> - 2004-03-13 21:47:07
|
Hi, Can I use fork() in Dev C++ on windows? I installed it on windows and I cannot run simple program with fork. I have absolutely no idea how to run. I know i can download cygwin or mingw, but not sure whether that will enable running programs with sockets and fork() processes. Regards, Tejas Kokje University of Southern California __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com |
|
From: Michael S. <mic...@nu...> - 2004-03-13 17:34:06
|
Hi, =20 I=B4ve al little basic questions concerning static libs (.dll or .so). The apps link with an import library which on runtime dynamically = imports the functions from the dll, don=B4t they. The main thing I=B4d to know is that I=B4ve heard of multiple apps = sharing the same .dll if appropriate. So if I have global vars in the .dll code, are they shared among all apps linking to the .dll, or does every app have it=B4s = own "copy" of the data inside the .dll? In my example I=B4ve apps linking with the wx GUI library dynamically. = Some of them use plugin .dlls which themselvbes link dynamically against wx. wx has globals in it, and I=B4ve noticed that the plugins can work and = call wx functions without problems. But if I had multiple wx apps running at once they would interfere with = each other... Could someone explain this basics to me a bit? =20 thanks for your help =20 Michael Stather |
|
From: Doug M. <dou...@al...> - 2004-03-12 21:13:47
|
Hi Paul,
If it's not proprietary, may I see the Singleton class template
definition from which you derive your singleton classes? I'd be
interested to try to convince my client to switch to a better
implementation.
Doug
> Eek! You still seem to be having a bad implementation of Singleton.
> My Singleton classes are derived from a Singleton utility class
> template as well, but I have none of that ugliness in my code. I do
> need a different bit of ugly though, a friend declaration, but that
> seems a lot better than pointer offsets and the like. The only extra
> thing I need to do in the derived classes is declare my constructor,
> destructor, copy constructor and assignment operator as something
> non-public (along with not implementing the copy constructor and
> assignment operator, to catch attempted accidental copying).
>
> Regards,
>
>
> Paul
>
> P.S.: I didn't actually write the Singleton class template I use
> myself, I found it on the internet somewhere a while ago. Later I
> found an apparently much better implementation, but I still don't
> understand the bulk of the code involved in that one, let alone how
> to use it.
>
> -----Original Message-----
>
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Doug
> MacDonald Sent: Friday, March 12, 2004 6:06 AM To:
> dev...@li... Subject: Re: [Dev-C++] Re: Design
> decision in C++
>
> Per,
>
> I understand now. You all have been talking about taking a regular
> class and adding code to it to make it a singleton. My expressed
> ambivalence is toward something a bit different - it's a Singleton
> utility, so to speak. Below is what I am referring to. The idea is
> that you implement the Singleton behavior once and for all, as a
> template, then any class can become a singleton by inheriting from it
> as
>
> class Klass : public Singleton<Klass> { ... }
>
> It's in making it work in general, through inheritance, that the
> ugliness I spoke of is introduced.
>
> --Doug
>
> #ifndef __SINGLETON_H__INCLUDED__ #define __SINGLETON_H__INCLUDED__
>
> #include <assert.h>
>
> template <typename Type> class Singleton { protected: static Type *
> ms_pInstance;
>
> public: // Constructor // The Singleton construct takes care of
> assinging a // value to the // instance pointer. Since this class'
> child may have // more than one // parent, we have to do some pointer
> math to figure out // the correct // address for the child class
> Singleton () { assert (!ms_pInstance); int iOffset = (int)(Type *)1 -
> (int)(Singleton<Type> *)(Type *)1; ms_pInstance = (Type *)((int)this
> + iOffset); }
>
> // Destructor virtual ~Singleton () { assert (ms_pInstance);
> ms_pInstance = 0; }
>
> // Instance // Returns a reference to the singleton static Type &
> Instance () { assert (ms_pInstance); return (*ms_pInstance); }
>
> // InstancePtr // Returns a pointer to the singleton static Type *
> InstancePtr () { assert (ms_pInstance); return ms_pInstance; }
>
> // HasBeenInstantiated // Returns true if the class has been
> instantiated static bool HasBeenInstantiated () { return (NULL !=
> ms_pInstance); } };
>
> template <typename Type> Type * Singleton<Type>::ms_pInstance = 0;
>
> #endif // __SINGLETON_H__INCLUDED__
>
>
>>> I haven't looked at any Singleton<DataType> class doing any
>>> instance pointer offset hack.
>>>
>>> The sample code I sent for a singleton object was just a very
>>> fiew lines of manually added code to the class in question. 100%
>>> valid C++ without any typecasts.
>>>
>>> /Per W
>>>
>>> On Thu, 11 Mar 2004, Doug MacDonald wrote:
>>>
>>>
>>
>>>>>>> Per and Kevin,
>>>>>>>
>>>>>>> Thanks for your advice.
>>>>>>>
>>>>>>> My ambivalence wrt the Singleton<DataType> class is in
>>>>>>> part due to the instance pointer offset hack, which seems
>>>>>>> to introduce a risk of implementation dependency: are
>>>>>>> base and derived classes always included in a standard
>>>>>>> order with offsets that never vary from compiler to
>>>>>>> compiler?. Further, the instance pointer adjustment
>>>>>>> involves pointer <-> int casts that are a bit ugly,
>>>>>>> despite the elegance of Singleton as seen from the
>>>>>>> outside.
>>>>>>>
>>>>>>> But I take your points as to the limited desirability of
>>>>>>> fully static classes.
>>>>>>>
>>>>>>> (I guess declaring a top-level static _instance_ of a
>>>>>>> class is a different matter, and is useful, e.g., when
>>>>>>> there is no C++ main routine, as was the case in a former
>>>>>>> project of mine at my last employer.)
>>>>>>>
>>>>>>> --Doug
|
|
From: <gen...@ya...> - 2004-03-12 13:34:16
|
at least, when i hit 'reply' now, Yahoo! mail gives me an empty text field. the point is not to avoid having mails. the point is that so much unecessary information gets passed around with all the replying done in here. 'this sf.net mail is...' might occur up to 5 or more times in a single mail, and that positively sucks. about the shellexecute() thing, you need to know the path to the file (i almost said windows executable, but shellexecute can also open documents), or it should exist in your path, and the name of the file you want to open. shellexecute() can also run urls (i believe i once did this too). --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |
|
From: <gen...@ya...> - 2004-03-12 13:29:50
|
it's really easy. use ShellExecute()/ShellExecuteInfo() (defined in shellapi.h) to run programs. i think it works with registered windows programs, so it's like Start -> Run... i used it to run my favorite emulators once from a menu :D --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |