HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
GStringham
User Rank
Iron
Re: Nov 14 - Day 3: Writing Code That Is Reusable Through Flexibility
GStringham   11/14/2012 4:29:29 PM
NO RATINGS
The reason I #undef on slide 10 is to make sure they are clear for the subsequent #define. If it was already defined I would get a compiler error. Also by #undef'ing it first, then if I inadvertently forget to #define it to something, it will make sure the check on slide 12 will work properly and not "pass" the test because someone else had #defined it before.



Partner Zone
Latest Analysis
You didn’t become an engineer on your own, junior.
An electronic, vibrating shoe insole developed by the Wyss Institute at Harvard has been shown to enhance athletic performance as well as provide therapeutic benefits.
A researcher at the Iowa State University has developed biodegradable fabric from a byproduct of kombucha tea that is similar to leather and can be used to create textiles.
Do you long for the days of retro video gaming? Here's how you can turn an old PC into an old-school arcade cabinet with only $100 and a bit of woodwork.
A Vienna, Austria-based startup called Heliofloat has designed a platform of solar panels that can be deployed in lakes or oceans to generate solar-based electricity.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
May 2 - 6, Embedded System Design Techniques™ - Rapid Prototyping Embedded Systems using Micro Python
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service