Anyone please tell how to convert a given number into a string?
I am using to_string()…but it is neither working in codeblocks nor in DevC++.
@bansal1232 started this discussion few months back…but I didn’t get any satisfactory answer.
Anyone please tell how to convert a given number into a string?
I am using to_string()…but it is neither working in codeblocks nor in DevC++.
@bansal1232 started this discussion few months back…but I didn’t get any satisfactory answer.
No,that’s not the case…I always use bits/stdc++.h
ideone uses gcc 6.3 while DevC++ uses gcc 4.9.2 and that might be making the difference.