03. C Programming for IA: Pointers, Arrays, Casting and Endianness
In this fourth video in my series on C programming for image analysis (CPIA), I cover the important key topics of variables that store memory addresses (pointers), compound variables of a single data type (arrays), casting, endianness and byte-swapping. Source code examples are provided and explained. These tutorials are designed for mature students without prior experience in programming, computer science, maths or engineering. CONTENTS ======== 00:00 Subjects to be covered 00:32 Pointers and their 2 values: direct and indirect 06:35 Pointer arithmetic 10:08 The void pointer and casting 14:43 Pointers to pointers 15:59 Arrays and their relation to pointers 19:32 Difference between array names and pointer variables 20:29 Endianness and byte-swapping 23:06 Summary SUPPORT PUMA ============ PUMA is an open source microscopy project. You can help support the project by: 1. Become a Patron: https://www.patreon.com/PUMAMicroscope 2. Donate via PayPal: https://www.paypal.com/donate/?hosted_button_id=NPMYJKJATDLQ4 3. Simply subscribing to this YouTube channel, like, comment and share these videos. 4. Spread the word - post the news about PUMA and link to this YouTube channel on your social media sites and any other outreach method (tell your friends, colleagues, students or teachers and lecturers about PUMA, for example). 5. Consider purchasing your optics and related supplies from our affiliated online optics store, OptArc.co.uk ( https://www.optarc.co.uk/ ) --- FURTHER LEARNING LINKS ====================== Reference book: The C Programming Language, 2nd Edition by Brian W. Kernighan, Dennis M. Ritchie ISBN-10 0131103628 ISBN-13 978-0131103627
Download
0 formatsNo download links available.