Taking input from Keyboard during runtime : one of the possible solutions (DPI-C) does not work for me :(...! Any more solutions

In reply to Ankit_Patel:

I would expect that reading a file in the simulator and appending to it in the “real world” might be the simplest solution.