As an amateur (I haven't coded pro in 30+ years), I'd say this is a job for malloc(). The memory dynamically allocated from user input can then be used as an array.
post
replies:
Wonderful day!
I am sorry, but considering your quite exquisite name, it feels like you searched for Communities already!
Yet, feeling your appreciated interest in the marvelous programming language, have you checked out more focused Communities?:
- !c_lang@programming.dev
- !cpp@programming.dev
- !programming@programming.dev
I'd definitely recommend the following book, too!:
- https://amazon.com/dp/0131103628 ("C Programming Language, 2nd Edition"... by Brian W. Kernighan and Dennis M. Ritchie...)
all 4 comments