HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
MarkO
User Rank
Iron
Re: Nov 14 - Day 3: Writing Code That Is Reusable Through Flexibility
MarkO   11/14/2012 2:59:44 PM
NO RATINGS
@Tocard and @pbrodeur


The "proper" thing to do, is to rewrite it correctly..  But doing this as an Emergency Fix, lets me fix the Less Common version, with out breaking the More common version..

The #undef is like a "Get ot of Jail Free" card, because once you #define something, it is that way for the duration of the compile...  Unless you have the #undef...



Partner Zone
Latest Analysis
Design collaboration now includes the entire value chain. From suppliers to customers, purchasing to outside experts, the collaborative design team includes internal and external groups. The design process now stretches across the globe in multiple software formats.
Researchers have developed a hybrid energy harvester for generating electricity from multiple spectrums of solar energy.
A new high-pressure injection-molding technology produces near-net shape parts with 2-inch-thick walls from high-performance materials like PEEK, PAI, and carbon-filled polymers. Parts show no voids, sinks, or porosity, have more consistent mechanical properties, and are stronger.
These futuristic military robots will help soldiers and other military personnel better perform their duties.
Icon Labs has developed a whitepaper to help determine the type of cybersecurity needed based on the type of device.
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