why string concatenation getting strange result in c++?
why string concatenation getting strange result in c++?
I am trying to concatenate two strings in C++:
"G1-2" + "-%02d.jpg"
and I am getting the following result:
G1-2-1537817269.jpg
Why isn't the result like this: "G1-2-%02d.jpg"
No comments:
Post a Comment