Ad
  • Default User Avatar

    Ok, I got it now. I was awear of the stack variables, was a little confused about the moment the memory is set to "writable". I see now my problem. Thank you for pointing it out! Have a great day/night!

  • Default User Avatar

    Hello there,

    Can you elaborate? I am returning the created string, after that, even though the data from the string will be deleted (after the return statement), I will no longer use the pointer in the main program. What I envisioned this method to do is basically a 1-time call, when I would set the roman literals equivalent, after that using the saved main-local variable for further operations.

    Can you, please, tell me what would be the issue in that case? and how can I improve my code?

    Thank you for finding the time to look into my code.