Hey guys,
in c i am trying to read an input such as a command like
xeyes -bg red -fg blue
i have managed to read it fine if there is no spaces so a single word such as "abc"
but when i have spaces i get segmentation error.
also since this is going into a pointer i am unsure of how i would be able to print.
(i am NOT asking for the code, just a hint to the right direction i am interested in learning the material.)
thank you