dev-cpp-users Mailing List for Dev-C++ (Page 324)
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: P.D. v. Z. <pa...@my...> - 2003-08-27 19:22:12
|
And in what way is this a bug in the MingW (NOT Dev-C++, Dev-C++ is
_NOT_ a compiler, only an IDE) headers?
The C++ standard library files are extensionless, using the .h variant
is deprecated. The compiler should tell you this, as a warning, not an
error. The proper way to write what you had is:
#include <fstream> // Note, NO extension
int main()
{
// do something with the facilities provided by fstream, for
instance:
std::ofstream out("blah.txt");
out << "Howdy" << endl;
return 0;
}
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Mohamed
Iqbal
Sent: Wednesday, August 27, 2003 8:35 PM
To: Dev-Cpp-Users
Subject: [Dev-C++] Bug in dev-c++ header files
Hi...
Try to compile the following code using Dev-C++ 4.9.8.0.
#include <fstream.h>
int main()
{}
You will receive error!!!!!
Mohammed
-------------------------------------------------------
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://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Mohamed I. <ia...@jo...> - 2003-08-27 18:36:07
|
Hi...
Try to compile the following code using Dev-C++ 4.9.8.0.
#include <fstream.h>
int main()
{}
You will receive error!!!!!
Mohammed
|
|
From: medium <me...@se...> - 2003-08-27 18:21:27
|
Hy All ! I'm a new user. I'm a hungarian. Nice to meet you ! medium |
|
From: Mark L. W. <ma...@al...> - 2003-08-26 20:24:24
|
Hello all! I recently upgraded to Dev-C++ 4.9.8.1 Since then I have had problems with debugging a project that I am working on using wxWindows. I set a breakpoint and hit the debug button and the program never starts running. I can halt execution. If I try Debug--View CPU window, it locks up Dev-C++ with a recurring message box saying something like... timeout waiting for gdb response. Any thoughts? Thanks in advance! Mark Alpha II Service, Inc. 1312 Epworth Avenue Reynoldsburg, Ohio 43068 614 868-5033 (Voice) 617 812-5838 (Fax) |
|
From: P.D. v. Z. <pa...@my...> - 2003-08-26 20:12:47
|
Try http://msdn.microsoft.com/ .... you'll notice that there are tons of drawing functions in the Win32 API. I'd suggest finding some sort of tutorial on the subject as well though, since it might take a little learning before you get using the functions right. In particular, look for functions like: Rectangle() -- draws a rectagle (obviously) Ellipse() -- draws ellipses and circles FillRect() -- draws a filled rectangle MoveToEx() -- moves the current drawing position LineTo() -- draws a line from the current drawing position to the point specified Polygon() -- draws a polygon There are lots more drawing functions, but it would be a little redundant to list them all, if MSDN already provides an excellent resource (for MS specific things anyway... it sucks for the standard C and C++ libraries). Hope this helped, Paul -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of dein_metzger Sent: Tuesday, August 26, 2003 9:58 PM To: dev...@li... Subject: [Dev-C++] using M$-API do draw hi How can I draw rectangles, lines and circles using the win-32 API? Should I do this functions myself or M$ have did them? thanks in advance, --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 19/8/2003 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ 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: dein_metzger <dei...@ya...> - 2003-08-26 19:58:05
|
hi How can I draw rectangles, lines and circles using the win-32 API? Should I do this functions myself or M$ have did them? thanks in advance, --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 19/8/2003 |
|
From: w.y. <yok...@ve...> - 2003-08-26 19:35:07
|
"w.y." wrote: > > André Macário Barros wrote: > > > > /* p4.c */ > > ... > > 1-int x=16, *p; > > 2- > > 3-p=&x; > > 4-printf(%d\n, &*x); > > > - &* and *& cancel themselves > > Ignore what I said previously. I read it wrong. :) |
|
From: Zodiaq <zo...@ac...> - 2003-08-26 17:02:56
|
Hello Esteban and all Dev-C++ users, Monday, August 25, 2003, 3:45:13 PM, Esteban wrote as follows: EV> Hi, how can I do to redirect cerr in my programs to get all the errors in a EV> text file ? http://www.cplusplus.com/ref/iostream/ios/rdbuf.html -- regards, Zodiaq |
|
From:
<ten...@ne...> - 2003-08-26 16:31:56
|
For gcc go to http://www.mingw.org and search in documentation section. I downloaded some time ago the chm format help files, and I don't remember if they are in hlp too (if that matters you). No there are chm files or postscript or online. For win32 API, it seems that it's impossible to finde newer versions: all I found are always the same. I got the version 5.00.2180.1. And the other three I thought could be newer have no differences. The one at MingW is from 1999, I've just seen it now. Alexander Eberspächer wrote: >Hi list, > >i just found out about DevC++'s customizable Help-Menu - i really like >the feature of opening a help-file and searching in it after prssing F1. > >I'm currently searching for a Windows Help file (format: .hlp) >that offers help for all C++ keywords, the Standard Library, C++'s >headers and, if possible, the same for C in only one help file. >Until now, i have only been able to find The GNU C Library Reference >Manual for C version 0.1 (using vUdpdate), but nothing comparable for >C++. > >I also found a .hlp-file for the Win32 API, but that file is quite old >(1996), are there any other, newer files around? The file is titled by >"Microsoft® Win32® Programmer's Reference". I don't think the file i >already have offers help for the new API calls the newer Windows >versions introduced (they did do so, right?). > >I'd appreciate some help in this case of searching help ;-) > >Bye, Alex > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 >_______________________________________________ >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: Ioannis V. <iv...@em...> - 2003-08-26 14:41:12
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Andr? Macario Barros > Sent: Tuesday, August 26, 2003 6:52 AM > To: Dev-Cpp-Users > Subject: [Dev-C++] Addresses and Pointers >=20 >=20 > Dear Users, >=20 > Please consider the following codes: >=20 > /* p1.c */ > ... > 1-int x=3D16, *p; > 2- > 3-p=3D&x; > 5-printf(=93%p\n=94, *&p); I just got a headache. Let's skip the others and concentrate on the = point you ask. =20 > /* p4.c */ > ... > 1-int x=3D16, *p; > 2- > 3-p=3D&x; > 4-printf(=93%d\n=94, &*x); > ... > --->But p4.c isn=B4t working. The compiler is presenting the=20 > following error > message: > "Invalid type argument of =B4unary=B4" x is a variable of type int. This means, that the dereference operator * can't be applied to it. * can be applied only to pointers. Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net |
|
From: Ioannis V. <iv...@em...> - 2003-08-26 14:38:50
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Andr? Macario Barros
> Sent: Tuesday, August 26, 2003 6:30 AM
> To: Dev-Cpp-Users
> Subject: [Dev-C++] %d and %ld printf output formats
>=20
>=20
> Dear users,
>=20
> Please consider the following C code:
>=20
> ...
> int var=3D65534;
>=20
> 1- printf("%d\n", var);
> 2- var++;
> 3- printf("%d\n", var);
> 4- var*=3D1000;
> 5- printf("%d\n", var);
> 6- var++;
> 7- printf("%d\n", var);
> ...
>=20
> I though that above 65535 (or 32767!) I would need the %ld=20
> output format,
> but It wasn=B4t necessary.
%d specifies that the argument is of type int. The limits of type int =
are
implementation-specific. In this case you printf() the value of var =
which is
an int, so %ld shouldn't be used.
> Even in lines 5 and 7. I though the 2 complement would start=20
> presenting the
> complement values.
?
>=20
> Does anybody can explain what happend?
What was expected to happen. You printf() the stored values in decimal
format.
Ioannis Vranos
=20
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|
|
From: P.D. v. Z. <pa...@my...> - 2003-08-26 14:09:38
|
I think this has already been answered/discussed before, but anyway,
here goes:
#include <iostream>
#include <fstream>
int main()
{
std::ofstream out("somefile.txt");
std::streambuf* buf =3D out.rdbuf();
std::cerr.rdbuf(buf);
cerr << "This will get written to 'somefile.txt', instead of
stderr" << endl;
return 0;
}
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Esteban
Valverde
Sent: Monday, August 25, 2003 3:45 PM
To: dev...@li...
Subject: [Dev-C++] Redirection of standard error
Hi, how can I do to redirect cerr in my programs to get all the errors
in a=20
text file ?
thanks, Esteban
_________________________________________________________________
=BFEst=E1s buscando un auto nuevo? http://www.yupimsn.com/autos/
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
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: Hossein H. <ult...@em...> - 2003-08-26 13:30:58
|
Dear David,
> class A {
> public:
> virtual void do_xxx(void)
> {
> //code
> }
> }
>
> class A_derivative : public A
> {
> void do_xxx(void)
> {
> //Some other code.
> }
> }
>
> Assume I have a object of type A_derivative.
>
> If I want the code for do_xxx to call do_xxx in class A first the only option I seem to have is add A::do_xxx() as the first line in A_derivative::do_xxx
Yep, I think.
> I have a command class which contains a string as the key and a function pointer as the data. I am being told about using "command objects" that would handle the actual execution of the command. Does anyone have any experience in this and if so could you give some example code or point me to a tutorial. The concept seems useful I am getting stuck when it comes to implementing it (Should I overload the () operator?)
The best tuterial which has got free-to-download code as well is
"Modern C++ Design."
The following is its complete bibliography:
Alexandrescu A., Modern C++ Design: Generic Programming and
Design Patterns Applied, Addison-Wesley, 2001,
ISBN: 0-201-70431-5.
Regards,
--Hossein
--
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
|
|
From: w.y. <yok...@ve...> - 2003-08-26 05:36:50
|
André Macário Barros wrote: > > /* p4.c */ > ... > 1-int x=16, *p; > 2- > 3-p=&x; > 4-printf(%d\n, &*x); > - &* and *& cancel themselves > > --->But p4.c isn´t working. The compiler is presenting the following error > message: > "Invalid type argument of ´unary´" The way I read &*x is first x is dereferenced, so it becomes &16 and you cannot use the 'address of' operator & on a number, 16, so you get an error. |
|
From: w.y. <yok...@ve...> - 2003-08-26 05:28:43
|
André Macário Barros wrote:
>
> int var=65534;
>
> 1- printf("%d\n", var);
> 2- var++;
> 3- printf("%d\n", var);
> 4- var*=1000;
> 5- printf("%d\n", var);
> 6- var++;
> 7- printf("%d\n", var);
> ...
>
> I though that above 65535 (or 32767!) I would need the %ld output format,
> but It wasn´t necessary.
int has been 32 bits for some time now. :)
Try setting var to 0x7FFFFFFF and you will see what you
expected.
|
|
From: <al...@ne...> - 2003-08-26 05:00:04
|
Hi list, i just found out about DevC++'s customizable Help-Menu - i really like the feature of opening a help-file and searching in it after prssing F1. I'm currently searching for a Windows Help file (format: .hlp) that offers help for all C++ keywords, the Standard Library, C++'s headers and, if possible, the same for C in only one help file. Until now, i have only been able to find The GNU C Library Reference Manual for C version 0.1 (using vUdpdate), but nothing comparable for C++. I also found a .hlp-file for the Win32 API, but that file is quite old (1996), are there any other, newer files around? The file is titled by "Microsoft® Win32® Programmer's Reference". I don't think the file i already have offers help for the new API calls the newer Windows versions introduced (they did do so, right?). I'd appreciate some help in this case of searching help ;-) Bye, Alex |
|
From: <and...@su...> - 2003-08-26 03:52:09
|
Dear Users, Please consider the following codes: /* p1.c */ ... 1-int x=16, *p; 2- 3-p=&x; 5-printf(%p\n, *&p); ... /* p2.c */ ... 1-int x=16, *p; 2- 3-p=&x; 5-printf(%d\n, &*p); ... /* p3.c */ ... 1-int x=16, *p; 2- 3-p=&x; 4-printf(%p\n, *&x); ... /* p4.c */ ... 1-int x=16, *p; 2- 3-p=&x; 4-printf(%d\n, &*x); ... Theese pieces of code were presented to show the relashionship between: -&x/p and x/*p -hexadecimal conversion from one value to another (%p and %d) - &* and *& cancel themselves --->But p4.c isn´t working. The compiler is presenting the following error message: "Invalid type argument of ´unary´" Regards Andre |
|
From: <and...@su...> - 2003-08-26 03:30:54
|
Dear users,
Please consider the following C code:
...
int var=65534;
1- printf("%d\n", var);
2- var++;
3- printf("%d\n", var);
4- var*=1000;
5- printf("%d\n", var);
6- var++;
7- printf("%d\n", var);
...
I though that above 65535 (or 32767!) I would need the %ld output format,
but It wasn´t necessary.
Even in lines 5 and 7. I though the 2 complement would start presenting the
complement values.
Does anybody can explain what happend?
Regards
Andre
|
|
From: P.D. v. Z. <pa...@my...> - 2003-08-26 01:01:35
|
In your travels on the Microsoft website, did you also come across http://msdn.microsoft.com/ ? That's the place to look for such information... being the "MicroSoft Developer Network". There you can find out all about the Win32 API (which is the name for most of those MS DLLs and functions), and much more. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Michael D. Smith Sent: Tuesday, August 26, 2003 2:47 AM To: dev...@li... Subject: [Dev-C++] Where is that documentation? Was Which way is best to pause a console window? I'm not a very new beginner (not an old pro but not "very" new either:) and I also do not know where to find "complete" documentation of the libraries, and especially the M$ DLL's and their functions, methods, objects whatever they're called this week in this setting. I know the Micro$oft stuff is on their website, I've been there, I've read for hours, maybe days, I can't find it. Give me a URL :) For instance, how is a virtual folder (Recycle bin is one) accessed. I've seen unlink (which is I believe a UNIX function and might not be portable anyway), but most Windows users expect deleted files not to go away but to go to the recycle bin. It's in user32.dll and the function is GetDesktopHandle ( I think:) but "complete" documentation of how to make use of those disjointed facts still eludes me. And of course not just that. I want access to everything :) Any help appreciated. ms >From: "Eric Churches" <ec...@ih...> >To: <dev...@li...> >X-Mailer: Microsoft Outlook, Build 10.0.4510 >Importance: Normal >X-Spam-Score: 0.2 (/) >X-Spam-Report: 0.2/5.0 > This mail is probably spam. The original message has been attached > along with this report, so you can recognize or block similar > unwanted > mail in future. See http://spamassassin.org/tag/ for more details. > Content preview: Here is my code #include <stdio.h> int main() { > printf > (" My first program in Dev c++.\n"); return 0; } [...] > Content analysis details: (0.20 points, 5 required) > FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers > IN_REP_TO (-0.5 points) Has a In-Reply-To header >Subject: [Dev-C++] Which way is best to pause a console window? >Sender: dev...@li... >X-BeenThere: dev...@li... >X-Mailman-Version: 2.0.9-sf.net >List-Help: <mailto:dev...@li...?subject=help> >List-Post: <mailto:dev...@li...> >List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, > ><mailto:dev...@li...?subject=subscribe> >List-Id: Dev-C++ users mailing list ><dev-cpp-users.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, > ><mailto:dev...@li...?subject=unsubscribe >> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users> >X-Original-Date: Tue, 26 Aug 2003 10:09:18 +1200 >Date: Tue, 26 Aug 2003 10:09:18 +1200 >X-Note: This E-mail was scanned for spam. >X-RCPT-TO: <for...@hi...> > > >Here is my code > >#include <stdio.h> >int main() >{ >printf (" My first program in Dev c++.\n"); > > >return 0; >} > >also in dev c++ how do you learn about those libraries, stdio.h, >iostream etc? Is it in the help files? Using dev c++ 4.9.8.1 > >Very new beginner > >Thanks for all your help :) > >Eric > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003 > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 >_______________________________________________ >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: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Michael D. S. <for...@hi...> - 2003-08-26 00:48:28
|
I'm not a very new beginner (not an old pro but not "very" new either:) and I also do not know where to find "complete" documentation of the libraries, and especially the M$ DLL's and their functions, methods, objects whatever they're called this week in this setting. I know the Micro$oft stuff is on their website, I've been there, I've read for hours, maybe days, I can't find it. Give me a URL :) For instance, how is a virtual folder (Recycle bin is one) accessed. I've seen unlink (which is I believe a UNIX function and might not be portable anyway), but most Windows users expect deleted files not to go away but to go to the recycle bin. It's in user32.dll and the function is GetDesktopHandle ( I think:) but "complete" documentation of how to make use of those disjointed facts still eludes me. And of course not just that. I want access to everything :) Any help appreciated. ms >From: "Eric Churches" <ec...@ih...> >To: <dev...@li...> >X-Mailer: Microsoft Outlook, Build 10.0.4510 >Importance: Normal >X-Spam-Score: 0.2 (/) >X-Spam-Report: 0.2/5.0 > This mail is probably spam. The original message has been attached > along with this report, so you can recognize or block similar > unwanted > mail in future. See http://spamassassin.org/tag/ for more details. > Content preview: Here is my code #include <stdio.h> int main() { > printf > (" My first program in Dev c++.\n"); return 0; } [...] > Content analysis details: (0.20 points, 5 required) > FROM_ENDS_IN_NUMS (0.7 points) From: ends in numbers > IN_REP_TO (-0.5 points) Has a In-Reply-To header >Subject: [Dev-C++] Which way is best to pause a console window? >Sender: dev...@li... >X-BeenThere: dev...@li... >X-Mailman-Version: 2.0.9-sf.net >List-Help: <mailto:dev...@li...?subject=help> >List-Post: <mailto:dev...@li...> >List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, > ><mailto:dev...@li...?subject=subscribe> >List-Id: Dev-C++ users mailing list <dev-cpp-users.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, > ><mailto:dev...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users> >X-Original-Date: Tue, 26 Aug 2003 10:09:18 +1200 >Date: Tue, 26 Aug 2003 10:09:18 +1200 >X-Note: This E-mail was scanned for spam. >X-RCPT-TO: <for...@hi...> > > >Here is my code > >#include <stdio.h> >int main() >{ >printf (" My first program in Dev c++.\n"); > > >return 0; >} > >also in dev c++ how do you learn about those libraries, stdio.h, iostream >etc? Is it in the help files? Using dev c++ 4.9.8.1 > >Very new beginner > >Thanks for all your help :) > >Eric > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003 > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 >_______________________________________________ >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: Eric C. <ec...@ih...> - 2003-08-25 22:10:32
|
Here is my code
#include <stdio.h>
int main()
{
printf (" My first program in Dev c++.\n");
return 0;
}
also in dev c++ how do you learn about those libraries, stdio.h, iostream
etc? Is it in the help files? Using dev c++ 4.9.8.1
Very new beginner
Thanks for all your help :)
Eric
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003
|
|
From: Esteban V. <est...@ho...> - 2003-08-25 18:20:30
|
I´m sorry for not check the old mails first. Thanks P.D., it works well
fine.
Esteban
----- Original Message -----
From: "P.D. van Zelst" <pa...@my...>
To: "'Esteban Valverde'" <est...@ho...>;
<dev...@li...>
Sent: Monday, 25 August, 2003 14:03
Subject: RE: [Dev-C++] Redirection of standard error
I think this has already been answered/discussed before, but anyway,
here goes:
#include <iostream>
#include <fstream>
int main()
{
std::ofstream out("somefile.txt");
std::streambuf* buf = out.rdbuf();
std::cerr.rdbuf(buf);
cerr << "This will get written to 'somefile.txt', instead of
stderr" << endl;
return 0;
}
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Esteban
Valverde
Sent: Monday, August 25, 2003 3:45 PM
To: dev...@li...
Subject: [Dev-C++] Redirection of standard error
Hi, how can I do to redirect cerr in my programs to get all the errors
in a
text file ?
thanks, Esteban
_________________________________________________________________
¿Estás buscando un auto nuevo? http://www.yupimsn.com/autos/
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
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: William Mc C. <WIL...@ms...> - 2003-08-25 16:27:02
|
Hi Guys:
Has anyone used C/C++ to build/access/update VSAM datasets? These are=
KSDS datasets that were created using a mainframe assemble language on =
the PC. There are 3 alternate index's for each of 4 files.
If necessary I can always convert the files to DB2 with no problems. =
Has anyone used DB2 (XDB) under C/C++? =20
I would stay with the mainframe language but I want to use the WINAPI=
capabilities of C/C++.
Everyone have a nice day. Thanks!
|
|
From: Esteban V. <est...@ho...> - 2003-08-25 14:02:36
|
Hi, how can I do to redirect cerr in my programs to get all the errors in a text file ? thanks, Esteban _________________________________________________________________ ¿Estás buscando un auto nuevo? http://www.yupimsn.com/autos/ |
|
From: Per W. <pw...@ia...> - 2003-08-24 22:22:51
|
#1 Is this a question or a statement?
#2 "I am being told..." as in a school assignment? What about googling
about the specific term, or maybe oogling through some reference
litterature?
/Per W
On Sun, 24 Aug 2003, David McKen wrote:
> #1
> Assume the following definitions:
>
> class A {
> public:
> virtual void do_xxx(void)
> {
> //code
> }
> }
>
> class A_derivative : public A
> {
> void do_xxx(void)
> {
> //Some other code.
> }
> }
>
> Assume I have a object of type A_derivative.
>
> If I want the code for do_xxx to call do_xxx in class A first the only option I seem to have is add A::do_xxx() as the first line in A_derivative::do_xxx
>
> #2
> I have a command class which contains a string as the key and a function pointer as the data. I am being told about using "command objects" that would handle the actual execution of the command. Does anyone have any experience in this and if so could you give some example code or point me to a tutorial. The concept seems useful I am getting stuck when it comes to implementing it (Should I overload the () operator?)
>
> Thanks.
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
|