|
From: <sj...@ne...> - 2004-08-26 05:10:40
|
Hello, I'm writing to ask if somebody knows a C tutorial to start learning this = language, which teach me to create simple programs running on ms. dos = and programs running on windows. If somebody knows, could you tell me = please? Best regards S=E9rgio Neves |
|
From: Philip B. <phi...@pb...> - 2007-03-15 18:28:41
|
Hi people, I have a quick question. I'm just learning about resource scripts, so = that I can add my own custom icons etc to my executables which is a = pretty handy feature. There is something that I'm wondering though. I have set GCC to strip my = executable as that seems to make it a whole lot smaller. Now my question = is, will that remove my resources as well? Or is it just removing junk that = doesn't need to be there anyway? Also, I sett the further optimisation = feature to the highest value, but I can't really tell any difference in the execution = speed/performance. What does it actually do when that option is set? = Obvious things are to remove loops with no instructions in them and stuff like that, = but what else does it do? Regards Philip Bennefall |
|
From: Daniel K. O. <dan...@gm...> - 2007-03-16 03:22:25
|
Philip Bennefall escreveu: > Or is it just removing junk that doesn't need to be there anyway? The "junk" it removes need to be there if you want any useful information when your program crashes, or to get any useful info from a debugger (other than raw machine instructions). No, it won't remove anything it needs to run correctly (like resources). > Also, I sett the further optimisation feature to the > highest value, but I can't really tell any difference in the execution speed/performance. What does it actually do when that option is set? Obvious things > are to remove loops with no instructions in them and stuff like that, but what else does it do? > See: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html --- Daniel K. O. |
|
From: Roger F. <ra...@ha...> - 2004-08-27 07:56:12
|
Aloha from Honolulu, I've been using "Sams Teach Yourself C++ In 24 Hours" by Jesse=20 Liberty (Sams Publishing) . I also have "C++ The Complete Reference" by=20 Herbert Schildt (McGraw-Hill/Osborne) . Teach Yourself... came with a=20 CD containing the source code for all the lessons as well as the DevC++=20 compiler. I found the lessons to be easy to understand. I like having=20 the Reference though, so I can look up a specific word that the lesson=20 book may not have been clear about. Like having a dictionary on hand=20 while reading a textbook. I also found a book called "Effective C++=20 Second Edition" by Scott Meyers (Addison-Wesley). This is more=20 advanced, but describes how and why things happen as they do, because of=20 language specifications and compiler implimentation. It provides many=20 examples of how not to do things, and why not; as well as how to do=20 things and why. Hope this helps, Roger S=E9rgio Neves wrote: > Hello, > I'm writing to ask if somebody knows a C tutorial to start learning=20 > this language, which teach me to create simple programs running on ms.=20 > dos and programs running on windows. If somebody knows, could you tell=20 > me please? > =20 > Best regards > =20 > S=E9rgio Neves |
|
From: Scott S. <age...@co...> - 2004-08-27 11:42:15
|
For learning C, there is The C Programming Language by K&R. Probably the best guide out there to C! Also, I would not recommend Sam's Teach Yourself C++ in.. books. You can/'t learn a language in 24 hours or even 30 days. It takes a long time to learn a language. I have been working on C/C++ for about 1 3/4 years, and just now consider myself an intermediate programmer. Different people take different times though. Probably the only ones out there who can learn a language in a week are super hackers like ESR and Stallman. Anyways, The C++ Programming Language is a good book to have. It is written by Bjarne Stroustrup, creator of the C++ language. The special edition has a hard cover and a few new appendices, but costs more than the 3rd edition. However, if you flip through C++ books a lot, special edition will help. If you can get through Effective C++, you should be apply to get through The C++ Programming Language. Also, check out More Effective C++ by Scott Myers if you read the first. Roger Furer wrote: > Aloha from Honolulu, > I've been using "Sams Teach Yourself C++ In 24 Hours" by Jesse > Liberty (Sams Publishing) . I also have "C++ The Complete Reference" > by Herbert Schildt (McGraw-Hill/Osborne) . Teach Yourself... came > with a CD containing the source code for all the lessons as well as > the DevC++ compiler. I found the lessons to be easy to understand. I > like having the Reference though, so I can look up a specific word > that the lesson book may not have been clear about. Like having a > dictionary on hand while reading a textbook. I also found a book > called "Effective C++ Second Edition" by Scott Meyers > (Addison-Wesley). This is more advanced, but describes how and why > things happen as they do, because of language specifications and > compiler implimentation. It provides many examples of how not to do > things, and why not; as well as how to do things and why. > Hope this helps, > Roger > > Sérgio Neves wrote: > >> Hello, >> I'm writing to ask if somebody knows a C tutorial to start learning >> this language, which teach me to create simple programs running on >> ms. dos and programs running on windows. If somebody knows, could you >> tell me please? >> >> Best regards >> >> Sérgio Neves > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Roger F. <ra...@ha...> - 2004-08-30 01:16:11
|
Aloha from Honolulu, I got "Sams Teach Yourself C++..." at CompUSA, "The Complete=20 Reference..." at Barnes & Noble Booksellers, and "Effective C++..." at a=20 used-books store. If those aren't nearby, try Amazon.com or perhaps an=20 on campus bookstore at your local college, often they'll have used editio= ns. As for not being able to learn it in 24 hours, that's just the=20 title. The book is organized into 24 lessons. I've studied them one at=20 a time and run through the codes. Its taken me about 3 or 4 hours per=20 lesson. Some are more complex than others. I look things up in other=20 books when something is not clear and I'm not concered about how long it=20 takes, just how well I understand the subject matter. When something is=20 still puzzling me after looking at my books, I email this users list or=20 look around at other web sites--type C++ in the search engine and see=20 where it leads. The book by Bjarne Stroustrup is also at Barnes & Noble, but it was=20 $5 more than "The Complete Reference...", its copyright date was 2002=20 (vs 2003), "The Complete Reference..." has more pages, and the author of=20 "The Complete Reference..." served on the ANSI/ISO committee that=20 published the standard. Don't get me wrong; as soon as I can part with=20 another $50 chunk on a book, I'll add Stroustrup to my library. But=20 when spending that much, I examined both books thoroughly before =20 making my choice. Happy Programming, Roger S=E9rgio Neves wrote: >Where do I find this book? Could you send me or give me a link to downlo= ad >it please? >Thanks > >S=E9rgio Neves >----- Original Message ----- >From: Roger Furer <ra...@ha...> >To: DevC++ Users <Dev...@li...> >Sent: Friday, August 27, 2004 8:53 AM >Subject: Re: [Dev-C++] A question > > >Aloha from Honolulu, > I've been using "Sams Teach Yourself C++ In 24 Hours" by Jesse >Liberty (Sams Publishing) . I also have "C++ The Complete Reference" by >Herbert Schildt (McGraw-Hill/Osborne) . Teach Yourself... came with a >CD containing the source code for all the lessons as well as the DevC++ >compiler. I found the lessons to be easy to understand. I like having >the Reference though, so I can look up a specific word that the lesson >book may not have been clear about. Like having a dictionary on hand >while reading a textbook. I also found a book called "Effective C++ >Second Edition" by Scott Meyers (Addison-Wesley). This is more >advanced, but describes how and why things happen as they do, because of >language specifications and compiler implimentation. It provides many >examples of how not to do things, and why not; as well as how to do >things and why. >Hope this helps, >Roger > >S=E9rgio Neves wrote: > > =20 > >>Hello, >>I'm writing to ask if somebody knows a C tutorial to start learning >>this language, which teach me to create simple programs running on ms. >>dos and programs running on windows. If somebody knows, could you tell >>me please? >> >>Best regards >> >>S=E9rgio Neves >> =20 >> > > > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >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 > > > > =20 > |