Danny's Lab

Engineering the World

Skip to content
  • Home
  • About
  • Projects
    • ccsh
    • PortKnock
    • Sierpinski’s Triangle

C

The problem with Object-Oriented Programming

danny2018/04/08

I’ve been a die hard C programmer for many years.  But it wasn’t until Objective-C (and eventually Swift) that I found an Object-Oriented programming that I found acceptable.  And the reason was because while they had objects and classes, these weren’t the only ways to have different components interact with each other.  I’ve often had […]

C, Objective-C, Software Development, Swift

Multi-Line Macros in C

danny2010/06/162010/06/20

The correct form of a multi-line macro is:

#define run_and_test() do { run(); test(); } while(0) /* Note: no ending semi-colon */

C, Software Development

Categories

  • Business
  • Computers and Software
    • HomeOps
    • Recommendations
    • Servers
    • Tips
  • Fun
    • Logic Problems
  • Linux
    • Tips
  • Mac
    • Tips
  • Poetry
  • Quotes
  • Society
  • Software Development
    • Apple
    • Backend
    • C
    • Embedded
    • iPhone
    • Objective-C
    • Swift
  • Technology
  • Uncategorized
  • Videos
    • Inspirational
  • Web

Account Actions

  • Register

Log In

Theme Layout

Color Scheme