Yesterday we saw the old, today we see the obscure, maybe obscure is a bit strong, Dennis G sent me this rather interesting pattern he came across in a product he was maintaining, I didn't quite get it ...

if (!memcmp(hdr.cname,"CBLECO10",7)) 
  recttls[F_CATEG] = "Primary Users", 
  recttl[F_CATEG] = "Primary User", 
  rechdr[F_CATEG] = "Primary User: "; 

After a bit of explanation, the understanding set in, you see, the comma operator (C, C++) combines multiple expressions into a single statement, this allows you to save some time wrapping the statements in a curly-brace {} block.

(and yes, the grammar abuse is a pun as well)

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!