Stub of an improved version of ex1_16 to allocate array sizes on the fly and support arbitrarily long input.
This commit is contained in:
parent
c47e378a4f
commit
87e93e98ca
1 changed files with 15 additions and 0 deletions
15
KNR C/ex1_16_improved.c
Normal file
15
KNR C/ex1_16_improved.c
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/*A version of KNR C exercise 1-16 from scratch with the goal of improving
|
||||||
|
* readability.*/
|
||||||
|
|
||||||
|
int pullLine(char line[]);
|
||||||
|
void copy(char from[], char to[]);
|
||||||
|
|
||||||
|
int main(){
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int pullLine(char line[]){
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue