Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
Matthew Ryan Hutter's user avatar
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 ...
Lele's user avatar
  • 67