Post Created date
allocate address with malloc question
theusch wrote: cpluscon wrote: Analogy: I poked myself in the eye and I can still see Given the posts in this thread, should it be "I can still C"? Good point, lol. Edit: I C...
Sunday, 24 July 2022 - 21:47
allocate address with malloc question
hp9000 wrote: Why can i do the same with code below and compiler doesn't give me an error?     ClassTest *c;  sf.print(F("addr obj:")); sf.println((int)c); *c =...
Sunday, 24 July 2022 - 15:38
avr-c++ virtual functions don't get called
I'd suggest:   In CProcess: virtual void InterruptTimer1CompATriggers()=0; In CIndicator: virtual void InterruptTimer1CompATriggers();
Monday, 27 June 2022 - 19:55
Conversion Problems
Anshumaan wrote:Good Sir, doesn't this count for the initialization??No, but your indentation threw me.  I see now that timeStamp gets set to -1 for isnan. Still, it's...
Monday, 16 May 2022 - 12:28
Conversion Problems
You should initialize timeLocal otherwise sunrise may return an undefined value depending on the result of isnan.
Sunday, 15 May 2022 - 15:57
Quantum Computing Is a Hype or Real ?
hamisu wrote:What is your opinion base on your years of experience in science and computing.QC sounds magic to me.  I'd like to believe something will come of it, but so far...
Saturday, 14 May 2022 - 16:15
I want to use Linux instead of window
I've seen CentOS at work sometimes, also Ubuntu which I have running in my lab.  It's good to be familiar with these and be able to work with them.  But IMO you'll...
Wednesday, 27 April 2022 - 01:49
How did you learn C programming on computer
Echoing other sentiments above I think Visual Studio is hard to beat.  The Community versions are freely available and are pretty full featured.  I've been using VS2022...
Tuesday, 26 April 2022 - 22:52
Have you used semaphore or mutex
A mutex is simpler, I think, a way of protecting a resource, aka critical section, to keep integrity.  It's basically a lock operation, modify or record data, and then unlock...
Thursday, 3 March 2022 - 14:52
iterate over an enum
I compiled and tested with Visual Studio 2019 without any warnings and works as intended.  Did you copy correctly?  I'd think Door+1 isn't an increment but an expression...
Wednesday, 2 March 2022 - 15:02
iterate over an enum
Try:   for (NmDeclare::DoorName Door= NmDeclare::Garage; Door<=NmDeclare::Garden; Door=(NmDeclare::DoorName)(Door+1)) {   Seems clumsy to me but this is Modern C++...
Wednesday, 2 March 2022 - 14:33
Your Three Favourite Technical Books?
One somewhat obscure book I really value is "Object-oriented Software Construction" by Bertrand Meyer.  I was proficient in C in the late 80's but read this book just before...
Sunday, 13 February 2022 - 18:28

Pages