Skip to content
0:00 / 0:00

#pointers#linkedlist#dynamicmemory

Essentials: Pointer Power! - Computerphile

Computerphile

2.6M subscribers • 70 videos on Hallway

YouTube
  • Recommended by 7 people: 7 in engineering communities.
  • A classic. People kept recommending it from 2019 to 2024.
  • Presented by David Brailsford, professor at the University of Nottingham

Beginner. No background in the topic needed.

485K views9 years ago7 recommendations

Programming languagesSystems programmingCMemory managementData structures

Professor David Brailsford explains how pointers work in C and how they are used to build dynamic data structures like linked lists.

Pointers are fundamental in programming and Professor Brailsford couldn't live without them! Professor Brailsford's Code: bit.ly/Computerphile_C_PointersProg Many thanks to Microsoft Research UK for their support with the 'Essentials' mini-series. facebook.com/computerphile twitter.com/computer_phile This video was filmed and edited by Sean Riley. Computer Science at the University of Nottingham: bit.ly/nottscomputer Computerphile is a sister project to Brady Haran's Numberphile. More at bradyharan.com

Why it's here

7 people recommend this

What people say. Highly recommended as one of the clearest visual explanations of pointers and dynamic memory for beginners.

u/glasket_in r/C_Programming • Recommends

On “How to effectively learn algorithms and datastructures ( and C)”

There isn't a one-size solution to this, you just have to read and do the work. Find a copy of *C Programming: A Modern Approach* by K. N. King and a copy of *Introduction to Algorithms*, often called CLRS after the authors. Then read, and do the problems. C is a fairly simple language on its own, you can probably focus on CLRS and use the C book as a reference. There are also some good resources online: - CPP Reference has a section devoted to C - If you don't "get" pointers, Computerphile has a video about the concept - The sidebar of this sub has some links to other free books too, like Modern C - Tutorials are all over the place online, try searching or checking YouTube. And, of co…

u/BrakkeBamain r/C_Programming • Recommends

On “"Demystifying pointers". I came across this brilliant video that helped me understand the most mysterious concept in C: "Pointers", better. The great thing about this video is the fact that it addresses the Byte-Addressable Memory, which helped me visualize better.”

I also stumbled upon this nice one from Computerphile a while ago.

u/Drach88in r/C_Programming • Recommends

On “Noob needs help here: C, Struct, pointers, and pointers to pointers”

…st, most limited contexts. \#2 I have no idea (precisely) what the author of the code you've linked is trying to accomplish. It's all just struct declarations. I'm sure there's some context, but there's too much noise to use it as an example to explain pointers to a beginner. Start with a simple linked-list instead. Watch this video on pointers: link to this video As for the "masochism" of pointers -- yes, there's absolutely a need for it. Everything your higher-level programming language (C#) does with Objects is actually using pointers under-the-hood. When you use the `new` keyword in C#, your compiler is actually allocating memory on the heap, and giving you a (special type of) pointer to that me…

u/past-life-beaverin r/compsci • Recommends

On “Can someone please explain this code, especially lines 4-9. It’s a bit confusing.”

This could be interesting for you i think link to this video

u/malkavian_elderin r/C_Programming • Recommends

On “Anyone got a link or a vide that make you understand how pointer work?”

I really recommend these videos by Computerphile where prof. Brailsford explains pointer magic on a Lego: link to this video

u/velorekin r/C_Programming • Recommends

On “Ast3r0id: My first ever game in C with SDL2”

Thank you! The asteroids and projectiles are represented as a linked list, for example. Check out these videos from computerphile, they are really great to understand pointers and dynamic memory. They helped me a lot: link to this video link to this video

u/glasket_in r/C_Programming • Recommends

On “What Refference mean?”

My personal recommendation for a beginner's introduction to pointers is Computerphile's video on the topic.

u/a4qbfbin r/C_Programming • Recommends

On “Help with Realloc and File Input”

You need to watch this video and then go through your code and my questions again.

u/a4qbfbin r/C_Programming • Mentions

On “pointers, linked list, file io”

Try these Computerphile videos: * Essentials: Pointer Power! * Linked Lists

u/a4qbfbin r/C_Programming • Mentions

On “C programmer here, AMA”

Watch this video and try solving some Advent of Code or Codewars problems.

u/oh5nxoin r/C_Programming • Mentions

On “Looking for resources to learn from. Need some good books”

Find the angle that "clicks it" for you. You'll get it. [video Maybe prof Brailsford of Computerphile ?

u/RivalXHorsemanin r/C_Programming • Mentions

On “pointers in C”

Just had to deal with this for an assignment as well and my professor recommended looking up some tutorials on YouTube about pointer arithmetic and whatnot. A couple I found that I thought were helpful were by Low Level Programming and Computerphile: link to this video link to this video