OG_Matveychick1's blog

By OG_Matveychick1, history, 2 years ago, In English

I wanted to make a number generator using this chrono::steady_clock::now ().time_since_epoch ().count ();, but VS gives these 3 errors: "C2653 chrono: is not a class or namespace name", "C3861 now: id not found", "C2737 : the object needs to be initialized ". And in sending the code to codeforces everything works with the GNU G++20 compiler.

| Write comment?
»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Try removing #include "stdafx.h" and manually including the needed headers.