O
O
omerkhan2021-12-17 15:37:39
C++ / C#
omerkhan, 2021-12-17 15:37:39

How to fix "identifier 'to_string' is not defined" error in Visual Studio?

Hello. I worked mainly with Dev C ++, just the other day I switched to Visual Studio. Noticed that other compilers. In Dev, I always used stoi(), but here, as it turns out, atoi() is used. The same thing happened with the to_string() function. It doesn't work, are there alternatives? I searched on the Internet, I did not find
61bc848b5a570352287842.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cunion, 2021-12-17
@omerkhan

plug in<string>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question