Skip to main content
Arduino

Timeline for What does the following code in Morse Code Arduino mean?

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Mar 12, 2017 at 15:03 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 10, 2017 at 14:42 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 11, 2017 at 13:40 comment added Majenko @gilhad The post has changed since I commented. Originally currentNode wasn't a pointer, but a local variable.
Jan 11, 2017 at 13:07 answer added JRobert timeline score: 0
Jan 11, 2017 at 12:47 answer added Mikael Patel timeline score: 1
Jan 11, 2017 at 12:11 comment added gilhad Just want to add, that the copied content of the variable root is a POINTER, so after theat root and currentNode points to the same place in memory. So for example after you do currentNode->value='a'; then root->value becames 'a' too, as it is on the same place in memory. (until you move root or currentNode to poit to other place - I would bet, that somewhere else is command like currentNode=currentNode->next;)
Jan 11, 2017 at 11:58 review Low quality posts
Jan 12, 2017 at 12:24
Jan 11, 2017 at 11:50 history edited duck CC BY-SA 3.0
added 18 characters in body
Jan 11, 2017 at 11:43 review First posts
Jan 11, 2017 at 13:38
Jan 11, 2017 at 11:42 comment added Majenko It means allocate a structure of type and size node and initialize it - then copy the contents to another local variable called currentNode.
Jan 11, 2017 at 11:41 history asked QirratAhmad CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /