Simple question (for you not for me!)
I want to make a programm that takes a text line from the keyboard, and then I want to use the line as a parameter in a function.
Here is my code:
This code just names line the first word of the line, not the whole line!!!
/*NOW USE THE TEXT LINE WHILE CALLING A FUNCTION*/
What can I do?
I tried getchar, in a while and stored the text in a array, but I get segmentations and don't know how to use tha whole array as a parameter in my function.
Thx for your help,