Formatting adjustments and created initial file for exercise 1-17.
This commit is contained in:
parent
481f76699e
commit
841097a626
3 changed files with 2 additions and 77 deletions
|
|
@ -23,7 +23,7 @@ int main(){
|
|||
//statement to set value as in original code.
|
||||
|
||||
char line[MAXLINE]; //Initialize array for storing current line.
|
||||
char longest [MAXLINE]; //Initialize array for storing longest line so far.
|
||||
char longest[MAXLINE]; //Initialize array for storing longest line so far.
|
||||
|
||||
while ((currentLength = pullLine(line, MAXLINE)) > 0){
|
||||
if (currentLength > max){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue