|
I'm crylaughing at myself. I forgot how to enforce operator precedence in parsing code.
I've written it countless times. I have no idea how I forgot. It should be practically muscle memory at this point.
Next I will forget my birthday.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
|
honey the codewitch wrote: Next I will forget my birthday.
Just don't forget your SO's birthday...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Any operator who slips you a twenty gets precedence.
|
|
|
|
|
Pretty sure you already got it back. Anyway my 30 years old notes, based on a Modula2 publication from Niklaus Wirth
Expression
\
SimpleExpression {Relation SimpleExpression}
\ \
\ "=="¦"!="¦"<"¦"<="¦">"¦">="
\
["+"¦"-"] Term {AddOperator Term}
\ \
\ "+"¦"-"¦"||"
\
Factor {MulOperator Factor}
\ \
\ "*" ¦ "/" ¦ "&&"
\
Number
|
Variable
|\
| Designator
|
|
String
|\
| """ {Aplha¦Digit} """
|
|
FunctionCall
|\
| Designator [ParameterList]
|
|
"(" Expression ")"
|
Negation
\
"!"
|
|
|
|
|
Not clear on what happened.
Did you forget to put operator precedence enforcement into the program, or did you forget how to implement operator precedence enforcement?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
|
Are you expecting us to click an unknown trick kindof link?
|
|
|
|
|
Could be ... [^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Isn't linking to other interconnected pages sort of the basis for the internet?
How do you browse if you don't trust links?
Besides, southmountain is a long time and upstanding member with 23K, he's not posting spam.
Last, but not least, you can clearly see it's an article on msn by hovering over the link (at least on desktop).
|
|
|
|
|
I am on mobile, not able to see link.
|
|
|
|
|
One of my pet peeves of browsing on mobile.
|
|
|
|
|
Ooh, unpleasant.
I'd hoped it'd work when using a mouse, since you'd have a cursor. Nope.
|
|
|
|
|
That's one of the most important reasons I use a VM
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
no, it is good link from MSN news
diligent hands rule....
|
|
|
|
|
Smells like the fetid under droppings of the male member of the bovine species to me.
|
|
|
|
|
To be effective you have to shape it in the form of a hat and cover router.
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.4.0 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
That only helps to keep the government out (be aware that your WiFi enabled microwave won't work anymore though)
|
|
|
|
|
It may work under some conditions because the foil could act as a mirror to the radio waves.
On the other hand, because the wavelength of 2.4 GHz is about 12.5 cm, if the foil was close to the antenna, the reflections could cancel out direct radiation from the antenna in places. This would lead to hit and miss reception depending on the exact placement of the WiFi device.
|
|
|
|
|
Rabbit Ears would probably work just as well as tin foil, right?
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.4.0 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
As long as they were parabolic.
|
|
|
|
|
Is this why I have great wifi in the kitchen?
|
|
|
|
|
It would be better to use the tin foil as a hat to keep the space aliens from controlling your mind.
|
|
|
|
|
This is not a programming question.
Very odd post - I am actually asking for opinions...
Please share your actual experience and tell your opinion
(in few words, do not want to take too much of your time )
what you recommend as
C++ learning book ( no u-tube, PLEASE ) written in
K&R style.
I mean "meat and potatoes" and minimal "click this /click that"
(got one already ) kindergarten picture book of 500 + pages.
Cheers
|
|
|
|
|
C++ is a far bigger language than C, so it can't be done in a small book. I learned it quite a while ago, so I can't give you a current recommendation. But the reviews of this book (by the inventor of C++) sound like it could be what you're looking for:
https://www.amazon.com/Tour-C-Bjarne-Stroustrup/dp/0136816487[^]
|
|
|
|