I send a linux command programmatically and get back the output :
e.g. command : ls
output : tmp\\n\\000d\\n
I’m implementing a simple text to graphic converter and basically :
I have a set of images each one corresponds to an ascii character and I will convert the output into graphic as follows:
I need to load the images into an array of structures :
- Each structure contains a pointer to the image, a charType ( t or m or p …)
I need some help on how to do that in c under linux ?