25 Feb '12, 3pm

Combining C's volatile and const keywords

Does it ever make sense to declare a variable in C or C++ as both volatile (in other words, "ever-changing") and const ("read-only")? If so, why? And how should you combine volatile and const properly? One of the most consistently popular articles on the Netrino website is about C's volatile keyword. The volatile keyword, like const, is a type qualifier. These keywords can be used by themselves, as they often are, or together in variable declarations. I've written about volatile and const individually before. If you haven't previously used the volatile keyword, I recommend you read "How to Use C's volatile Keyword" on Netrino.com before going on. As that article makes plain: "C's volatile keyword is a qualifier that is applied to a variable when it is declared. It tells the compiler that the value of the variable may change at any time--without any action being taken by th...

Full article: http://www.eetimes.com/discussion/barr-code/4236917/Combi...

Tweets

Finding keywords | Wordtracker via @wordtracker

Finding keywords | Wordtracker via @wordtracker

wordtracker.com 05 Mar '12, 1pm

can give you great ideas for creating content. Your site visitors are likely to have a ton of questions about all sorts of...

e c c o * e c o: Kowtow's Law of Tangents for A...

eccoeco.blogspot.com 26 Feb '12, 8am

I love the raw purity and geometric versatility of this latest collection by New Zealand organic fair trade label, Kowtow ...

What every Malaysian needs to know about ‘race’...

blog.limkitsiang.com 27 Feb '12, 3am

By Clive Kessler | February 26, 2012 The Malaysian Insider (Part 2 & Part 2b ) Feb 26 — The many faces of “bangsa”: “Peopl...

How to create a Ruby extension in C in 43 second

rubyinside.com 01 Mar '12, 9pm

Zenspider, the master of all things Ruby crossed with C, picked up the gauntlet and, using RubyInline (previously covered ...

Is it best to optimize your site for just one o...

seomoz.org 04 Mar '12, 1pm

Is it best to optimize your site for just one or two keywords? Posted by Joshua Johnson about 4 hours ago in On-Page / Sit...