Hi there! From tomorrow, I’ll be posting daily “Tip of the Day” posts. They’ll contain links or little pieces of information I think you might find useful. Enjoy!
You know the C++ auto keyword? The somewhat pointless one which is the default storage specifier anyway? Well in C++0x, the keyword has been re-purposed and now serves a more useful role!
(Remember, this is a feature of the upcoming standard, so it won’t necessary be widely supported yet. However, I have successfully compiled all the code below – apart from bits specifically designed to create errors – in both MSVC and MinGW.)
Consider the following code. Read more…
Categories: C++, C++0x, News
Tags: C++, C++0x, Compiler, Languages, Main function (programming), Microsoft Visual Studio, Programming, Source code, Visual C++