|
From: jag <won...@th...> - 2001-03-25 02:35:50
|
This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net --------------------------------------------------------------- |
|
From: A.V.Maheswara R. <ven...@wi...> - 2001-10-05 09:55:38
|
The Information contained and transmitted by this E-MAIL is proprietary to Wipro and/or its Customer and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at mai...@wi... |
|
From: A.V.Maheswara R. <ven...@wi...> - 2001-10-08 05:47:13
|
The Information contained and transmitted by this E-MAIL is proprietary to Wipro and/or its Customer and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at mai...@wi... |
|
From: Jennifer D. <jen...@ve...> - 2001-11-10 01:58:03
|
Please unsubscribe me. Thanks. |
|
From: Ioannis V. <no...@ya...> - 2001-11-10 15:44:54
|
And how do you think we can do that? =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/>=20 * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Jennifer Dreussi Sent: Saturday, November 10, 2001 6:59 AM To: dev...@li... Subject: [Dev-C++] unsubscribe Please unsubscribe me. Thanks. |
|
From: <sor...@mu...> - 2002-06-11 20:27:45
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of dev...@li... Sent: 2002. június 11. 21:03 To: dev...@li... Subject: Dev-cpp-users digest, Vol 1 #815 - 6 msgs Send Dev-cpp-users mailing list submissions to dev...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dev-cpp-users or, via email, send a message with subject or body 'help' to dev...@li... You can reach the person managing the list at dev...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Dev-cpp-users digest..." Today's Topics: 1. Re: unsubscribe unsuscribe (Hongli Lai) 2. (no subject) (balamurali muraleedharan) 3. doubt (balamurali muraleedharan) 4. double no double query (Daniel Glenfield) 5. Re: doubt (Abhijit Shylanath) 6. Re: doubt (Mac Reiter) --__--__-- Message: 1 Subject: Re: [Dev-C++] unsubscribe unsuscribe From: Hongli Lai <h....@ch...> To: "Garcia Sanchez, Jesus "Angel <jag...@in...> Cc: Dev...@li... Date: 11 Jun 2002 14:47:18 +0200 On Tue, 2002-06-11 at 13:32, Garcia Sanchez, Jesus Angel wrote: > > unsubscribe > unsuscribe > Have you ever read the *unsubscribe instructions* on the website....? Here's a hint: http://devcpp.everfloyd.com/help.html Perhaps I should make the sentence "If you want to know how to unsubscribe from this list, go to this page!" blinking and 1000 pixels big. --__--__-- Message: 2 Date: 11 Jun 2002 13:54:01 -0000 From: "balamurali muraleedharan" <bal...@re...> Reply-To: "balamurali muraleedharan" <bal...@re...> To: dev...@li... Subject: [Dev-C++] (no subject) confirm 399103 _________________________________________________________ Click below to visit monsterindia.com and review jobs in India or Abroad http://monsterindia.rediff.com/jobs --__--__-- Message: 3 Date: 11 Jun 2002 13:55:43 -0000 From: "balamurali muraleedharan" <bal...@re...> Reply-To: "balamurali muraleedharan" <bal...@re...> To: dev...@li... Subject: [Dev-C++] doubt Sir, I know that when u open an image file in the text mode we cant see the image but when we open it in binary mode we should be able to read the data from it and store it in any structure.Since this is what my doubt is all about I present it here. struct bitmapfileheader { short int signature;/*2bytes*/ int filesize;/*4bytes*/ int reserved;/*4bytes*/ int dataoffset;/*4bytes*/ }; int main() { bitmapfileheader bmpf; cout<<sizeof(bmpf); } here the result shows the size as 16bytes instead of 14bytes also while reading into this structure using file.open and file.read statement always wrong data is contained in the structure where the read data is stored.Why is this so? There is error only while reading into the structure as a whole as in the case file.open("file.bmp",ios::binary|ios::in); file.read((char*)&bmpf,sizeof(bmpf)); This always reads erroneous values into the corresponding elements in the structure.But file.open("file.bmp",ios::binary|ios::in); file.read((char*)&bmpf.signature,sizeof(bmpf.signature)); file.read((char*)&bmpf.filesize,sizeof(bmpf.filesize)); file.read((char*)&bmpf.reserved,sizeof(bmpf.reserved)); file.read((char*)&bmpf.dataoffset,sizeof(bmpf.dataoffset); this reads the correct values into the respective elements of the structure. why is this so? why cant we simply read the contents of the file into the structure using the first statement?what really happens during this process? I am using G++ in Linux environment. Please help me. _________________________________________________________ Click below to visit monsterindia.com and review jobs in India or Abroad http://monsterindia.rediff.com/jobs --__--__-- Message: 4 From: "Daniel Glenfield" <sp...@ho...> To: dev...@li... Date: Tue, 11 Jun 2002 15:27:33 +0100 Subject: [Dev-C++] double no double query if you are using the same object to write multiple variables into the text document try destroying the object then re-creating it before you do the next one. It's a bit like the following. e.g. [code] /** Object with local scope Notice how the strstream object is created with local scope. Local scope ensures the object is destroyed, then created the next time it is needed. This has the effect of making sure that no previous values will be carried forward to the next usage of the object. */ { // Display X Resolution strstream StrstreamObject; StrstreamObject << "XResolution: " << m_nXResolution << '\0'; pListbox->AddString(StrstreamObject.str()); StrstreamObject.rdbuf()->freeze(0); } { // Now for the Y resolution strstream StrstreamObject; StrstreamObject << "YResolution: " << m_nYResolution << '\0'; pListbox->AddString(StrstreamObject.str()); StrstreamObject.rdbuf()->freeze(0); } [/code] _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com --__--__-- Message: 5 From: "Abhijit Shylanath" <mu...@gm...> To: <dev...@li...> Subject: Re: [Dev-C++] doubt Date: Tue, 11 Jun 2002 21:05:47 +0530 Organization: Retrogression AFAIK, GCC (and derivatives) don't store structures linearly, they pad the elements for optimization reasons. So if you want to read in stuff, you'll have to read them in separately. I think there's a command-line option somewhere to disable this behaviour... Over to you, <put_your_name_here>. -------------------------- http://mudeth.tripod.com ----- Original Message ----- From: "balamurali muraleedharan" <bal...@re...> To: <dev...@li...> Sent: Tuesday, June 11, 2002 7:25 PM Subject: [Dev-C++] doubt > int main() > { > bitmapfileheader bmpf; > cout<<sizeof(bmpf); > } > here the result shows the size as 16bytes instead of 14bytes > also while reading into this structure using file.open and > file.read statement always wrong data is contained in the > structure where the read data is stored.Why is this so? > There is error only while reading into the structure as a whole as > in the case > file.open("file.bmp",ios::binary|ios::in); > file.read((char*)&bmpf,sizeof(bmpf)); > This always reads erroneous values into the corresponding elements > in the structure.But > file.open("file.bmp",ios::binary|ios::in); > file.read((char*)&bmpf.signature,sizeof(bmpf.signature)); > file.read((char*)&bmpf.filesize,sizeof(bmpf.filesize)); > file.read((char*)&bmpf.reserved,sizeof(bmpf.reserved)); > file.read((char*)&bmpf.dataoffset,sizeof(bmpf.dataoffset); > this reads the correct values into the respective elements of the > structure. > why is this so? > why cant we simply read the contents of the file into the > structure using the first statement?what really happens during > this process? > I am using G++ in Linux environment. > Please help me. --__--__-- Message: 6 Date: Tue, 11 Jun 2002 10:53:54 -0500 To: dev...@li... From: "Mac Reiter" <re...@no...> Subject: Re: [Dev-C++] doubt Compilers are allowed to pack structures in memory any way they want. The only requirements on the compiler are that: 1. sizeof() will report the actual size 2. field access will work x86 CPUs (386/486/Pentium/II/III/IV/etc and so on) are much more efficient working with longs than with shorts. More importantly, these processors (and most others) are *MUCH* more efficient working with longs that are 4 byte aligned in memory (4 byte aligned means the memory address is evenly divisible by 4 -- or that the bottom two bits of the address are 0, if you prefer to think that way). If the compiler packed your structure tightly, the three longs would all end up 2 byte aligned, but not 4 byte aligned, and accessing them would take over twice as long. Since the compiler does not know how you intend to use this structure, it adds some padding so that the long fields will be properly aligned. The effective struct you end up using actually looks like this (probably): struct bitmapfileheader { short int signature;/*2bytes*/ short int PADDING1;/*2bytes*/ int filesize;/*4bytes*/ int reserved;/*4bytes*/ int dataoffset;/*4bytes*/ }; That explains why you can't just read the structure directly. Using the stream operators to push structures/classes into streams and pull them back out is fine, but it requires that the stream operators be used for both operations. In your case (reading bitmap files), the header was not written by a stream operator, so you can't read it back out that way. ************* It is also unwise to attempt raw structure dumping like this because the structure layout in memory will change between compilers, and can change even between versions of the same compiler (GCC 2.95 and GCC 3.1 have some memory layout differences). ************* The most "object oriented" way of handling this (which is also the idealogically correct approach when working with stream insertion/extraction operators), is to write operator<<() and operator>>() member functions for your structures. Inside those functions, you use the code you showed below: >file.read((char*)&bmpf.signature,sizeof(bmpf.signature)); >file.read((char*)&bmpf.filesize,sizeof(bmpf.filesize)); >file.read((char*)&bmpf.reserved,sizeof(bmpf.reserved)); >file.read((char*)&bmpf.dataoffset,sizeof(bmpf.dataoffset); but modified to make sense inside that member function. Actually, what would be _even_better_ is the following: file >> signature; file >> filesize; file >> reserved; file >> dataoffset; or possibly even (forgive me if this is in error -- I'm not a big stream user myself...) file >> signature >> filesize >> reserved >> dataoffset; Since you are working with built in data types at this level, the stream extraction operator know how to read them from the stream directly. Once you have written those member functions, you can then insert or extract your structure directly into or out of streams. Any decent book on C++ programming *SHOULD* have samples of operator<<() and operator>>(), since it is a relatively important functionality, and one of the primary benefits of the stream system. If you insist on raw memory dumping, most compilers have a method of telling the compiler to pack tightly in memory. This is frequently done with one of the many "#pragma" directives. Someone with more GCC background will have to supply the actual command, or you can get it from the man pages. Using these directives is inherently unportable and will limit your code to only functioning on GCC on the particular CPU architecture you are using, so I would recommend using the more object oriented approach from above. Good luck, Mac At 01:55 PM 6/11/02 -0000, balamurali muraleedharan wrote: >Sir, >I know that when u open an image file in the text mode we cant see >the image but when we open it in binary mode we should be able to >read the data from it and store it in any structure.Since this is >what my doubt is all about I present it here. > >struct bitmapfileheader >{ >short int signature;/*2bytes*/ >int filesize;/*4bytes*/ >int reserved;/*4bytes*/ >int dataoffset;/*4bytes*/ >}; > >int main() >{ >bitmapfileheader bmpf; >cout<<sizeof(bmpf); >} >here the result shows the size as 16bytes instead of 14bytes >also while reading into this structure using file.open and >file.read statement always wrong data is contained in the >structure where the read data is stored.Why is this so? >There is error only while reading into the structure as a whole as >in the case >file.open("file.bmp",ios::binary|ios::in); >file.read((char*)&bmpf,sizeof(bmpf)); >This always reads erroneous values into the corresponding elements >in the structure.But >file.open("file.bmp",ios::binary|ios::in); >file.read((char*)&bmpf.signature,sizeof(bmpf.signature)); >file.read((char*)&bmpf.filesize,sizeof(bmpf.filesize)); >file.read((char*)&bmpf.reserved,sizeof(bmpf.reserved)); >file.read((char*)&bmpf.dataoffset,sizeof(bmpf.dataoffset); >this reads the correct values into the respective elements of the >structure. >why is this so? >why cant we simply read the contents of the file into the >structure using the first statement?what really happens during >this process? >I am using G++ in Linux environment. >Please help me. >_________________________________________________________ >Click below to visit monsterindia.com and review jobs in India or >Abroad >http://monsterindia.rediff.com/jobs > > >_______________________________________________________________ > >Don't miss the 2002 Sprint PCS Application Developer's Conference >August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) --__--__-- _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users End of Dev-cpp-users Digest |
|
From: Ioannis V. <no...@ho...> - 2002-06-11 21:05:07
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of S=F6r=F6s J=F3zsef > Sent: Tuesday, June 11, 2002 11:27 PM > To: dev...@li... > Subject: [Dev-C++] unsubscribe http://www.noicys.cjb.net/devcpp/ub.htm Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Rajashekar, K. (IE10)
<Raj...@ho...> - 2002-06-21 03:09:39
|
unsubscribe > -----Original Message----- > From: Ioannis Vranos [SMTP:no...@ho...] > Sent: Tuesday, June 11, 2002 4:34 PM > To: Dev-C++ Mailing List > Subject: RE: [Dev-C++] (no subject) > > http://www.allegro.cc > > > I have links to other libraries at http://www.noicys.cjb.net/links.htm > > > It is not a self-advertisement, simply i have all my favorite links > there. > > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net > * Alternative URL: http://run.to/noicys > > > > -----Original Message----- > > From: prasad athreya [mailto:pra...@ho...] > > Sent: Tuesday, June 11, 2002 1:55 PM > > To: no...@ho... > > Subject: RE: [Dev-C++] (no subject) > > > > > > thanks a lot > > btw where do u get allegro from? > > > > > > >From: "Ioannis Vranos" <no...@ho...> > > >To: "Dev-C++ Mailing List" <dev...@li...> > > >Subject: RE: [Dev-C++] (no subject) > > >Date: Tue, 11 Jun 2002 13:44:16 +0300 > > > > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On Behalf > > > > Of prasad athreya > > > > Sent: Tuesday, June 11, 2002 1:31 PM > > > > To: dev...@li... > > > > Subject: [Dev-C++] (no subject) > > > > > > > > > > > > hello > > > > im trying to improve my program by colouring the text. Im not > > > > sure how > > > > exactly in devcpp to do this. > > > > > > > > >You can use some 3rd party library, like Allegro. > > > > > > > > > > I am also trying to find out whther it is possible to > > print via a USB > > > > printer port > > > > > > > > >Of course it is, you will use some system extension, e.g > > some Win32 API > > >call which comes with Dev-C++. I do not know the particular call > > >however. > > > > > > > > >Ioannis > > > > > >* Ioannis Vranos > > >* Programming pages: http://www.noicys.cjb.net > > >* Alternative URL: http://run.to/noicys > > > > > >_______________________________________________________________ > > > > > >Don't miss the 2002 Sprint PCS Application Developer's Conference > > >August 25-28 in Las Vegas - > > http://devcon.sprintpcs.com/adp/index.cfm?> source=osdntextlink > > > > > > > > > >_______________________________________________ > > >Dev-cpp-users mailing list > > >Dev...@li... > > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ioannis V. <no...@ho...> - 2002-06-21 10:18:43
|
http://www.noicys.cjb.net/devcpp/ub.htm Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: Rajashekar, Kumararadhya (IE10) > [mailto:Raj...@ho...] > Sent: Friday, June 21, 2002 6:10 AM > To: Ioannis Vranos; Dev-C++ Mailing List > Subject: unsubscribe > > > unsubscribe |
|
From: Stefan M. <st...@po...> - 2003-06-02 05:15:25
|
unsubscribe ----- Original Message ----- =46rom: <dev...@li...> To: <dev...@li...> Sent: Monday, June 02, 2003 12:15 AM Subject: Dev-cpp-users digest, Vol 1 #1476 - 14 msgs > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Re: Beginners corner... (Wee Keat [VisualDensity]) > 2. Re: Beginners corner... (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D= ) > 3. RE: Beginners corner... (Ioannis Vranos) > 4. Re: Re: JPEG format (=3D?ISO-8859-1?Q?Juliano_P=3DE1vel_Brasil_Cust=3DF3dio?=3D) > 5. Error: Makefile.win 18, Colon expected (Urban Ljungberg) > 6. RE: Error: Makefile.win 18, Colon expected (Smurf, Papa) > 7. RE: Error: Makefile.win 18, Colon expected (Abhijit Shylanath) > 8. Re: RPG Game A.I. book suggestion (=3D?ISO-8859-1?Q?Ricardo_Amores_Hern=3DE1ndez?=3D) > 9. remove from distribution ONE MORE TIME... (CSt...@ao...) > 10. Re: Re: JPEG format (Per Westermark) > 11. Re: Re: JPEG format (=3D?ISO-8859-1?Q?Juliano_P=3DE1vel_Brasil_Cust=3DF3dio?=3D) > 12. Re: RPG Game A.I. book suggestion (David McKen) > 13. RE: remove from distribution ONE MORE TIME... (Ioannis Vranos) > 14. Re: RPG Game A.I. book suggestion (=3D?ISO-8859-1?Q?Ricardo_Amores_Hern=3DE1ndez?=3D) > > --__--__-- > > Message: 1 > From: "Wee Keat [VisualDensity]" <we...@vi...> > To: "Ronald" <ron...@pt...>, > "Dev-C List" <dev...@li...> > Subject: Re: [Dev-C++] Beginners corner... > Date: Sun, 1 Jun 2003 17:47:45 +1000 > > This is a multi-part message in MIME format. > > ------=3D_NextPart_000_0024_01C32865.E84E9D60 > Content-Type: text/plain; > charset=3D"iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hi Ronald > > > > At the risk of being flamed. > > Is this the appropriate list for beginners to watch and learn from = or =3D > is there a more appropriate forum for me? > > Thanks for bringing up this question. I'm a beginner and was wonderin= g =3D > the same thing as you did.=3D20 > > Anyway.. I've been watching this list for quite a bit .. I did learn = a =3D > little but most of the time.... I really do not understand what they = are =3D > talking about. Guess I'll just have to develop on my own first.. :) > > Anyway.. good to see another beginner joining this list.. makes me fe= el =3D > more at home..=3D20 > > ------=3D_NextPart_000_0024_01C32865.E84E9D60 > Content-Type: text/html; > charset=3D"iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=3D3DContent-Type content=3D3D"text/html; =3D > charset=3D3Diso-8859-1"> > <META content=3D3D"MSHTML 6.00.2719.2200" name=3D3DGENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=3D3D#ffffff> > <DIV><FONT face=3D3DArial size=3D3D2>Hi Ronald</FONT></DIV> > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > <DIV> > <BLOCKQUOTE dir=3D3Dltr=3D20 > style=3D3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =3D > BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> > <DIV><FONT face=3D3DArial size=3D3D2></FONT><BR></DIV> > <DIV><SPAN class=3D3D140533906-01062003><FONT face=3D3DArial>At the= risk =3D > of being=3D20 > flamed.</FONT></SPAN></DIV> > <DIV><SPAN class=3D3D140533906-01062003><FONT=3D20 > face=3D3DArial></FONT></SPAN> </DIV> > <DIV><SPAN class=3D3D140533906-01062003><FONT face=3D3DArial>Is thi= s the =3D > appropriate=3D20 > list for beginners to watch and learn from or is there a more =3D > appropriate=3D20 > forum for me?</FONT></SPAN></DIV></BLOCKQUOTE></DIV> > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > <DIV><FONT face=3D3DArial size=3D3D2>Thanks for bringing up this ques= tion. =3D > I'm a=3D20 > beginner and was wondering the same thing as you did. </FONT></DIV> > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > <DIV><FONT face=3D3DArial size=3D3D2>Anyway.. I've been watching this= list =3D > for quite a=3D20 > bit .. I did learn a little but most of the time.... I really do not = =3D > understand=3D20 > what they are talking about. Guess I'll just have to develop on my ow= n =3D > first..=3D20 > :)</FONT></DIV> > <DIV><FONT face=3D3DArial size=3D3D2></FONT> </DIV> > <DIV><FONT face=3D3DArial size=3D3D2>Anyway.. good to see another beg= inner =3D > joining this=3D20 > list.. makes me feel more at home.. </FONT></DIV></BODY></HTML> > > ------=3D_NextPart_000_0024_01C32865.E84E9D60-- > > > > --__--__-- > > Message: 2 > Date: Sun, 01 Jun 2003 11:03:30 +0200 > From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > To: dev...@li... > Subject: Re: [Dev-C++] Beginners corner... > > Ronald wrote: > > At the risk of being flamed. > > > > Is this the appropriate list for beginners to watch and learn from = or is > > there a more appropriate forum for me? > > It depends on what do you want to begin with :) > If it is C/C++ in general with Dev-C++ environment, then yes, you are= at > the right place! > > -- > Greetings, > Bal=E1zs > > > > --__--__-- > > Message: 3 > From: "Ioannis Vranos" <iv...@em...> > To: "'Dev-C List'" <dev...@li...> > Subject: RE: [Dev-C++] Beginners corner... > Date: Sun, 1 Jun 2003 16:50:05 +0300 > > Hey i learn by discussing here myself too. :) > > > > > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Ronal= d > Sent: Sunday, June 01, 2003 9:41 AM > To: Dev-C List > Subject: [Dev-C++] Beginners corner... > > > At the risk of being flamed. > > Is this the appropriate list for beginners to watch and learn from or= is > there a more appropriate forum for me? > > > > > --__--__-- > > Message: 4 > Date: Sun, 01 Jun 2003 11:59:47 -0300 > From: =3D?ISO-8859-1?Q?Juliano_P=3DE1vel_Brasil_Cust=3DF3dio?=3D <jp...@bo...> > To: dev...@li... > Subject: Re: [Dev-C++] Re: JPEG format > > Thanks both teosoft and Marcel. You helped me a lot. I think it i= s=3D20 > suficient for me to write my own routines. > > []s > Juliano > > Teosoft wrote: > > >Juliano, > > > >if you want a library to do so, try jpeglib > > > >For more information about the format try > >JPEG-FAQ > >The independent JPEG group web page http://www.ijg.org/=3D20 > >The JPEG Comitte site (www.jpeg.org). > > > >Teosoft. > > > > =3D20 > > > >> Does anyone know where I can find information - any website - on=3D= 20 > >>reading/writing JPEG files? > >> > >> Thanks for any help. > >> Juliano > >> =3D20 > >> > > > >---Publicidad-------------------------------------------------------= - > >=3DDAnete a los miles de sin pareja en Meetic... =3DA1te vas a enamo= rar! > >http://www.iespana.es/_reloc/email.meetic > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: eBay > >Get office equipment for less on eBay! > >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > =3D20 > > > > --=3D20 > Visite minha p=3DE1gina: http://www.jpavel.kit.net > > > > > > --__--__-- > > Message: 5 > From: "Urban Ljungberg" <ur...@ti...> > To: <dev...@li...> > Date: Sun, 1 Jun 2003 19:35:51 +0200 > Subject: [Dev-C++] Error: Makefile.win 18, Colon expected > > I get this error when I'm compiling my program > > #include <windows.h> > > int WINAPI > WinMain(HINSTANCE hInst, > HINSTANCE hPrevInstance, > LPSTR lpCmdLine, > int nCmdShow) > { > MessageBox (NULL, "Hello World! This is my first WIN32 program", > "Ramones", MB_OK); > return 0; > } > > > What is the problem? > > /Urban > > > --__--__-- > > Message: 6 > From: "Smurf, Papa" <smu...@xs...> > To: "Urban Ljungberg" <ur...@ti...>, <dev...@li...> > Subject: RE: [Dev-C++] Error: Makefile.win 18, Colon expected > Date: Sun, 1 Jun 2003 19:43:45 +0200 > > It compiles and runs at my computer. > > Using DevCPP 4.8 > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Urban > Ljungberg > Sent: zondag 1 juni 2003 19:36 > To: dev...@li... > Subject: [Dev-C++] Error: Makefile.win 18, Colon expected > > > I get this error when I'm compiling my program > > #include <windows.h> > > int WINAPI > WinMain(HINSTANCE hInst, > HINSTANCE hPrevInstance, > LPSTR lpCmdLine, > int nCmdShow) > { > MessageBox (NULL, "Hello World! This is my first WIN32 program", > "Ramones", MB_OK); > return 0; > } > > > What is the problem? > > /Urban > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > --__--__-- > > Message: 7 > From: "Abhijit Shylanath" <mu...@gm...> > To: "Smurf, Papa" <smu...@xs...>, > "Urban Ljungberg" <ur...@ti...>, > <dev...@li...> > Subject: RE: [Dev-C++] Error: Makefile.win 18, Colon expected > Date: Sun, 1 Jun 2003 23:42:38 +0530 > > > > PS> It compiles and runs at my computer. > > The problem is in the makefile... must be something wrong with Dev's > installation. Try re-installing it. > ________________________________________ > > Abhijit Shylanath > http://mudeth.tripod.com/ > > > > > > --__--__-- > > Message: 8 > Date: Sun, 01 Jun 2003 21:19:30 +0200 > From: =3D?ISO-8859-1?Q?Ricardo_Amores_Hern=3DE1ndez?=3D <ricky@teleca= ble.es> > To: ci...@ya... > CC: dev...@li... > Subject: Re: [Dev-C++] RPG Game A.I. book suggestion > > David McKen wrote: > > >Does anyone have any suggestions for a good book on game > >A.I. > >I would like one that deals with the aspects dealt with > >RPG-type games. > >I need to control the Non-Player Characters in the game I > >am writing. > > > >Thanks. > > > > =3D20 > > > I don=3DB4t know a book, but a website: > http://www.ai-depot.com > > Hope it may help you. > > --=3D20 > --------------------------------------------------- > Ricardo Amores Hern=3DE1ndez > --------------------------------------------------- > * Para contestar borra QUITAESTO de la direccion. > * Remove QUITAESTO for reply. > > > > > > --__--__-- > > Message: 9 > From: CSt...@ao... > Date: Sun, 1 Jun 2003 15:55:29 EDT > To: Dev...@li... > Subject: [Dev-C++] remove from distribution ONE MORE TIME... > > > --part1_60.315e07e4.2c0bb431_boundary > Content-Type: text/plain; charset=3D"US-ASCII" > Content-Transfer-Encoding: 7bit > > I am not sure if I am doing this right... > > > I copied the following from the bottom of the messages posted and the= n > attempted to go to this site Sunday morning, but could not get to it.= Did I do > something wrong? > > <A HREF=3D"http://www.noicys.cjb.net/devcpp/ub.htm">http://www.noicys.cjb.= net/dev cpp/ub.htm</A> > > > Charles Starkey > > > > > > > > --part1_60.315e07e4.2c0bb431_boundary > Content-Type: text/html; charset=3D"US-ASCII" > Content-Transfer-Encoding: quoted-printable > > <HTML><FONT FACE=3D3Darial,helvetica><FONT SIZE=3D3D2 FAMILY=3D3D"SA= NSSERIF" =46ACE=3D > =3D3D"Arial" LANG=3D3D"0">I am not sure if I am doing this right...<B= R> > <BR> > <BR> > I copied the following from the bottom of the messages posted and the= n attem=3D > pted to go to this site Sunday morning, but could not get to it. = ; Did I=3D > do something wrong?<BR> > <BR> > <A HREF=3D3D"http://www.noicys.cjb.net/devcpp/ub.htm">http://www.noicys.cj= b.ne=3D > t/devcpp/ub.htm</A><BR> > <BR> > <BR> > Charles Starkey<BR> > <BR> > <BR> > <BR> > <BR> > <BR> > <BR> > </FONT></HTML> > --part1_60.315e07e4.2c0bb431_boundary-- > > > --__--__-- > > Message: 10 > Date: Sun, 1 Jun 2003 22:22:10 +0200 (CEST) > From: Per Westermark <pw...@ia...> > To: =3D?ISO-8859-1?Q?Juliano_P=3DE1vel_Brasil_Cust=3DF3dio?=3D <jpave= l...@bo...> > cc: dev...@li... > Subject: Re: [Dev-C++] Re: JPEG format > > Please reconsider. The jpeg library constains a lot of mature code, a= nd if > you decide to write your own code instead of using existing fully wor= king > code, then you will have what you do for the next months or years. > > /Per W > > On Sun, 1 Jun 2003, Juliano P=3DE1vel Brasil Cust=3DF3dio wrote: > > > Thanks both teosoft and Marcel. You helped me a lot. I think it= is > > suficient for me to write my own routines. > > > > []s > > Juliano > > > > Teosoft wrote: > > > > >Juliano, > > > > > >if you want a library to do so, try jpeglib > > > > > >For more information about the format try > > >JPEG-FAQ > > >The independent JPEG group web page http://www.ijg.org/ > > >The JPEG Comitte site (www.jpeg.org). > > > > > >Teosoft. > > > > > > > > > > > >> Does anyone know where I can find information - any website - o= n > > >>reading/writing JPEG files? > > >> > > >> Thanks for any help. > > >> Juliano > > >> > > >> > > > > > >---Publicidad-----------------------------------------------------= --- > > >=3DDAnete a los miles de sin pareja en Meetic... =3DA1te vas a ena= morar! > > >http://www.iespana.es/_reloc/email.meetic > > > > > > > > > > > > > > >------------------------------------------------------- > > >This SF.net email is sponsored by: eBay > > >Get office equipment for less on eBay! > > >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > >_______________________________________________ > > >Dev-cpp-users mailing list > > >Dev...@li... > > >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > > > > -- > > Visite minha p=3DE1gina: http://www.jpavel.kit.net > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > --__--__-- > > Message: 11 > Date: Sun, 01 Jun 2003 17:32:38 -0300 > From: =3D?ISO-8859-1?Q?Juliano_P=3DE1vel_Brasil_Cust=3DF3dio?=3D <jp...@bo...> > To: dev...@li... > Subject: Re: [Dev-C++] Re: JPEG format > > Advice accepted. :) > > Juliano > > Per Westermark wrote: > > >Please reconsider. The jpeg library constains a lot of mature code, = and =3D > if > >you decide to write your own code instead of using existing fully wo= rkin=3D > g > >code, then you will have what you do for the next months or years. > > > >/Per W > > > >On Sun, 1 Jun 2003, Juliano P=3DE1vel Brasil Cust=3DF3dio wrote: > > > > =3D20 > > > >> Thanks both teosoft and Marcel. You helped me a lot. I think it= is > >>suficient for me to write my own routines. > >> > >> []s > >> Juliano > >> > >>Teosoft wrote: > >> > >> =3D20 > >> > >>>Juliano, > >>> > >>>if you want a library to do so, try jpeglib > >>> > >>>For more information about the format try > >>>JPEG-FAQ > >>>The independent JPEG group web page http://www.ijg.org/ > >>>The JPEG Comitte site (www.jpeg.org). > >>> > >>>Teosoft. > >>> > >>> > >>> > >>> =3D20 > >>> > >>>> Does anyone know where I can find information - any website - on > >>>>reading/writing JPEG files? > >>>> > >>>> Thanks for any help. > >>>> Juliano > >>>> > >>>> > >>>> =3D20 > >>>> > >>>---Publicidad-----------------------------------------------------= --- > >>>=3DDAnete a los miles de sin pareja en Meetic... =3DA1te vas a ena= morar! > >>>http://www.iespana.es/_reloc/email.meetic > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.net email is sponsored by: eBay > >>>Get office equipment for less on eBay! > >>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>>_______________________________________________ > >>>Dev-cpp-users mailing list > >>>Dev...@li... > >>>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > >>> > >>> > >>> > >>> =3D20 > >>> > >>-- > >>Visite minha p=3DE1gina: http://www.jpavel.kit.net > >> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: eBay > >>Get office equipment for less on eBay! > >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>_______________________________________________ > >>Dev-cpp-users mailing list > >>Dev...@li... > >>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > >> > >> =3D20 > >> > > > > > > =3D20 > > > > --=3D20 > Visite minha p=3DE1gina: http://www.jpavel.kit.net > > > > > > --__--__-- > > Message: 12 > Date: Sun, 1 Jun 2003 13:34:26 -0700 (PDT) > From: David McKen <ci...@ya...> > Reply-To: ci...@ya... > Subject: Re: [Dev-C++] RPG Game A.I. book suggestion > To: dev...@li... > > Hmm, Looks good. > > ----- Original Message ----- > From: "Ricardo Amores Hern=E1ndez" <ri...@te...> > To: <ci...@ya...> > Cc: <dev...@li...> > Sent: Sunday, June 01, 2003 12:19 PM > Subject: Re: [Dev-C++] RPG Game A.I. book suggestion > > > > David McKen wrote: > > > > >Does anyone have any suggestions for a good book on game > > >A.I. > > >I would like one that deals with the aspects dealt with > > >RPG-type games. > > >I need to control the Non-Player Characters in the game > I > > >am writing. > > > > > >Thanks. > > > > > > > > > > > I don=B4t know a book, but a website: > > http://www.ai-depot.com > > > > Hope it may help you. > > > > -- > > --------------------------------------------------- > > Ricardo Amores Hern=E1ndez > > --------------------------------------------------- > > * Para contestar borra QUITAESTO de la direccion. > > * Remove QUITAESTO for reply. > > > > > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > --__--__-- > > Message: 13 > From: "Ioannis Vranos" <iv...@em...> > To: <Dev...@li...> > Subject: RE: [Dev-C++] remove from distribution ONE MORE TIME... > Date: Sun, 1 Jun 2003 23:47:29 +0300 > > Yes the URL has changed. I have notified Colin for this but hasn't =3D > replied > yet to my emails (may be he is out of town or something). The URL has > become: > > > http://www23.brinkster.com/noicys/devcpp/ub.htm > > > > > > > > Ioannis Vranos > =3D20 > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of > CSt...@ao... > Sent: Sunday, June 01, 2003 10:55 PM > To: Dev...@li... > Subject: [Dev-C++] remove from distribution ONE MORE TIME... > > > I am not sure if I am doing this right... > > > I copied the following from the bottom of the messages posted and the= n > attempted to go to this site Sunday morning, but could not get to it.= =3D > Did I > do something wrong? > > http://www.noicys.cjb.net/devcpp/ub.htm > > > Charles Starkey > > > > > --__--__-- > > Message: 14 > Date: Mon, 02 Jun 2003 00:14:28 +0200 > From: =3D?ISO-8859-1?Q?Ricardo_Amores_Hern=3DE1ndez?=3D <ricky@teleca= ble.es> > To: dev...@li... > Subject: Re: [Dev-C++] RPG Game A.I. book suggestion > > David McKen wrote: > > Does anyone have any suggestions for a good book on game > > A.I. > > I would like one that deals with the aspects dealt with > > RPG-type games. > > I need to control the Non-Player Characters in the game I > > am writing. > >=3D20 > > Thanks. > > > I don=3DB4t know a book, but a website: > http://www.ai-depot.com > > Hope it may help you. > > --=3D20 > --------------------------------------------------- > Ricardo Amores Hern=3DE1ndez > ICQ: 19463735 > MSN: zheo_ (at) hotmail (dot) com > --------------------------------------------------- > > > > > --__--__-- > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > End of Dev-cpp-users Digest |
|
From: Wociech <nie...@po...> - 2003-08-18 18:23:46
|
----- Original Message ----- =46rom: <dev...@li...> To: <dev...@li...> Sent: Sunday, August 17, 2003 1:44 PM Subject: Dev-cpp-users digest, Vol 1 #1620 - 15 msgs > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. opinion on as it could be the list (Rhuan Paulo Lopes Barros) > 2. Re: Help with application security (hiding strings in compiled binaries) (Mark Livingstone) > 3. RE: Compiler (Ioannis Vranos) > 4. Re: Compiler (Daniel K. O.) > 5. bit extraction problem (Dawood Vora) > 6. Re: Compiler (=3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D) > 7. complier solution -- well maybe (Michael D. Smith) > 8. Re: bit extraction problem (w.y.) > 9. Re: Compiler (Hossein Haeri) > 10. RE: Compiler (Per Westermark) > 11. RE: opinion on as it could be the list (P.D. van Zelst) > 12. Re: How do I store HUGE numbers. (Hossein Haeri) > 13. Re: Compiler (Per Westermark) > 14. Re: complier solution -- well maybe (Per Westermark) > 15. Re: How do I store HUGE numbers. (Hossein Haeri) > > --__--__-- > > Message: 1 > From: "Rhuan Paulo Lopes Barros" <rhu...@po...> > To: dev...@li... > Date: Sun, 17 Aug 2003 00:53:11 -0300 > Subject: [Dev-C++] opinion on as it could be the list > > I do not know if the remaining portion of the staff goes to agree to = me, =3D > but=3D20 > this list in email form is very bad to read the messages sent the lis= t. =3D20 > F=3DF3rum would have to be one type phpBB, it would be much more easy= to an=3D > swer=3D20 > the messages, and a suggestion would not crowd the box of entrance of= its=3D > =3D20 > email alone. if sufficiently people to agree we poderiamos to speak = with=3D > =3D20 > the staff of the Dev-c++ on the subject! or if they not to agree cou= ld=3D20 > create thus in same a forum. it are that we teriamos much more advan= tage=3D > s=3D20 > in our communication!=3D20 > > -------- > Rhuan Barros, 16 anos, > Brasil - Rio Grande do Sul - Porto Alegre, > T=3DE9cnico em Inform=3DE1tica > ICQ 45268878 > --------=3D20 > > =3D20 > > > --=3D20 > POP. Nem parece internet gr=3DE1tis.=3D20 > > Seja POP voc=3DEA tamb=3DE9m! > Acesse: http://www.pop.com.br/pop_discador.php e baixe o POPdiscador. > > > --__--__-- > > Message: 2 > Date: Sun, 17 Aug 2003 14:51:44 +1000 (EST) > From: Mark Livingstone <mli...@ip...> > Subject: Re: [Dev-C++] Help with application security (hiding string= s in compiled binaries) > To: dev...@li... > Reply-To: Mark Livingstone <mli...@ip...> > > On Fri, 15 Aug 2003 17:10:05 -0400 Ed Cottrell <emc@topsailconsulting= =2Ecom> wrote: > > EC> So, how can I hide those strings in the compiled code, other than > EC> building > EC> in some sort of encryption? Would building the passwords from > EC> individual > EC> characters (ASCII values) work? Other ideas? > > Build the DSN string in say ROT13 (or any other shrouding type routin= e) and > then when you go to use it, unshroud it. > > HTH > > MarkL > > > > > > --__--__-- > > Message: 3 > From: "Ioannis Vranos" <iv...@em...> > To: <dev...@li...> > Subject: RE: [Dev-C++] Compiler > Date: Sun, 17 Aug 2003 08:05:16 +0300 > > Ehehe, may be I shall put an answer for that question in the unsubscr= ibe > faq. :-) A more convenient solution would be an explicit "Pause after= run" > option in Dev-C++. > > > > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Smurf, Papa > > Sent: Saturday, August 16, 2003 8:49 PM > > To: dev...@li... > > Subject: RE: [Dev-C++] Compiler > > > > > > You guys should do a FAQ for these kinds of questions ;) > > Like what someone did for unsubscribing. > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...]On Behalf Of alir= eza > > goshtaei > > Sent: Saturday, August 16, 2003 7:30 PM > > To: dev...@li... > > Subject: [Dev-C++] Compiler > > > > > > Dear friend > > everytime I run the program in DEV-C++ the wondows > > console is closed so fast so I can't see the result. > > how come can I fix this problem ? > > thanks > > alex > > > > > --__--__-- > > Message: 4 > Date: Sun, 17 Aug 2003 03:35:31 -0300 > From: "Daniel K. O." <dan...@ya...> > CC: dev...@li... > Subject: Re: [Dev-C++] Compiler > > > And why the hell don't you guys include a template for console progra= ms > that shows how to pause before exiting? Oh wait... never mind... > > > > > Daniel K. O. > > > Ioannis Vranos wrote: > > >Ehehe, may be I shall put an answer for that question in the unsubsc= ribe > >faq. :-) A more convenient solution would be an explicit "Pause afte= r run" > >option in Dev-C++. > > > > > > > > > > > > > >Ioannis Vranos > > > > > > > > > --__--__-- > > Message: 5 > Date: Sun, 17 Aug 2003 15:07:01 +0800 > From: Dawood Vora <da...@ku...> > To: Dev C++ <dev...@li...> > Subject: [Dev-C++] bit extraction problem > > bit extraction problem > > Below is a program to extract the layout of the bits from an integer. > It works fine, if the input number is within the range of long type o= f int. > It is suppose to give me a message, if the input number is either gre= ater > than the max limits of long or lower than the min limits of long. Bu= t it > does not. Apparently the offending line is : "cin>>x;" If x is not = able > to accommodate any input number it simply stores the number 2 as per = my > system. Does anybody know, how to solve this problem. > > #include <cstdlib> > #include <iostream> > #include <climits> > using namespace std; > > #define BYTE 8 > > int main() > { > string bits; > long x; > unsigned long y =3D 1; > > cin>>x; > if ((x >=3D INT_MIN) && (x <=3D INT_MAX)){ > int i =3D 1; > while (i++ <=3D BYTE*sizeof(x)) { > if (x&y) > bits =3D '1' + bits; > else > bits =3D '0' + bits; > y<<=3D1; > } > cout<<"the bit layout in x :"; > cout<<bits<<'\n'; > } > else > cout<< "input number either too large or too small\n"; > > system("PAUSE"); > return 0; > > } > > > > --__--__-- > > Message: 6 > Date: Sun, 17 Aug 2003 09:36:59 +0200 > From: =3D?ISO-8859-1?Q?OROSZI_Bal=3DE1zs?=3D <or...@vp...> > To: dev...@li... > Subject: Re: [Dev-C++] Compiler > > Ioannis Vranos wrote: > > > Ehehe, may be I shall put an answer for that question in the unsubs= cribe > > faq. :-) A more convenient solution would be an explicit "Pause aft= er run" > > option in Dev-C++. > > Agreed, and it MUST be turned on by default. That would save us 5 mai= ls > a week. > People don't read any faq nowadays. Just always ask... > > -- > Greetings, > Bal=E1zs > > > > --__--__-- > > Message: 7 > Date: Sun, 17 Aug 2003 03:30:44 -0500 > To: dev...@li... > From: "Michael D. Smith" <for...@hi...> > Subject: [Dev-C++] complier solution -- well maybe > > When you start a new console operation, it has include stdio, main, t= he {} > and return already there. Why not have the pause by default. It's a console > operation and you can safely assume no one will not need to do SOME > debugging so why not? > > But then they would be asking how to make it stop :) > > ms > > Slap it on the side. Works with my TV set. > From the original My Favorite Martian comic book > > > > --__--__-- > > Message: 8 > Date: Sun, 17 Aug 2003 06:59:58 -0400 > From: "w.y." <yok...@ve...> > To: Dev C++ <dev...@li...> > Subject: Re: [Dev-C++] bit extraction problem > > > > Dawood Vora wrote: > > > > string bits; > > long x; > > unsigned long y =3D 1; > > > > cin>>x; > > if ((x >=3D INT_MIN) && (x <=3D INT_MAX)){ > > Try this out and examine the output carefully: > > cout << "sizeof(int) =3D " << sizeof(int) << endl; > cout << "sizeof(long) =3D " << sizeof(long) << endl; > cout << "sizeof(long long) =3D " << sizeof(long long) << endl= ; > > cout << "\nINT_MIN, INT_MAX =3D " << INT_MIN << ", " > << INT_MAX << endl; > cout << "LONG_MIN, LONG_MAX =3D " << LONG_MIN << ", " > << LONG_MAX << endl; > > cout << "\n(hex)INT_MIN, INT_MAX =3D " << hex << INT_MIN > << ", " << INT_MAX << endl; > cout << "(hex)LONG_MIN, LONG_MAX =3D " << LONG_MIN << ", " > << LONG_MAX << endl; > > cout << "\nLONG_LONG_MIN, LONG_LONG_MAX =3D " << dec > << LONG_LONG_MIN << ", " << LONG_LONG_MAX << endl; > cout << " (hex) =3D " << hex << LONG_LONG_MIN << ", " > << LONG_LONG_MAX << endl; > > > --__--__-- > > Message: 9 > From: "Hossein Haeri" <ult...@em...> > To: dev...@li... > Date: Sun, 17 Aug 2003 06:11:30 -0500 > Subject: Re: [Dev-C++] Compiler > > Dear Alireza (or Alex, don't know which!), > > Amongst all the group-given solutions to your problem, the most > portable is to use std::cin. (I presume that you are using C++, > and not C.) Use it this way: > > #include <iostream> > > int main() > { > ... > cin.get();//The last line of main() body > } > > Regards, > --Hossein > > -- > __________________________________________________________ > Sign-up for your own personalized E-mail at Mail.com > http://www.mail.com/?sr=3Dsignup > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job se= arch > http://corp.mail.com/careers > > > > --__--__-- > > Message: 10 > Date: Sun, 17 Aug 2003 13:23:45 +0200 (CEST) > From: Per Westermark <pw...@ia...> > To: Ioannis Vranos <iv...@em...> > cc: dev...@li... > Subject: RE: [Dev-C++] Compiler > > Yes, such a switch would be invaluable - some other tools have it - b= ut we > would still need a faq, since the mejority of newcomers wouldn't know > about it... > > /Per W > > On Sun, 17 Aug 2003, Ioannis Vranos wrote: > > > Ehehe, may be I shall put an answer for that question in the unsubs= cribe > > faq. :-) A more convenient solution would be an explicit "Pause aft= er run" > > option in Dev-C++. > > > > > > > > > > > > > > Ioannis Vranos > > > > * Programming pages: http://www.noicys.freeurl.com > > * Alternative URL 1: http://run.to/noicys > > * Alternative URL 2: http://www.noicys.cjb.net > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Smurf, Papa > > > Sent: Saturday, August 16, 2003 8:49 PM > > > To: dev...@li... > > > Subject: RE: [Dev-C++] Compiler > > > > > > > > > You guys should do a FAQ for these kinds of questions ;) > > > Like what someone did for unsubscribing. > > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...]On Behalf Of al= ireza > > > goshtaei > > > Sent: Saturday, August 16, 2003 7:30 PM > > > To: dev...@li... > > > Subject: [Dev-C++] Compiler > > > > > > > > > Dear friend > > > everytime I run the program in DEV-C++ the wondows > > > console is closed so fast so I can't see the result. > > > how come can I fix this problem ? > > > thanks > > > alex > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites includ= ing > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_0= 1/01 > > _______________________________________________ > > 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 > > > > > > --__--__-- > > Message: 11 > Reply-To: <mys...@xs...> > From: "P.D. van Zelst" <pa...@my...> > To: "'Rhuan Paulo Lopes Barros'" <rhu...@po...>, > <dev...@li...> > Subject: RE: [Dev-C++] opinion on as it could be the list > Date: Sun, 17 Aug 2003 13:25:39 +0200 > Organization: Mysterious Game Development > > There already is a Dev-C++ forum, hosted at SourceForge, but I find t= his > forum seriously flawed. It has no required membership, so tons of the > same posts (and troll posts) turn up way too frequently, oftentimes b= y > anonymous posters. Furthermore it doesn't support "sticky posts", so > it's not possible to keep a FAQ or other important information at the > top of the list at all times. > It would indeed be better if a different forum is used, but that woul= d > only work if it became the "official" forum. > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Rhuan > Paulo Lopes Barros > Sent: Sunday, August 17, 2003 5:53 AM > To: dev...@li... > Subject: [Dev-C++] opinion on as it could be the list > > > I do not know if the remaining portion of the staff goes to agree to = me, > but=3D20 > this list in email form is very bad to read the messages sent the lis= t. > > F=3DF3rum would have to be one type phpBB, it would be much more easy= to > answer=3D20 > the messages, and a suggestion would not crowd the box of entrance of > its=3D20 > email alone. if sufficiently people to agree we poderiamos to speak > with=3D20 > the staff of the Dev-c++ on the subject! or if they not to agree cou= ld=3D20 > create thus in same a forum. it are that we teriamos much more > advantages=3D20 > in our communication!=3D20 > > -------- > Rhuan Barros, 16 anos, > Brasil - Rio Grande do Sul - Porto Alegre, > T=3DE9cnico em Inform=3DE1tica > ICQ 45268878 > --------=3D20 > > =3D20 > > > --=3D20 > POP. Nem parece internet gr=3DE1tis.=3D20 > > Seja POP voc=3DEA tamb=3DE9m! > Acesse: http://www.pop.com.br/pop_discador.php e baixe o POPdiscador. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites includin= g > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303= _01 > /01 > _______________________________________________ > 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 > > > > > --__--__-- > > Message: 12 > From: "Hossein Haeri" <ult...@em...> > To: dev...@li... > Date: Sun, 17 Aug 2003 06:29:35 -0500 > Subject: Re: [Dev-C++] How do I store HUGE numbers. > > Dear David, > > > Cool, > > It looks like it is exactly what I want. > > Thanks. > > > I would apeciate it if you would tell me when you complete > > it. > > Well, I don't really know. But, I hope to finish it whithin the > few next weaks (if no disaster jumps in). > > Do you want to test the version using boost::shared_ptr<>, > meanwhile? > > > Thanks in Advance > You'r welcome freind, no need to thanks! > > Regards, > --Hossein > -- > __________________________________________________________ > Sign-up for your own personalized E-mail at Mail.com > http://www.mail.com/?sr=3Dsignup > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job se= arch > http://corp.mail.com/careers > > > > --__--__-- > > Message: 13 > Date: Sun, 17 Aug 2003 13:32:54 +0200 (CEST) > From: Per Westermark <pw...@ia...> > To: Hossein Haeri <ult...@em...> > cc: dev...@li... > Subject: Re: [Dev-C++] Compiler > > Why bother about the most portable single-line solution? > > When I develop a console app, I want it to behave as a console app, i= =2Ee. > not require some extra input in the end. > > I add the system("pause"); command during testing, just to allow the > program to be run from the editor. When I stop compiling with debug, = I > don't want the pause anymore. > > For a portable solution, the code should try and figure out if it was= run > from the command line or from the desktop. > > /Per W > > On Sun, 17 Aug 2003, Hossein Haeri wrote: > > > Dear Alireza (or Alex, don't know which!), > > > > Amongst all the group-given solutions to your problem, the most > > portable is to use std::cin. (I presume that you are using C++, > > and not C.) Use it this way: > > > > #include <iostream> > > > > int main() > > { > > ... > > cin.get();//The last line of main() body > > } > > > > Regards, > > --Hossein > > > > -- > > __________________________________________________________ > > Sign-up for your own personalized E-mail at Mail.com > > http://www.mail.com/?sr=3Dsignup > > > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job search > > http://corp.mail.com/careers > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites includ= ing > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_0= 1/01 > > _______________________________________________ > > 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 > > > > > > --__--__-- > > Message: 14 > Date: Sun, 17 Aug 2003 13:34:13 +0200 (CEST) > From: Per Westermark <pw...@ia...> > To: "Michael D. Smith" <for...@hi...> > cc: dev...@li... > Subject: Re: [Dev-C++] complier solution -- well maybe > > At least my installation adds the system("pause") command. I don't > remember adding the line myself to the template, but then again, I > sometimes do edit the templates, and I'm known to be forgetful :-) > > /Per W > > On Sun, 17 Aug 2003, Michael D. Smith wrote: > > > When you start a new console operation, it has include stdio, main,= the {} > > and return already there. Why not have the pause by default. It's a console > > operation and you can safely assume no one will not need to do SOME > > debugging so why not? > > > > But then they would be asking how to make it stop :) > > > > ms > > > > Slap it on the side. Works with my TV set. > > From the original My Favorite Martian comic book > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites includ= ing > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_0= 1/01 > > _______________________________________________ > > 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 > > > > > > --__--__-- > > Message: 15 > From: "Hossein Haeri" <ult...@em...> > To: dev...@li... > Date: Sun, 17 Aug 2003 06:42:12 -0500 > Subject: Re: [Dev-C++] How do I store HUGE numbers. > > Dear Per, > > > Have you looked at the GNU MP library (GMP). > > http://www.swox.com/gmp/ > > Thank you for informing me about a new link. > > > It has good documentation, a large number of functions, and is well > > tested. > > Oh yeah! It seems so (and I'm sure that's actually the case). > But, maybe it is not that bad to let my library to be tested. > Anyway, if David needs a reliably tested library, there is > another one that is so reliable in comparison with mine. I don't > have a direct link to it, but it is (likely to be) named BigInt > (or some variation of it) , and it is somewhere whithin the boost > huge repository. It is best to search for it in: > > http://www.boost.org > > Regards, > --Hossein > > -- > __________________________________________________________ > Sign-up for your own personalized E-mail at Mail.com > http://www.mail.com/?sr=3Dsignup > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job se= arch > http://corp.mail.com/careers > > > > > --__--__-- > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > End of Dev-cpp-users Digest |