(swishing)
- Here are my changes to the allocate to source code,
which allow for the 1,024 characters of storage to be used.
In the Else group of statements,
I'm going to add printf ("Type something: ")
and I'm going to fetch input,
which has been done in earlier programs, storage location,
amount of characters and standard input,
and then display it using the buffer.
That's it. Save the changes. Build and run.
Now type something interesting.
Press enter, there it is.
The text is stored in a memory buffer,
allocated while the program was running.