Back to Browse

COMP1511 Week 5 Lecture 1

2.0K views
Streamed live on Oct 13, 2025
1:52:32

COMP1511 is UNSW's Programming Fundamentals. 00:00 Recording starts 03:30 Leture starts 05:30 Strings recap 17:13 String library functions (strlen, strcpy, strcmp) 17:59 string_functions.c demo 31:28 string_functions_danger.c (placing more characters in string than initially declared) 33:28 Array of strings 37:09 array_of_strings.c demo 43:59 What are command line arguments? 47:43 How command line arguments are read in 50:44 command_line_arguments.c demo 52:36 bad_sum.c (using cmd line args to summing) 55:41 Convert string number to integer with atoi function 57:16 Break 01:06:38 Lecture resumes 01:06:40 Game demo mud_and_bones.c 01:12:22 Stage 1 of demo 01:15:59 Function to check position validity 01:24:20 User-defined structure to store related dog data 01:35:23 Structs are pass by copy vs arrays are pass by reference 01:42:10 Creating command loop 01:52:08 Feedback!

Download

0 formats

No download links available.

COMP1511 Week 5 Lecture 1 | NatokHD