C programming: get line, 2D array and ending user input

后端 未结 0 894
盖世英雄少女心
盖世英雄少女心 2020-11-29 18:04
char* str = NULL;
size_t capacity = 0;

getline(&str, &capacity, stdin); 
   

The above code is an example of using getline to dynamically a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题