C Programming getting input
How do I constantly get user input (strings) until enter is pressed in C
just like string class in C++?
I don't know the input size so I can't declare a variable of fixed size or
even I can't allocate memory dynamically using malloc() or calloc().
Is there any way to implement this as a separate function?
No comments:
Post a Comment