auto in C++ is the same as var in C#. Auto keyword is defined in upcoming C++ standard C++0x The news is, that latest Microsoft Visual Studio C++ 2010 have support for this keyword. auto keyword has a new meaning – ‘declares a variable whose type is deduced from the initialization expression in its declaration’. …
Tag Archives: C#
It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010
It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010. Because include file ‘Microsoft Visual Studio 10.0\VC\include\yvals.h’ has the following code block: #if _SECURE_SCL_THROWS #ifndef _SILENCE_DEPRECATION_OF_SECURE_SCL_THROWS … #undef _SECURE_SCL_THROWS #pragma _CRT_WARNING( _DEPRECATE_SECURE_SCL_THROWS ) … It gets undefined, and if you search c++ header files, there are no references to _SECURE_SCL_THROWS anymore. The strange part …
Continue reading “It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010”
Free (Open Source) C++ Profiler for Visual Studio 2008
Visual Studio 2008 Pro does not ship with native profiler. Only Team edition does. Sleepy is a C/C++ CPU profiler for Windows systems. Very Sleepy is improved version with Threading support and much more. Thanks to codersnotes.com, Richard Mitton, Nicholas Chapman, Dan Engelbrecht.