GNU C++ 11 Compilation Error to_string()

Правка en2, от sbakic, 2015-08-27 17:12:45

According to this, we can use to_string() only with compiler higher than GCC 4.8.0 and with C++ 11.

But I submitted with GNU C++ 11 4.9.2 (12720137) and got this error.

I know there are other solutions to convert int to string, but I want to know what is problem with this one. I am using GNU C++ 11 5.1.0 and it's working on my computer. Thanks.

Теги to_string(), compilation errorr, c++ 11, istringstream, ostringstream, stringstream, tutorial

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский sbakic 2016-11-30 18:45:37 66
en5 Английский sbakic 2015-08-28 02:07:03 1345 Tiny change: 'r. Thanks.' -
en4 Английский sbakic 2015-08-27 17:22:07 0 (published)
en3 Английский sbakic 2015-08-27 17:13:16 0 Tiny change: 'nI know that are other' -> 'nI know there are other'
en2 Английский sbakic 2015-08-27 17:12:45 5 Tiny change: 'nI know that are other' -> 'nI know there are other' (saved to drafts)
en1 Английский sbakic 2015-08-27 17:10:06 587 Initial revision (published)