Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <iostream>
- int main(int,char**){
- //[Error] 'to_string' is not a member of 'std'
- std::cout << std::to_string(10);
- std::string s = "12";
- //[Error] 'stoi' is not a member of 'std'
- std::cout << std::stoi(s);
- }
Add Comment
Please, Sign In to add comment