Tuesday, July 13, 2010

About C / C++ / C#: Congrats to Stole

If you can't see this email, click here

About.com

C / C++ / C#

Fundamentals

Tips & Tools

Going Pro



From David Bolton, your Guide to C / C++ / C#
Who won Programming Contest 36 with less than a 10th of a second over the other entrant. Commiserations to a 3rd entrant who had to retire because his very fast code wasn't correct! Have a great week and keep sending your questions, requests etc in! I try to reply to everybody who writes to me.

xScreenSaver Collection for Mac/Linux
Most of my programming is Windows and iPhone but occasionally my Mac gets other uses such as compiling Mac code. A recent example is xScreenSaver; Jamie Zawinski has created and collected 200 screen savers in both binary and source form. Don't ask him for Windows versions as it won't happen ever! If you've got a Unix System running X11 then you may already have this collection.but if you can't be bothered compiling the Mac version just use the DMG to install the binaries.

Microsoft Tidies Up Web Programming
I'll give Microsoft their due, they don't stop trying to get the word across. Their latest initiative (still in Beta) is WebMatrix which is an easy to install free bundle of IIS Developer Express (a development Web server), ASP.NET, and SQL Server Compact (an embedded database). It uses the latest version of the Web Platform Installer that simplifies installation and makes sure everything is there. Curiously, they've also got a gallery of open source applications which includes well known PHP Apps such as WordPress. WebMatrix lets you code, test, and deploy both ASP.NET and PHP applications side by side. More importantly, if you've ever deployed an ASP.NET website to a live server you'll know the joy (not!) of moving the database, website config files etc. This is all handled by WebMatrix. It even helps improve your Search Engine Optimization by offering suggestions to improve it. If you have .NET 4 installed then WebMatrix only a 15 MB download. Otherwise it's 50MB. There's a very detailed overview of WebMatrix on Scott Guthrie's blog.

Make your .NET 4 Programs More Complex!
The System.Numerics namespace in .NET 4 supports Complex numbers. Complex numbers have two parts, both numbers, a real part and an imaginary part which is a multiple of the square root of -1. They can be very handy in some engineering and maths calculations, so long as the imaginary part eventually resolves to 0! Internally the two parts (real and imaginary) are stored as double precision numbers and operators provided to do basic maths (add, subtract, multiply and divide, unary negate) and square roots. To be honest, most people except a few electronics engineers will never have the need to use Complex numbers. The imaginary part is usually called i or j (in electronics as i is a notation for electrical current) and although the square root of minus one doesn't exist as a real number, it is a useful mathematical method for applying vectors in some situations. This page provides a couple of examples of uses of complex numbers. I promise I will never ever mention them again!

Never Programmed Before? Start Here
Learn how to program computers as a living or just for recreational fun. Find out how to make a computer do what you want.

 


C / C++ / C# Ads
Featured Articles
Other Blogs You might find Interesting
Welcome to the C Area with Articles about C Programming
Welcome to the C++ Area with Articles about C++ Development
Welcome to the C Sharp Area with Articles about C Sharp Development
Learn about Commercial Software Development
All about Games Programming

 

More from About.com

Plan a Unique Vegas Wedding
The minister, music and champagne are just the beginning -- why not get married aboard a helicopter or have a pirate swing in to deliver your rings? Arrrr! More>



Join About.com's User Panel!
Share your opinions and help us make About.com more relevant, informative and enjoyable to use. More>




This newsletter is written by:
David Bolton
C / C++ / C# Guide
Email Me | My Blog | My Forum
 
Sign up for more free newsletters on your favorite topics
You are receiving this newsletter because you subscribed to the About C / C++ / C# newsletter. If you wish to change your email address or unsubscribe, please click here.

About respects your privacy: Our Privacy Policy

Contact Information:
249 West 17th Street
New York, NY, 10011

© 2010 About.com
 


Must Reads
Programming Challenges
About C, C++ and C#
C++ for Beginners
C++ Programming
Intro to OOP

Advertisement

No comments: