Running root programs with VS

Error	C4996	'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'	rootinvs	c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.14.26428\include\xutility	2483

I tried to run root with Visual Studio following the tutorial here

However, I receive the error mentioned above. Any help?

Well, I don’t know where this page is coming from, but it is way too old… What do you want to achieve exactly?

I was curious if root macros could be built and run using VS the same way one does C. That’s when I found that page. The usual way would be to write the macro in an editor then .L in a root session and so on.

Sure it is possible, but it is much more complicated…

Oh! Could you redirect me to any tutorial ?

Sorry, but I don’t know any, and I’m afraid there is none…