----------------------------------------------------------- --< http://www.programmers-corner.com >-- ----------------------------------------------------------- In today's issue: October 18th, 2004 Stop in at Programmer's Corner. Share some knowledge in your favorite language. Learn some things in 3 others! 1. Introduction 2. What's New at Programmer's Corner! 3. Object Oriented Programming and Inheritance with C++ 4. Tips for Everyone 5. Articles of Interest 6. 15 Minutes of Fame 7. Subscribe/Unsubscribe Information ----------------------------------------------------------- 1. Introduction: Welcome to the current release of the Programmer's Corner newsletter. This newsletter will be delivered to your mailbox on the 15th of every month. If you have some friends or coworkers who might like to receive this newsletter, please forward this to them. You can ask them to sign up at: http://www.programmers-corner.com/newsletter-subscribe.php If you have some suggestions for what we should put into the newsletter, please visit our forums and leave a note. Post it in the Lounge... :) ~ Eric ----------------------------------------------------------- 2. What's New at Programmer's Corner! My daughter is new... :) But she really hasn't made an appearance yet... although there is a link to some pictures in the Lounge. But y'all probably don't want to hear all about how cute my daughter is, so let's get on with the latest content... We have a couple of new topics showing up this time around, including an excellent collection of Python and JavaScript examples. Source Code Submissions: C Submissions, by Anonymous - Graphic simulation of the N-Queen problem PHP Submissions, by Dan Gronitz - Email Address Check PHP Submissions, by Paul Giannaros - Closing Unclosed Tags Python Submissions, by Paul Giannaros - Generating a generic web template - Saving and Retrieving an Object and all its Properties - Backup Script Based on Directories in a Text File. - Printing Digits Found Twice in a Four-Digit Number - A Simple Dialog and Button with PyQt - A Simple Dialog and Text Label with Tkinter - Using sleep to wait a certain amount before continuing - Retrieving the subjects from emails in your Gmail inbox - 'Send email through Gmail' script JavaScript Submissions, by Dan Gronitz - Javascript Manual Slideshow/Image Selector - Count Down Clock - Document Last Modified - Greeting By The Hour - Multiple Select Lists JavaScript Submissions, by Paul Giannaros - Getting the Browser Handle to an Object in One Function Here is a link to the most recent Source Code: http://www.programmers-corner.com/source-code.php Articles Submissions: General Submissions, by Eric D. Burdo - Issues and Consideration of GUI Development Here is the link to all our Articles: http://www.programmers-corner.com/articles.php Remember, any submissions submitted this month (September) will be listed in the October newsletter with your name. You can read the most current news at: http://www.programmers-corner.com/ ----------------------------------------------------------- 3. Object Oriented Programming and Inheritance with C++ Before I begin, make sure that you at least have a working knowledge of non-object oriented C++ Programming. If you know object oriented programming in another language it will be an advantage. Object Oriented Programming is a rather difficult subject and it requires a new way of thinking to write programs. So if you don't understand some parts as you read don't worry.....read it once again till you understand a bit more and then continue reading. As you keep going ahead concepts will automatically be clear to you. In Non Object oriented programming problems are based on the algorithimic point of view. In object oriented programming we have to think from a design perspective. Non OOP focuses on the algorithm while OOP focuses on data. This maybe slightly hard to understand as of now but as we continue you will have a better understanding of object oriented programming. Let us by this example see how classes function: #include class sample { private: int data; public: void fun1() { data=15; } void fun2() { cout<http://www.programmers-corner.com/viewTutorial.php/65 --------------------------------------------------------- 4. Tips for Everyone General Programming: Always be aware of the keywords used by your programming language and avoid using them as variable names. Web Design: Color choices for websites can be difficult at times. To make it easier on yourself use colors found in nature. Snap a photo, look at your old photos or ones online and use a color picker program to get colors that can make your site come alive. Nattyware's Pixie http://www.nattyware.com/pixie.html) is a good, free color picker. SQL Server: To increase performance in your stored procedures, triggers, and batch SQL scripts, use SET NOCOUNT ON at the beginning. This will suppress extra messages such as record counts and eliminate excess network traffic. ----------------------------------------------------------- 5. Articles of Interest - A nice article that compares the features of C# to Java. http://www.genamics.com/developer/csharp_comparative.htm - SQL Tutorial and Quiz - The quiz is a great way to test your knowledge... 20 questions... each worth 5 pts. http://www.w3schools.com/sql/ - Solving CSS's lack of min-height browser support: http://www.mezzoblue.com/archives/2004/09/16/minheight_fi/index.php - Microsoft SQL Server Best Practices Analyzer is a database management tool that lets you verify the implementation of common Best Practices on your servers. http://www.microsoft.com/downloads/details.aspx?FamilyId=B352EB1F-D3CA-44EE-893E-9E07339C1F22&displaylang=en - Python Quick Tips http://p205.ezboard.com/fprogrammerscornerfrm63 ----------------------------------------------------------- 6. 15 Minutes of Fame Do YOU want to be known as a knowledgeable programmer? Do YOU want YOUR Tips and Source Code published? How about your Articles or Tutorials? We will help you to become a published author! Write Articles for the Programmer's Corner Newsletter! Send us your tips for simplifying code, or for speeding up the coding process. Send us your source code samples. You get FULL CREDIT! Sign up today at: http://www.programmers-corner.com/signup-author.php ----------------------------------------------------------- 7. Subscribe/Unsubscribe Information To Subscribe: http://www.programmers-corner.com/newsletter-subscribe.php To unsubscribe: http://www.programmers-corner.com/newsletter-unsubscribe.php -----------------------------------------------------------
