CSC209H1 Lecture Notes - Lecture 1: Scanf Format String, Gnu Compiler Collection, Working Directory
Document Summary
If you want a specific number of digits after the de(cid:272)i(cid:373)al . / runs program: how to check if a file is of executable type? ls f shows asterisk ls l lists files and shows permissions. In order for scanf() to change the value of a variable to what the user types, it is user to tell scanf a location (memory) to scanf . &[variable] gives location: can take more than 1 piece of data by prompting the user to provide input separated by a space (for numbers) Types, variables and assignment statements: what is a program, progra(cid:373) is , sequences of instructions to a computer, the power of computers lies in programs and how we control the. Doubles allow you to store floating point values. Introduction to writing functions: a function prototype is a function declaration. [data type] [name of function]([parameters with types specified,