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
Here's a look at the Bureau of Labor stats on engineering jobs over the coming decade.
Using ultra-wideband wireless, any item can be located to a level of pinpoint precision that’s never before been possible.
Coatings and sealants are getting more versatile to deal with miniaturization and multiple materials, and tougher to meet requirements for higher reliability.
DMDII is working with a number of partners to create and utilize augmented reality instructions for the plant floor.
Visualization and virtual reality tools allow design engineers to build virtual prototypes that can be manipulated collaboratively. You can swap out materials and store data within the file.
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.
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