dev-cpp-users Mailing List for Dev-C++ (Page 576)
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: <jp...@bo...> - 2002-06-07 01:23:31
|
Rob, I didn't got any error message when I tried to compile and
run your program. By the way, I'm working with an Athlon
800MHz/WinXP/DevCpp 4.9.3.0.
Juliano
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of rchavez
Sent: quinta-feira, 6 de junho de 2002 19:08
To: dev...@li...
Subject: [Dev-C++] short integer problem
Hi,
While trying a problem from my text 'A Book on C' I ran into some
strange behavior for short integers. If I use integers, the program
below reads them in & performs the arithmetic correctly. But if I
change line 3 so the variables are of type short, the value of x is
always 0 !!
I've played with it a lot but can't find the problem. Any help would be
appreciated. Also, notice that the scanf for var ss at the bottom
always works. It's not a gcc bug since I get the same behavior on a
unix compiler.
Rob
/** Math on Short Integers **/
main()
{
short x,y, entries=2; /* declared as int program works as
expected */
short ss;
printf("\n sizeof(short): %d",sizeof(short));
printf("\n2 to the 15: %d\n\n",128*128*2);
printf("\n Enter 2 int values: \n");
entries=scanf("%d",&x);
entries +=scanf("%d",&y);
printf("\n x= %d y= %d",x,y);
while (entries == 2) {
printf("\n x= %d y= %d",x,y);
printf("\nX+Y = %d",x+y);
printf("\nX-Y = %d",x-y);
printf("\nX*Y = %d",x*y);
printf("\nX/Y = %d",x/y);
printf("\nx %c y = %d\n",'\045',x%y);
ss = 64000;
printf("\nEnter a short int");
scanf("%d",&ss);
printf("\n Another try on a short int gives: %d",ss);
printf("\n Enter 2 int values: ");
entries=scanf("%d%d",&x,&y);
}
printf("\n\n");
system("PAUSE");
return 0;
}
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August
25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: rchavez <rc...@so...> - 2002-06-06 22:08:01
|
Hi,
While trying a problem from my text 'A Book on C' I ran into some strange
behavior for short integers. If I use integers, the program below reads
them in & performs the arithmetic correctly. But if I change line 3 so the
variables are of type short, the value of x is always 0 !!
I've played with it a lot but can't find the problem. Any help would be
appreciated. Also, notice that the scanf for var ss at the bottom always
works. It's not a gcc bug since I get the same behavior on a unix compiler.
Rob
/** Math on Short Integers **/
main()
{
short x,y, entries=2; /* declared as int program works as expected */
short ss;
printf("\n sizeof(short): %d",sizeof(short));
printf("\n2 to the 15: %d\n\n",128*128*2);
printf("\n Enter 2 int values: \n");
entries=scanf("%d",&x);
entries +=scanf("%d",&y);
printf("\n x= %d y= %d",x,y);
while (entries == 2) {
printf("\n x= %d y= %d",x,y);
printf("\nX+Y = %d",x+y);
printf("\nX-Y = %d",x-y);
printf("\nX*Y = %d",x*y);
printf("\nX/Y = %d",x/y);
printf("\nx %c y = %d\n",'\045',x%y);
ss = 64000;
printf("\nEnter a short int");
scanf("%d",&ss);
printf("\n Another try on a short int gives: %d",ss);
printf("\n Enter 2 int values: ");
entries=scanf("%d%d",&x,&y);
}
printf("\n\n");
system("PAUSE");
return 0;
}
|
|
From: <an...@gm...> - 2002-06-06 20:48:18
|
What stuff do I need to include (header and lib's) to realize drag and = drop (OLE) in windows? and are there any tutorials on this? thank you |
|
From: Colin L. <col...@wa...> - 2002-06-06 17:38:00
|
> http://bloodshed.net/dev/Toolbar97.zip > > I am sure it is my problem but I searched http://bloodshed.net/dev/ and > could not find a "Toolbar97.zip". It should be ok now Colin > I'll keep trying! BTW 5.0 downloaded from the CVS server compiles without > much complaint. > > Regards, > > Bob > > > Greetings, > > Colin > > > > On Wednesday 05 June 2002 16:36, you wrote: > > > Colin, > > > > > > Apparently this message never made it through the re-mailer. I > > downloaded > > > > the delphi source code for dev-c++ to see if I could track down the > > problem > > > > with long Windows file names, but apparently devcpp4src.zip is not > > > complete. > > > > > > The instructions with the dev-c++ 4.0 source are as follows: > > > > > > *********************************** |
|
From: Bob W. <bo...@ph...> - 2002-06-06 14:20:36
|
Colin, > Hello, > > I would suggest you get sources from the latest version. I went to http://www.jrsoftware.org/ which I believe is the source and downloaded "tb97_178a.zip and installed it. It is the latest version 1.78a for Delphi 6.0. I still get the same error. > Otherwise you can find TToolBar97 at http://bloodshed.net/dev/Toolbar97.zip I am sure it is my problem but I searched http://bloodshed.net/dev/ and could not find a "Toolbar97.zip". I'll keep trying! BTW 5.0 downloaded from the CVS server compiles without much complaint. Regards, Bob > Greetings, > Colin > > On Wednesday 05 June 2002 16:36, you wrote: > > Colin, > > > > Apparently this message never made it through the re-mailer. I downloaded > > the delphi source code for dev-c++ to see if I could track down the problem > > with long Windows file names, but apparently devcpp4src.zip is not > > complete. > > > > The instructions with the dev-c++ 4.0 source are as follows: > > > > ************************************ > > > > ** Components you need to install in your Delphi to compile Dev-C++ ** > > > > These components have been tested under Delphi 3. They may also work > > with other 32 bit versions of Delphi. > > > > To install them, launch and install devcpp.dpk. > > Then install SynEdit components by using the package > > SynEdit\SynEdit_D5.dpk. Finish by installing ToolBar97 by installing > > package ToolBar97\TB97_D5.dpk > > > > - SynEdit : powerful syntaxt highlight editor > > Located in Vcl\SynEdit\ > > Author : Michael Hilke, based on original Martin Waldenburg's MwEdit > > > > - Marscap : this is a "beautifuller" for the border of the > > form. It is located in Vcl\Marscap.pas > > Author: Chen Ken > > > > - ToolBar97: great components for using toolbars. > > Located in Vcl\Toolbar97\ > > Author: Jose Sebastian Battig, Softech > > > > - TBackup : backup/compression > > Located in VCl\Backup.pas > > Author: Alexander Halser > > > > ************************************ > > > > devcpp.dpk installs without a problem > > > > SynEdit installation fails with "[Fatal Error] SynEdit_D5.dpk(32): Required > > package 'vcldb' not found" > > > > I cannot find "Vcl\Toolbar97\" in the source code. The sub-directory > > "Toolbar97" is not created during the intall process and "TB97_D5.dpk" is > > not contained in any other directories created during the install process. > > > > I am probably missing the obvious, but I have tried every sort of search I > > can without success. Can you either point me in the right direction or send > > me the missing files? > > > > Regards, > > > > Bob Wilson > |
|
From: Hongli L. <h....@ch...> - 2002-06-06 13:41:40
|
Massmiliano Cialdi wrote: >plase, tell me thenames of these IDEs (and possibly internet addresses) > >thanks > > > Anjuta - http://anjuta.sf.net/ KDevelop - http://www.kdevelop.org/ |
|
From: Massmiliano C. <ci...@fi...> - 2002-06-06 13:05:06
|
On Thu, 06 Jun 2002 14:53:06 +0200 Hongli Lai <h....@ch...> wrote: > Massmiliano Cialdi wrote: > > >I notice that the windows version of DEV-C++ is 4.9.3.0 > >and the linux one is 0.7.0 > > > >I wonder if the linux version is still developed. > > > >thanks > > > > > > No, it has been dropped because Kylix isn't good enough and because > there are already plenty of good IDEs for Linux. plase, tell me thenames of these IDEs (and possibly internet addresses) thanks -- Massimiliano Cialdi ci...@co... ci...@fi... |
|
From: Hongli L. <h....@ch...> - 2002-06-06 12:49:13
|
Massmiliano Cialdi wrote: >I notice that the windows version of DEV-C++ is 4.9.3.0 >and the linux one is 0.7.0 > >I wonder if the linux version is still developed. > >thanks > > No, it has been dropped because Kylix isn't good enough and because there are already plenty of good IDEs for Linux. |
|
From: Massmiliano C. <ci...@fi...> - 2002-06-06 12:28:17
|
I notice that the windows version of DEV-C++ is 4.9.3.0 and the linux one is 0.7.0 I wonder if the linux version is still developed. thanks -- Massimiliano Cialdi ci...@co... ci...@fi... |
|
From: Bob W. <bo...@ph...> - 2002-06-06 00:40:36
|
Ioannis, > Yes it is. But try to not think of that, but wait till MINGW 3.x . Believe me, I am waiting with baited breath! Regards, Bob |
|
From: Bob W. <bo...@ph...> - 2002-06-06 00:32:48
|
Mac, > I'm gonna guess that the book was written some time ago, some of the > C++ standards changed along the way, and not all of the sample code > got updated. That would be my guess. The book was copyrighted in 2000. > **IMPORTANT NOTE FOR NEW C++ PROGRAMMERS ** > Also, there is no such thing as an "ANSI C++ compliant compiler" -- *all* > current compilers fail the conformance tests in various ways. This means > that sample code inevitably needs to be modified for different compilers. For the simplist programs, however, there should not be any modifications required. Just out of curiosity, do you know of a "knowledge base" that summarizes the changes that are often reuired from compiler to compiler? > This is an excellent reason to learn STL programming, because the nastiest > "adjustments" have already been done for you by the STL implementation, > especially if you use something like STLport (www.stlport.org). I am in the process of learning STL programming hand-in-hand with "Accelerated C++". Thanks for the link to "stlport.org"! > Since you are learning from that book, you may want to check out: > > http://www.acceleratedcpp.com/ Thanks again. I had visited that site before but could not find it again. Regards, Bob |
|
From: Ioannis V. <no...@ho...> - 2002-06-05 23:40:13
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Bob Wilson > Sent: Tuesday, June 04, 2002 10:54 PM > To: Dev-C++ User Mailing List > Subject: [Dev-C++] #include <ios> > > > I am working my way through Andrews Koenig's and Barbara E. Moo's book > "Accelerated C++, Practical Programming by Example" and have > a bit of a > problem with an include file. The program starts: > > #include <iomanip> > #include <iostream> > #include <string> > #include <ios> > > using std::cin; using std::setprecision; > using std::cout; using std::string; > using std::endl; using std::streamsize; > > Unfortunately I get the following error message: > > "ios: No such file or directory" <ios> is part of the standard library. Obviously it has not been implemented in GCC 2.9.x line. I guess that this has been fixed in the 3.x line, or will be fixed in a future version. > > MSVC .NET compiles it just fine. What am I missing? Nothing. <ios> belongs to the ANSI C++ standard. But the standard is very recent, so something is missing here and there in every compiler. As the time passes compilers will be getting more standard compliant. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-06-05 22:38:18
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Bob Wilson > Sent: Wednesday, June 05, 2002 10:16 PM > To: Dev-C++ User Mailing List > Subject: Re: [Dev-C++] #include <ios> > > I suspect there is an incompatibility with the compiler which > the authors > discovered. Yes it is. But try to not think of that, but wait till MINGW 3.x . Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-06-05 21:37:06
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Bob Wilson > Sent: Wednesday, June 05, 2002 4:45 PM > To: Dev-C++ User Mailing List > Subject: [Dev-C++] #include <ios> > > > > I found the solution > > > I am working my way through Andrews Koenig's and Barbara E. > Moo's book > > "Accelerated C++, Practical Programming by Example" and > have a bit of a > > problem with an include file. The program starts: > > > > #include <iomanip> > > #include <iostream> > > #include <string> > > #include <ios> > > > > using std::cin; using std::setprecision; > > using std::cout; using std::string; > > using std::endl; using std::streamsize; > > > > Unfortunately I get the following error message: > > > > "ios: No such file or directory" > > > > MSVC .NET compiles it just fine. What am I missing? > > > It is: > > #include <iomanip> > #include <iostream> > #include <string> > #ifndef __GNUC__ > #include <ios> > #endif It is not a solution. :) It's something ugly that checks if it is GCC, and if it isn't it #include <ios> else it doesn't. This assumes that GCC provides the facilities of <ios> in another header file and that GCC gives an error for <ios>. I do not like it. Nope, i don't. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Mac R. <re...@no...> - 2002-06-05 21:01:12
|
Daniel: The <ios> header is generally not needed, and should have been included by other iostreams headers. I suspect that the GCC or MinGW people simply removed the standalone header, or perhaps it is present but can only be found if you specify <ios.h> instead of just <ios>. (The <ios.h> is *purely* a guess and I haven't run any checks at all). Since Dev-C++ is "just" the editor/debugger/project manager, and it uses the GCC/MinGW toolchain for actual compilation, these kinds of issues will depend entirely on how the GCC/MinGW tools work. Microsoft's take on <ios> is given in the following MSDN article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcstdlib/ht ml/vclrfios_header.asp Basically, you could simply remove the <ios> line entirely, and both compilers would be happy and you wouldn't need the preprocessor commands ("ifndef", etc). I'm gonna guess that the book was written some time ago, some of the C++ standards changed along the way, and not all of the sample code got updated. **IMPORTANT NOTE FOR NEW C++ PROGRAMMERS ** Also, there is no such thing as an "ANSI C++ compliant compiler" -- *all* current compilers fail the conformance tests in various ways. This means that sample code inevitably needs to be modified for different compilers. "Portable" code, for the time being, requires preprocessor directives like the one shown to change the code based on which compiler is being used. This is an excellent reason to learn STL programming, because the nastiest "adjustments" have already been done for you by the STL implementation, especially if you use something like STLport (www.stlport.org). **IMPORTANT NOTE FOR NEW C++ PROGRAMMERS ** Since you are learning from that book, you may want to check out: http://www.acceleratedcpp.com/ for updates and hints for adjusting the code to various compilers. Since GCC/MinGW is based on GCC for Unix, if you download the source code samples you will want to download the Unix sources, not the Visual C++ files. Don't let the "tar file compressed with gzip" bother you -- WinZip will unpack it just like a ZIP file. It will have one intermediate step where it extracts the TAR file from the GZIP file, and then extracts the real files from the TAR file. Just answer "yes" to the question box and it will work fine. If any of the source code is Windows specific, you may just need to try all three sets of Windows sample code (VC6, VC.net, and Borland). Good luck, Mac At 02:16 PM 6/5/02 -0500, Bob Wilson wrote: >Daniel, > > >> Why? don't understand why that is the solution. >> Unless there's more to the code than the one file. > >Perhaps a little background is in order. I typed the programs in directly >from the text and was presented with the error previously discussed, i.e., >the compiler could not find an "ios" file to include. When I commented that >compiler command line out, the program compiled and ran just fine. While >searching around for an answer, I came across the source files for the book >on the Internet. The program upon which I was working had the "#ifndef" and >"#endif" bookends to the "#include <ios>" statement. When I modified my code >that way, the program compiled and ran just fine. > >I suspect there is an incompatibility with the compiler which the authors >discovered. > >Regards, > >Bob - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |
|
From: Bob W. <bo...@ph...> - 2002-06-05 19:16:26
|
Daniel, > Why? don't understand why that is the solution. > Unless there's more to the code than the one file. Perhaps a little background is in order. I typed the programs in directly from the text and was presented with the error previously discussed, i.e., the compiler could not find an "ios" file to include. When I commented that compiler command line out, the program compiled and ran just fine. While searching around for an answer, I came across the source files for the book on the Internet. The program upon which I was working had the "#ifndef" and "#endif" bookends to the "#include <ios>" statement. When I modified my code that way, the program compiled and ran just fine. I suspect there is an incompatibility with the compiler which the authors discovered. Regards, Bob ************************* > >From: "Bob Wilson" <bo...@ph...> > >To: "Dev-C++ User Mailing List" <dev...@li...> > >Subject: [Dev-C++] #include <ios> > >Date: Wed, 5 Jun 2002 08:44:39 -0500 > > > > > >I found the solution > > > > > I am working my way through Andrews Koenig's and Barbara E. Moo's book > > > "Accelerated C++, Practical Programming by Example" and have a bit of a > > > problem with an include file. The program starts: > > > > > > #include <iomanip> > > > #include <iostream> > > > #include <string> > > > #include <ios> > > > > > > using std::cin; using std::setprecision; > > > using std::cout; using std::string; > > > using std::endl; using std::streamsize; > > > > > > Unfortunately I get the following error message: > > > > > > "ios: No such file or directory" > > > > > > MSVC .NET compiles it just fine. What am I missing? > > > > > >It is: > > > >#include <iomanip> > >#include <iostream> > >#include <string> > >#ifndef __GNUC__ > >#include <ios> > >#endif > > > >Regards, > > > >Bob Wilson > > > > > > > > > >_______________________________________________________________ > > > >Don't miss the 2002 Sprint PCS Application Developer's Conference > >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > |
|
From: Daniel G. <sp...@ho...> - 2002-06-05 18:37:25
|
Why? don't understand why that is the solution. Unless there's more to the code than the one file. >From: "Bob Wilson" <bo...@ph...> >To: "Dev-C++ User Mailing List" <dev...@li...> >Subject: [Dev-C++] #include <ios> >Date: Wed, 5 Jun 2002 08:44:39 -0500 > > >I found the solution > > > I am working my way through Andrews Koenig's and Barbara E. Moo's book > > "Accelerated C++, Practical Programming by Example" and have a bit of a > > problem with an include file. The program starts: > > > > #include <iomanip> > > #include <iostream> > > #include <string> > > #include <ios> > > > > using std::cin; using std::setprecision; > > using std::cout; using std::string; > > using std::endl; using std::streamsize; > > > > Unfortunately I get the following error message: > > > > "ios: No such file or directory" > > > > MSVC .NET compiles it just fine. What am I missing? > > >It is: > >#include <iomanip> >#include <iostream> >#include <string> >#ifndef __GNUC__ >#include <ios> >#endif > >Regards, > >Bob Wilson > > > > >_______________________________________________________________ > >Don't miss the 2002 Sprint PCS Application Developer's Conference >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. |
|
From: JAIME E. <jae...@ya...> - 2002-06-05 17:35:49
|
your test works !!! Jonathan Roberts <jon...@tr...> wrote: test _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup |
|
From: Bob W. <bo...@ph...> - 2002-06-05 13:44:52
|
I found the solution > I am working my way through Andrews Koenig's and Barbara E. Moo's book > "Accelerated C++, Practical Programming by Example" and have a bit of a > problem with an include file. The program starts: > > #include <iomanip> > #include <iostream> > #include <string> > #include <ios> > > using std::cin; using std::setprecision; > using std::cout; using std::string; > using std::endl; using std::streamsize; > > Unfortunately I get the following error message: > > "ios: No such file or directory" > > MSVC .NET compiles it just fine. What am I missing? It is: #include <iomanip> #include <iostream> #include <string> #ifndef __GNUC__ #include <ios> #endif Regards, Bob Wilson |
|
From: Marcos C. <ca...@un...> - 2002-06-05 11:35:15
|
Hello, I made an implementation with STL and now I want to develop another equivalent with pointers to compare them. I also want to compare the results gotten with different compilers. In relation to STL implementation, the results of DEV-C++ had been superior in the majority of the times. Thanks for the help. Marcos Ioannis Vranos wrote: > I assume C++: > > double (*p)[1024]=double int[1024][1024]; > > // ... > > delete[] p; > > But I strongly recommend: > > #include <vector> > > // ... > > using std::vector; > > vector<vector<double> >array(1024, vector<double>(1024)); > > // ... > > // The container object goes out of scope and clears itself > automatically. > > Ioannis > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Marcos > Carrard > Sent: Monday, June 03, 2002 8:12 PM > To: dev...@li... > Subject: [Dev-C++] Memory problem > > Hello! > > I am with a memory problem. I need to create three objects in the > Dev-C++ with 1024x1204 positions of double. The program compels > normally, but it does not work because not obtain place enough in memory > for all objects. What I can do to make this? My program work with > pointers for the objects. > > Thanks for any help. > > Marcos > ca...@un... > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Jonathan R. <jon...@tr...> - 2002-06-04 21:07:48
|
test |
|
From: Colin L. <col...@wa...> - 2002-06-04 20:24:20
|
Hello, CVS versioning is different from the one we use for releasing. Just ignore the number, or just look if it has increased since last time ;) Colin On Tuesday 04 June 2002 20:41, you wrote: > ups. So what you did mention was the revision 1.42 of version 4.9.3.2.... > hmmm I see. ok. and thanks. > Andres Rand <lo...@ho...> wrote: Hi! > Arrgghh.. > I downloaded it from CVS. There is another way that version (actually > revision) numbers are set. Take a look at > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dev-cpp/V5/ and tell me, > what number do you see next to devcpp.exe? (atm it IS 1.42 and 2 days > old) Then try to download it and seek for your self that error occurs. > BTW, the *actual user-friendly windows derived fa-fa* version nr. is > 4.9.3.1 > Watch and learn.. > > ;) > > A. > > >Hi. i'm on winXP and i'm not having that problem. > >My devc++ version is the 4.9.3.0. (sure your's is 1.42 ?). > > > >> Andres Rand wrote: > >>Hello Hongli! > >> > >>I downloaded devcpp.exe from cvs (ver. 1.42) > >> > >>I found an error in Tools->Editor Options->Syntax window. > >>If one clicks on text to change specified color, then dev-cpp throws > >>error: > >>Access violation at address 004FBE44 in module 'devcpp.exe'. Read of > >>address 000000C. > >> > >>After that one can not close program in usual way. CAD and End Task is > >>only available. (Sometimes it is *usual way* ;) > >> > >>I run Win2k with all those cool thingies (service packs and service > > pack > > >>repair packs). > >> > >>Just reporting an error. I can live with that right now. > >>I do not expect a big discussion here, that all users should be Delphi > >>gurus and stuff ;) I'll wait 'til another CVS release. > >> > >>A. > > P.S. > Don't be too offended.. > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > --------------------------------- > Do You Yahoo!? > Sign-up for Video Highlights of 2002 FIFA World Cup ---------------------------------------- Content-Type: text/html; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- |
|
From: Bob W. <bo...@ph...> - 2002-06-04 19:54:37
|
I am working my way through Andrews Koenig's and Barbara E. Moo's book "Accelerated C++, Practical Programming by Example" and have a bit of a problem with an include file. The program starts: #include <iomanip> #include <iostream> #include <string> #include <ios> using std::cin; using std::setprecision; using std::cout; using std::string; using std::endl; using std::streamsize; Unfortunately I get the following error message: "ios: No such file or directory" MSVC .NET compiles it just fine. What am I missing? Regards, Bob |
|
From: Ioannis V. <no...@ho...> - 2002-06-04 19:12:49
|
Sorry I am after the regular format and my emails will suck for some days. :) Ioannis -----Original Message----- From: Ioannis Vranos [mailto:no...@ho...] Sent: Tuesday, June 04, 2002 10:05 PM To: dev...@li... Subject: RE: [Dev-C++] Memory problem I assume C++: ===> double (*p)[1024]= new double[1024][1024]; // ... delete[] p; But I strongly recommend: #include <vector> // ... using std::vector; vector<vector<double> >array(1024, vector<double>(1024)); // ... // The container object goes out of scope and clears itself automatically. Ioannis -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Marcos Carrard Sent: Monday, June 03, 2002 8:12 PM To: dev...@li... Subject: [Dev-C++] Memory problem Hello! I am with a memory problem. I need to create three objects in the Dev-C++ with 1024x1204 positions of double. The program compels normally, but it does not work because not obtain place enough in memory for all objects. What I can do to make this? My program work with pointers for the objects. Thanks for any help. Marcos ca...@un... |
|
From: Ioannis V. <no...@ho...> - 2002-06-04 19:07:33
|
Delphi and VB is a must. :) Ioannis -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Andres Rand Sent: Tuesday, June 04, 2002 2:00 AM To: Dev-C++ Users List Subject: [Dev-C++] Just another bugreport.. Hello Hongli! Just reporting an error. I can live with that right now. I do not expect a big discussion here, that all users should be Delphi gurus and stuff ;) I'll wait 'til another CVS release. A. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |