All Questions
2 questions
0
votes
1
answer
205
views
How could you create a dynamic array of strings in C?[Beginner]
How do you create a dynamic array of strings? Like if I had this code
printf("What are the names of your pets?");
what piece of code would I write to get multiple string answers from the user?
(I'm ...
3
votes
2
answers
15k
views
What's the C equivalent for "string input = GetString();"
I am trying to become less dependent on the cs50.h library. I have tried different combinations to replace this line string input = GetString(); but I can't get anything working. Compiler keeps ...