dev-cpp-users Mailing List for Dev-C++ (Page 759)
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: Chris B. <ch...@cb...> - 2000-10-21 18:00:06
|
Hello, Does anyone know a way around this problem: I have written a function that delays for secs amount of seconds: #include <ctime> void pause(int secs) { time_t current, end; current =3D clock(); end =3D current + CLOCKS_PER_SEC * sec; while(current < end) current =3D clock(); } The problem is when I try to use it as follows: int main() { int t =3D 10; cout << "Count down: "; while(t >=3D 0) { cout << t-- << " \r"; pause(1); } return 0; } The program executes but doesn't displa the count down numbers until the = time is up - then it just displays 10. The program works fine though if I use printf() instead of cout! Why is = this - I want it to work with cout! Is is something to do with buffers? Thanx in advance. Chris. |
From: Dee Z. <zs...@br...> - 2000-10-20 09:26:18
|
On Thu, 12 Oct 2000, Ioannis Vranos wrote: > Go to the command prompt window, cd in the directory you have the source > code, and run the exe from within the command prompt window. > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Saundra > Schwarz > Sent: Wednesday, October 11, 2000 4:00 AM > To: dev...@li... > Subject: [Dev-C++] Print Question > > > I'm a student taking a class in C programming. I need to be able to print > the results of my program, but when I use the run feature the program runs > then the run window closes. Is there a way to keep the run window active so > that I can print the results of my run? Right now i'm using a while loop at > the end of my programs to hold the screen until I can print. > > -Sam > |
From: Larry H. <lm_...@ya...> - 2000-10-20 02:18:02
|
At 12:45 AM 10/20/2000 +0200, you wrote: >I did not receive it as an insult anyway. Also i consider chinese, and the >like more difficult to read. >Chinese have 380 letters or something. :) > > >Ioannis FWIW Spanish speakers have an idiom "es chino", it's Chinese, rather than the English speaker's choice of "It's Greek". Larry Hamilton |
From: Ioannis V. <no...@ya...> - 2000-10-19 21:45:01
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of > Don...@in... > Sent: Thursday, October 19, 2000 11:06 PM > To: dev...@li... > Subject: RE: Programming Tomes was [Dev-C++] Question of the day > > Actually, the expression "It's Greek to me" refers to the fact that the > Greek alphabet is unreadable to the poor souls who were brought > up with the > Latin alphabet. Basically, it means that the subject matter is so > technical, abstruse or esoteric that the reader cannot understand it, and > so it might just as well be written in Greek for all the good it does him > or her. Yes, it probably is an American expression, but no, I don't think > any ethnic slur is intended by it. I did not receive it as an insult anyway. Also i consider chinese, and the like more difficult to read. Chinese have 380 letters or something. :) Ioannis _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: <Don...@in...> - 2000-10-19 21:14:35
|
#$&@! firewalls! ---------------------- Forwarded by Donald Thumim/SLD/ING-FSI-NA on 10/19/2000 03:13 PM --------------------------- Donald Thumim 10/19/2000 03:05 PM To: dev...@li... cc: Subject: RE: Programming Tomes was [Dev-C++] Question of the day (Document link: Database 'Donald Thumim', View 'DevCPP') Actually, the expression "It's Greek to me" refers to the fact that the Greek alphabet is unreadable to the poor souls who were brought up with the Latin alphabet. Basically, it means that the subject matter is so technical, abstruse or esoteric that the reader cannot understand it, and so it might just as well be written in Greek for all the good it does him or her. Yes, it probably is an American expression, but no, I don't think any ethnic slur is intended by it. Don "Ioannis Vranos" <no...@ya...>@lists.sourceforge.net on 10/19/2000 03:26:54 PM Please respond to dev...@li... Sent by: dev...@li... To: <dev...@li...> cc: Subject: RE: Programming Tomes was [Dev-C++] Question of the day -----Original Message----- From: dev...@li... [ mailto:dev...@li...]On Behalf Of Matthew Hickson Sent: Wednesday, October 18, 2000 11:59 PM To: dev...@li... Subject: Re: Programming Tomes was [Dev-C++] Question of the day Hello, Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) I love those kind! 8-) I pick up just about everything I find. I figure, some are good, some are definitely not; however, they all look at things from different perspectives, and sometimes something that's greek in one book is clear as day in another. (Even if some of those books start to look a little long in the tooth!) Now i am a greek, and i do not understand the meaning of that expression, but i guess it is some american smart-ass-i-know-all expression. :) Recently (on another list) a war started over the value of books (ie. the 21 Days compared to college / university texts). I agree that some of the 21 Day/Dummies/Idiot's guides are surface material, I find them helpful when I want to check out a topic. I then start to delve a little deeper, and then I look for resources online (about language style, the ins and outs of a language, etc.). Speaking of which, does anybody have any good links to C++ related material? Particularly good object-oriented source... I've poked around, but most of what I find seems to relate to DOS level C graphics/demo programming. Except of links i suggest Bjarne Stroustrup's "The C++ Programming Language" - Special Edition, that's what i am reading currently. This, assuming you have already read some good introductory book in C++ (e.g. "Teach Yourself C++ in 21 Days" by Jesse Liberty, Sams Publishing). My background is rather VB, and sources that I've found nice are things like www.planetsourcecode.com (They've got some stuff for other languages, but nothing "meaty" ... for an example, check out the Delphi section!) I have some links at: http://members.nbci.com/noicys/links.htm Ioannis |
From: Ioannis V. <no...@ya...> - 2000-10-19 20:26:17
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Matthew Hickson Sent: Wednesday, October 18, 2000 11:59 PM To: dev...@li... Subject: Re: Programming Tomes was [Dev-C++] Question of the day Hello, Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) I love those kind! 8-) I pick up just about everything I find. I figure, some are good, some are definitely not; however, they all look at things from different perspectives, and sometimes something that's greek in one book is clear as day in another. (Even if some of those books start to look a little long in the tooth!) Now i am a greek, and i do not understand the meaning of that expression, but i guess it is some american smart-ass-i-know-all expression. :) Recently (on another list) a war started over the value of books (ie. the 21 Days compared to college / university texts). I agree that some of the 21 Day/Dummies/Idiot's guides are surface material, I find them helpful when I want to check out a topic. I then start to delve a little deeper, and then I look for resources online (about language style, the ins and outs of a language, etc.). Speaking of which, does anybody have any good links to C++ related material? Particularly good object-oriented source... I've poked around, but most of what I find seems to relate to DOS level C graphics/demo programming. Except of links i suggest Bjarne Stroustrup's "The C++ Programming Language" - Special Edition, that's what i am reading currently. This, assuming you have already read some good introductory book in C++ (e.g. "Teach Yourself C++ in 21 Days" by Jesse Liberty, Sams Publishing). My background is rather VB, and sources that I've found nice are things like www.planetsourcecode.com (They've got some stuff for other languages, but nothing "meaty" ... for an example, check out the Delphi section!) I have some links at: http://members.nbci.com/noicys/links.htm Ioannis |
From: SpiderMan <Spi...@pr...> - 2000-10-18 23:36:16
|
Have you tried http://www.devx.com some of their C++ articles are = very good, also http://www.codeproject.com http://www.codeguru.com = http://www.programmersheaven.com and finally http://www.relisoft.com. Codeguru and CodeProject mostly = focus on Windows Programming, programmersheaven is a good place to find = other sites, and relisoft has good tutorials on Windows Programming and = OOP. All of the sites have a good amount of example code. Hope that = helps (I got a couple more if you want). ----- Original Message -----=20 From: Matthew Hickson=20 To: dev...@li...=20 Sent: Wednesday, October 18, 2000 2:58 PM Subject: Re: Programming Tomes was [Dev-C++] Question of the day Hello, Yes you are right, I checked my book again, \a and \b are very = close together, it was my mistake. I am using the book Object-Oriented = Programming in C++ Second Edition, it's quite old (Copyright 1995) I got = it for $9 at a used bookstore : ) I love those kind! 8-) I pick up just about everything I find. I figure, some are good, some = are definitely not; however, they all look at things from different = perspectives, and sometimes something that's greek in one book is clear = as day in another. (Even if some of those books start to look a little = long in the tooth!) Recently (on another list) a war started over the value of books (ie. = the 21 Days compared to college / university texts). I agree that some = of the 21 Day/Dummies/Idiot's guides are surface material, I find them = helpful when I want to check out a topic. I then start to delve a = little deeper, and then I look for resources online (about language = style, the ins and outs of a language, etc.). Speaking of which, does anybody have any good links to C++ related = material? Particularly good object-oriented source... I've poked = around, but most of what I find seems to relate to DOS level C = graphics/demo programming. =20 =20 My background is rather VB, and sources that I've found nice are = things like www.planetsourcecode.com (They've got some stuff for other languages, but nothing "meaty" ... = for an example, check out the Delphi section!) Matthew Hickson -------------------------------------------------------------------------= ----- Link is external to the Privacyx.com System -------------------------------------------------------------------------= ------- Link is external to the Privacyx.com System |
From: Ian C. S. <ic...@st...> - 2000-10-18 23:24:04
|
On 18 Oct 00, at 17:58, Matthew Hickson wrote: > Hello, Yello 'gain. > Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) > I love those kind! 8-) As does everyone else :) > I pick up just about everything I find. I figure, some are good, some are definitely not; however, they all look at things from different perspectives, and sometimes something that's greek in one book is clear as day in another. (Even if some of those books start to look a little long in the tooth!) I agree - I have a tonne of books for operating systems and language combinations that I'll never use in my lifetime. However, the concepts and techniques used in them are always helpful (usually, in most hard-core language books, there will be always functions for basic encryption, etc). > Recently (on another list) a war started over the value of books (ie. the 21 Days compared to college / university texts). I agree that some of the 21 Day/Dummies/Idiot's guides are surface material, I find them helpful when I want to check out a topic. I then start to delve a little deeper, and then I look for resources online (about language style, the ins and outs of a language, etc.). That is what I do. From various people (relatives, fellow students) I have a number of those 21 days books. Personally, sliding into C/C++ was a breeze using an e-copy of C++ in 21 days. (I had a mainly Java, BASIC and Pascal background.) I believe that one should get one of those books if one is a relative newbie to that area. Going directly to online resources is okay for some, but you end up getting swamped with information and documents that you don't need and potentially will never use. > Speaking of which, does anybody have any good links to C++ related material? Particularly good object-oriented source... I've poked around, but most of what I find seems to relate to DOS level C graphics/demo programming. Umm... you could try www.objectcentral.com and perhaps www.cprogramming.com www.vitaminc.com ? I can't remember the address of that one. Unfortunately, the university rendered all bookmarks redundant and therefore I can no longer access the hoard of links that I once had. > My background is rather VB, and sources that I've found nice are things like www.planetsourcecode.com I'll be sure to try it. > (They've got some stuff for other languages, but nothing "meaty" ... for an example, check out the Delphi section!) You find that a lot... and I hate sites which have trillions of links, and only a handful which actually work. If someone is going to put effort into a site, they should at least attempt to check all sites within a suitable period (e.g. once a month). Places like www.progsharehouse.com (? - Sorry if the link is dead) are very much like that, unfortunately. Ian |
From: Matthew H. <mhi...@ko...> - 2000-10-18 21:57:43
|
Hello, Yes you are right, I checked my book again, \a and \b are very = close together, it was my mistake. I am using the book Object-Oriented = Programming in C++ Second Edition, it's quite old (Copyright 1995) I got = it for $9 at a used bookstore : ) I love those kind! 8-) I pick up just about everything I find. I figure, some are good, some = are definitely not; however, they all look at things from different = perspectives, and sometimes something that's greek in one book is clear = as day in another. (Even if some of those books start to look a little = long in the tooth!) Recently (on another list) a war started over the value of books (ie. = the 21 Days compared to college / university texts). I agree that some = of the 21 Day/Dummies/Idiot's guides are surface material, I find them = helpful when I want to check out a topic. I then start to delve a = little deeper, and then I look for resources online (about language = style, the ins and outs of a language, etc.). Speaking of which, does anybody have any good links to C++ related = material? Particularly good object-oriented source... I've poked = around, but most of what I find seems to relate to DOS level C = graphics/demo programming. =20 My background is rather VB, and sources that I've found nice are things = like www.planetsourcecode.com (They've got some stuff for other languages, but nothing "meaty" ... for = an example, check out the Delphi section!) Matthew Hickson |
From: Matthew H. <mhi...@ko...> - 2000-10-18 21:47:47
|
Hello Ian (and Colin from a previous post), Thanks for the responses. > > Does Dev-C++ 4.0 (I'm using 3.95) have customizable tools? For example, if > > Editor: Yes. I do that now. > Class Generation: Yep. > Midi file: Only if you executed it via a multimedia program. I don't > believe you could directly access the file. > So it's all there then. That'll teach me to be cheap with download time! 8-) (BTW, It's coming down as we speak.) > > [hey! How about user-definable templates for classes, header files, etc.! > > 8-)]. > > I believe some of that is implemented. If anyone wants to see what Snazzy! Thanks again guys, Matthew Hickson |
From: Nick <en...@ho...> - 2000-10-18 18:49:32
|
<color><param>7F00,0000,0000</param>> Hey, > > A friend of mine and I noticed something the other day with the > Dev-C++ C standard libraries. How come toupper() is not in cstring.h > but in another library? </color>Because it should be somewhere else: <FontFamily><param>Times New Roman</param>7.4.2.2 The <FontFamily><param>Courier-Bold</param>toupper <FontFamily><param>Times New Roman</param>function Synopsis 1 <FontFamily><param>Courier-Bold</param>#include <<ctype.h> int toupper(int c); <FontFamily><param>Times New Roman</param>Description 2 The <FontFamily><param>Courier-Bold</param>toupper <FontFamily><param>Times New Roman</param>function converts a lowercase letter to a corresponding uppercase letter.<color><param>7F00,0000,0000</param><FontFamily><param>Arial</param> </color>> This will mess up the code on other <color><param>7F00,0000,0000</param>> compilers. </color>Only code that isn't compliant to begin with. <color><param>7F00,0000,0000</param> Are you trying to make Dev-C++ ANSI-compliant? </color>A distinction needs to be made between Dev-C++ and Mingw32. Dev-C++ is simply (no offence to Colin) the IDE that helps you make programs that compile under Mingw32. regards, Nick<FontFamily><param>Times New Roman</param> |
From: <Don...@in...> - 2000-10-18 18:08:03
|
Hey, A friend of mine and I noticed something the other day with the Dev-C++ C standard libraries. How come toupper() is not in cstring.h but in another library? This will mess up the code on other compilers. Are you trying to make Dev-C++ ANSI-compliant? Don |
From: Ian C. S. <ic...@st...> - 2000-10-18 00:06:23
|
Unfortunately the Australian library system doesn't work that way. Go figure. ;) Oracle. On 17 Oct 00, at 19:49, Saundra Schwarz wrote: > FYI, Check out your local library..sometimes they get books donated to > them for resale to the public....I've acquired some great books...mostly > college textbooks for $1.00 or less. These books don't sell well so they > offer them cheap. No market according to the librarian I talked to...go > figure. |
From: Saundra S. <Sch...@ho...> - 2000-10-17 23:50:11
|
FYI, Check out your local library..sometimes they get books donated to them for resale to the public....I've acquired some great books...mostly college textbooks for $1.00 or less. These books don't sell well so they offer them cheap. No market according to the librarian I talked to...go figure. ----- Original Message ----- From: Ian C. Smith <ic...@st...> To: <dev...@li...> Sent: Tuesday, October 17, 2000 3:49 PM Subject: Re Re [Dev-C++] Question of the day > You wouldn't believe the resources you can find in old bookstores. I > have this massive programming library, with assembly, routines in > basic, pascal, advanced debugging techniques, C/C++, Java, Visual > BASIC and heaps more. All up, probably about $600 worth. I paid, > roughly, about $50 for the whole lot (spread over a couple of years). > A lot of them are University-grade text books too. > > Ian > > On 17 Oct 00, at 15:42, SpiderMan wrote: > > > Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) > > ----- Original Message ----- > > From: Matthew Hickson > > To: dev...@li... > > Sent: Tuesday, October 17, 2000 9:30 AM > > Subject: Re: Re [Dev-C++] Question of the day > > > > > > Hello, > > In my C++ book it says that \b will produce a system beep through the internal speakers, not erase characters. > > > > I have two books, both copyrighted 1998 and covering ANSI/ISO C++. They both state that \a is for alarm (the bell/beep), and that \b is indeed a backspace character. > > > > However, as has already been mentioned, the backspace is usually not destructive. It just moves the cursor back one space. To delete a character you would have to follow the rules for your text interface (I believe CTRL+H will do... better still, use the hex code for "Delete" -- not > backspace). > > > > It could also be that different compilers handle it differently; however, the texts I have mentioned cover ANSI/ISO standards which seem to fall in line with everything I've read regarding C/C++. (You could also check your man pages if you're a Unix type.) > > > > The books, for those who are interested are: > > > > 1. C++ How to Program (2e) by Deitel and Deitel (published by Prentice-Hall... they have a webs > ite too... www.deitel.com) > > > > 2. Ivor Horton's Beginning C++ (The complete language - ANSI/ISO Compliant edition) by Wrox Pre > ss. (He's also got a book for MSVC.) > > > > Hope that's helpful. > > > > Matthew Hickson > > > > > > -------------------------------------------------------------------------- ---- > > > > > > > > > > > > > > > > > > > > Link is external to the Privacyx.com System > > > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |
From: Saundra S. <Sch...@ho...> - 2000-10-17 23:44:14
|
As I've recently asked this question, I'll pass on the info I was = provided and which has worked for me.... quoted from Spiderman's response to my question: Include stdlib.h then at the end of your program write: = system("pause"); here is an example: #include <iostream.h> #include <stdlib.h> void main() { cout<<"Hello world!\n"; system("pause"); } ----- Original Message -----=20 From: Mark Peers=20 To: dev...@li...=20 Sent: Tuesday, October 17, 2000 7:56 AM Subject: [Dev-C++] (no subject) Hi, I have just started using devcpp4 and have successfully written some = basic programs. I am having a problem when executing programs. The = program runs but the window immediately closes after the program has = finished running and I cannot see the results of the program. Is there = anyway to keep the window open after the program has finished running. Thanks. |
From: Ian C. S. <ic...@st...> - 2000-10-17 22:57:54
|
You wouldn't believe the resources you can find in old bookstores. I have this massive programming library, with assembly, routines in basic, pascal, advanced debugging techniques, C/C++, Java, Visual BASIC and heaps more. All up, probably about $600 worth. I paid, roughly, about $50 for the whole lot (spread over a couple of years). A lot of them are University-grade text books too. Ian On 17 Oct 00, at 15:42, SpiderMan wrote: > Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) > ----- Original Message ----- > From: Matthew Hickson > To: dev...@li... > Sent: Tuesday, October 17, 2000 9:30 AM > Subject: Re: Re [Dev-C++] Question of the day > > > Hello, > In my C++ book it says that \b will produce a system beep through the internal speakers, not erase characters. > > I have two books, both copyrighted 1998 and covering ANSI/ISO C++. They both state that \a is for alarm (the bell/beep), and that \b is indeed a backspace character. > > However, as has already been mentioned, the backspace is usually not destructive. It just moves the cursor back one space. To delete a character you would have to follow the rules for your text interface (I believe CTRL+H will do... better still, use the hex code for "Delete" -- not backspace). > > It could also be that different compilers handle it differently; however, the texts I have mentioned cover ANSI/ISO standards which seem to fall in line with everything I've read regarding C/C++. (You could also check your man pages if you're a Unix type.) > > The books, for those who are interested are: > > 1. C++ How to Program (2e) by Deitel and Deitel (published by Prentice-Hall... they have a webs ite too... www.deitel.com) > > 2. Ivor Horton's Beginning C++ (The complete language - ANSI/ISO Compliant edition) by Wrox Pre ss. (He's also got a book for MSVC.) > > Hope that's helpful. > > Matthew Hickson > > > ------------------------------------------------------------------------------ > > > > > > > > > > Link is external to the Privacyx.com System > > |
From: SpiderMan <Spi...@pr...> - 2000-10-17 22:42:24
|
Yes you are right, I checked my book again, \a and \b are very close = together, it was my mistake. I am using the book Object-Oriented = Programming in C++ Second Edition, it's quite old (Copyright 1995) I got = it for $9 at a used bookstore : ) ----- Original Message -----=20 From: Matthew Hickson=20 To: dev...@li...=20 Sent: Tuesday, October 17, 2000 9:30 AM Subject: Re: Re [Dev-C++] Question of the day Hello, In my C++ book it says that \b will produce a system beep = through the internal speakers, not erase characters. I have two books, both copyrighted 1998 and covering ANSI/ISO C++. = They both state that \a is for alarm (the bell/beep), and that \b is = indeed a backspace character. However, as has already been mentioned, the backspace is usually not = destructive. It just moves the cursor back one space. To delete a = character you would have to follow the rules for your text interface (I = believe CTRL+H will do... better still, use the hex code for "Delete" -- = not backspace). It could also be that different compilers handle it differently; = however, the texts I have mentioned cover ANSI/ISO standards which seem = to fall in line with everything I've read regarding C/C++. (You could = also check your man pages if you're a Unix type.) The books, for those who are interested are: 1. C++ How to Program (2e) by Deitel and Deitel (published by = Prentice-Hall... they have a website too... www.deitel.com) 2. Ivor Horton's Beginning C++ (The complete language - ANSI/ISO = Compliant edition) by Wrox Press. (He's also got a book for MSVC.) Hope that's helpful. Matthew Hickson -------------------------------------------------------------------------= ----- Link is external to the Privacyx.com System |
From: Ian C. S. <ic...@st...> - 2000-10-17 22:28:10
|
On 17 Oct 00, at 12:49, Matthew Hickson wrote: > Does Dev-C++ 4.0 (I'm using 3.95) have customizable tools? For example, if > I wanted to set up an external editor, a class generation tool, or a direct > link to my favourite MIDI file, could I? Editor: Yes. I do that now. Class Generation: Yep. Midi file: Only if you executed it via a multimedia program. I don't believe you could directly access the file. > [hey! How about user-definable templates for classes, header files, etc.! > 8-)]. I believe some of that is implemented. If anyone wants to see what Matthew is talking about, download Arachnophilia from www.arachnoid.com It is the editor I use for HTML, but it can also be used as a programming editor, and it has templates and stuff for CGI, Java, etc. Ian |
From: Colin L. <col...@wa...> - 2000-10-17 19:39:09
|
Hi ! >Does Dev-C++ 4.0 (I'm using 3.95) have customizable tools? For example, if >I wanted to set up an external editor, a class generation tool, or a direct >link to my favourite MIDI file, could I? yes it has ;-) Colin |
From: Jason S. <jas...@at...> - 2000-10-17 19:12:00
|
Mark, At the end of the program under main, before return 0;, put in = getchar(). That'll require an input from the keyboard before any other = action will be taken, and in this case, shutting down the program. (Make sure to include iostream.h and stdlib.h) -Jason ----- Original Message -----=20 From: Mark Peers=20 To: dev...@li...=20 Sent: Tuesday, October 17, 2000 10:56 AM Subject: [Dev-C++] (no subject) Hi, I have just started using devcpp4 and have successfully written some = basic programs. I am having a problem when executing programs. The = program runs but the window immediately closes after the program has = finished running and I cannot see the results of the program. Is there = anyway to keep the window open after the program has finished running. Thanks. |
From: Matthew H. <mhi...@ko...> - 2000-10-17 16:48:43
|
Hello, > Hi! I was just wondering, is DevC++ a visual compiler? > Like Visual C++ 6.something Just a question in a similar vein. Does Dev-C++ 4.0 (I'm using 3.95) have customizable tools? For example, if I wanted to set up an external editor, a class generation tool, or a direct link to my favourite MIDI file, could I? It doesn't have to be integrated (ie. create something externally and import directly -- I can load things from a file! 8-), but it would be nice to augment Dev-C++ (though it's a pretty slick piece of software as far as I'm concerned!) Of course, maybe this has all been addressed with v4.0. I'm still a little unclear as to what's been included and what's not yet / never will be 8-). Hoping not to start a wishlist discussion... Matthew Hickson [hey! How about user-definable templates for classes, header files, etc.! 8-)]. Oh, since I've seen you floating around the list recently, Great Work Colin! |
From: Matthew H. <mhi...@ko...> - 2000-10-17 16:29:54
|
Hello, In my C++ book it says that \b will produce a system beep through = the internal speakers, not erase characters. I have two books, both copyrighted 1998 and covering ANSI/ISO C++. They = both state that \a is for alarm (the bell/beep), and that \b is indeed a = backspace character. However, as has already been mentioned, the backspace is usually not = destructive. It just moves the cursor back one space. To delete a = character you would have to follow the rules for your text interface (I = believe CTRL+H will do... better still, use the hex code for "Delete" -- = not backspace). It could also be that different compilers handle it differently; = however, the texts I have mentioned cover ANSI/ISO standards which seem = to fall in line with everything I've read regarding C/C++. (You could = also check your man pages if you're a Unix type.) The books, for those who are interested are: 1. C++ How to Program (2e) by Deitel and Deitel (published by = Prentice-Hall... they have a website too... www.deitel.com) 2. Ivor Horton's Beginning C++ (The complete language - ANSI/ISO = Compliant edition) by Wrox Press. (He's also got a book for MSVC.) Hope that's helpful. Matthew Hickson |
From: Mark P. <Mar...@bt...> - 2000-10-17 14:55:45
|
Hi, I have just started using devcpp4 and have successfully written some = basic programs. I am having a problem when executing programs. The = program runs but the window immediately closes after the program has = finished running and I cannot see the results of the program. Is there = anyway to keep the window open after the program has finished running. Thanks. |
From: Luke <li...@ya...> - 2000-10-17 02:28:55
|
Oh no for what I'm doing it's perfect! Many thanks to the author, but I was curious because of that friend. :o) Thanks a lot! --- "Ian C. Smith" <ic...@st...> wrote: > No it isn't. It does not feature Rapid Application > Development > features (e.g. form editors and stuff) as these are > incredibly > complex. > > If you want a drag and drop type environment, > Dev-C++ is not for you. > > On 16 Oct 00, at 16:02, Luke wrote: > > > Hi! I was just wondering, is DevC++ a visual > compiler? > > Like Visual C++ 6.something > > > > Cause someone told me it wasn't and that I should > > probably buy one (but eh heh I'm too cheap) > > > > Thanks for the help! > > > > ===== > > Luke > > "Ask me no questions and I will tell you no lies" > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Messenger - Talk while you surf! It's > FREE. > > http://im.yahoo.com/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users ===== Luke "Ask me no questions and I will tell you no lies" __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ |
From: Ian C. S. <ic...@st...> - 2000-10-17 01:58:43
|
No it isn't. It does not feature Rapid Application Development features (e.g. form editors and stuff) as these are incredibly complex. If you want a drag and drop type environment, Dev-C++ is not for you. On 16 Oct 00, at 16:02, Luke wrote: > Hi! I was just wondering, is DevC++ a visual compiler? > Like Visual C++ 6.something > > Cause someone told me it wasn't and that I should > probably buy one (but eh heh I'm too cheap) > > Thanks for the help! > > ===== > Luke > "Ask me no questions and I will tell you no lies" > > __________________________________________________ > Do You Yahoo!? > Yahoo! Messenger - Talk while you surf! It's FREE. > http://im.yahoo.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |