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
We shared our list, now Design News readers tell us which artificial intelligence movies they watch again and again.
Researchers have been working on a number of alternative chemistries to lithium-ion for next-gen batteries, silicon-air among them. However, while the technology has been viewed as promising and cost-effective, to date researchers haven’t managed to develop a battery of this chemistry with a viable running time -- until now.
Norway-based additive manufacturing company Norsk Titanium is building what it says is the first industrial-scale 3D printing plant in the world for making aerospace-grade metal components. The New York state plant will produce 400 metric tons each year of aerospace-grade, structural titanium parts.
Researchers have simplified the fabrication of the geometric requirements for fluid motion in microrobots for in vivo medical applications.
The National Aeronautics and Space Administration’s recently announced plan to put an electric airplane in the air by 2018 is forward-looking, but hardly unique.
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.
Jul 11 - 15, Embedded System Design Techniques™ - Debugging Real-time Embedded Software – Hands on
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10


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