ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

To admins: auto in C++
Posted by ASK 6 Nov 2010 16:48
The new C++ standard allows to automatically deduce types, that is instead of "for(vector<int>::const_interator i = v.begin()" one can simply write "for(auto i = v.begin()".

The good thing is that the new compiler supports this feature, the bad thing is that /Zc:auto is not added to the command line.

Please, add /Zc:auto to the C++ command line.
bump (-)
Posted by ASK 10 Nov 2010 21:37