I have a text file, for example:
This Is A Text File
This file is on some host.
Now I want to get the file to my program, my problem here is, that I found how to save the file(download) but that's not what I need..
I need it to be in a variable inside my program, for example, the text above should be in a char array and look something like this:
I tried to play around with cURL but didn't succeed.
I hope someone can help me with that.