Changes for page ROS Crash Course

Last modified by Leon Poon on 2021/08/30 23:24

From version 4.1
edited by Leon Poon
on 2021/08/23 11:07
Change comment: There is no comment for this version
To version 5.1
edited by Leon Poon
on 2021/08/23 11:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,7 +9,7 @@
9 9  
10 10  Paths, "/" and "." and ".." in navigating directories - absolute vs relative
11 11  
12 -data type - binary itself is meaningless unless you say what data the binary represent
12 +data type - binary itself is meaningless unless you say what information that the binary bits represent
13 13  
14 14  declare variables (int, char, string as series of chars)
15 15  
... ... @@ -37,7 +37,7 @@
37 37  
38 38  Switch vs if-else differences - number of times expressions are evaluated
39 39  
40 -your own function
40 +write your own function
41 41  
42 42  calling with parameters copied as separate set of var values in function
43 43  
... ... @@ -53,6 +53,8 @@
53 53  
54 54  Value overflow because not enough number of bits to represent large numbers.
55 55  
56 +Various integer data types - specifier in printf
57 +
56 56  Homework: implement factorial (1 to 20) calculator
57 57  
58 58  in Linux, most things are case-sensitive. (A not equals a)