Join Dan Gookin for an in-depth discussion in this video Solution: Working with memory, part of Learning C.
(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.…
- Understanding a C program
- Adding comments
- Using escape characters
- Working with values and placeholders
- Introducing variables
- Making a decision with if
- Adding functions
- Manipulating strings
- Building arrays
- Nesting structures
Skill Level Beginner
1. Getting Started
2. Programming Basics
3. Program Flow Control
4. Intermediate C Language Concepts
5. Advanced C Language Concepts
Next steps2m 11s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.