Here is my code:
rename("tmp.png", Filename);
The 2nd argument in the rename function is a string.(The user decides what the name is) How do I properly code this so that tmp.png is renamed to whatever the user types?
My instructor says to use c_str somehow, But I'm not sure how.
This is my first post, Let me know if it's hard yo understand or If I'm asking it wrong somehow..