CSC209H1 Lecture Notes - Lecture 1: Scanf Format String, Gnu Compiler Collection, Working Directory

117 views6 pages
School
Course
Professor

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,

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents