Timeline for String Split Issue
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 2, 2023 at 3:10 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 11, 2021 at 12:57 | history | edited | Juraj♦ | CC BY-SA 4.0 |
appended answer 86261 as supplemental
|
Oct 11, 2021 at 11:42 | comment | added | timemage | @OmarRai, just to be clear, you want to be using the "edit" link under your question to add additional details to the question. If you want to intact with the people asking you questions you want to "Add comment". The only time you're going to "Post Your Answer" is if you've managed to solve our own problem. | |
Oct 10, 2021 at 13:25 | comment | added | timemage |
If you're curious, "DA" , "LL" , and "NS" are all truthy in C++. So, the above mentioned nonsense is functionally equivalent to if (true) .
|
|
Oct 10, 2021 at 13:06 | comment | added | Omar Rai | I will provide you my complete program. Actually there is no delay between sentences so when the processor writes one sentence to sd card 2nd message arrives and most of the time it saves glitch in sd card. | |
Oct 9, 2021 at 21:11 | answer | added | Edgar Bonet | timeline score: 1 | |
Oct 9, 2021 at 18:30 | history | edited | jsotola |
edited tags
|
|
Oct 9, 2021 at 15:41 | comment | added | SBF | If (strID == "TG" || "DA" || "LL" || "NS" ... that is nonsense | |
Oct 9, 2021 at 14:51 | comment | added | chrisl | Please provide a more detailed description of what message data you have in that string, what errornous output you get and where in the code that happens. | |
Oct 9, 2021 at 12:50 | comment | added | Edgar Bonet |
You never check that indexOf() does find the '\r' . Why do you try to process five messages at a time instead of processing them one by one?
|
|
Oct 9, 2021 at 12:41 | history | edited | Edgar Bonet | CC BY-SA 4.0 |
Code formatting.
|
S Oct 9, 2021 at 11:42 | review | First questions | |||
Oct 9, 2021 at 16:00 | |||||
S Oct 9, 2021 at 11:42 | history | asked | Omar Rai | CC BY-SA 4.0 |