recently me and colleague had a discussion about the following piece of code(simple bool function that checks if string is a number, +1000 not allowed, -1000, 1234... allowed).
He felt that it was hackish, while I thought it was nice, clean and elegant(since it uses STL, not hand made loops).
So ...
Hmm, boss proposed we might need a tool. I wrote most of it, but then since he didn't mention it again, I abandoned it. Now he says I should work on it, and I can't find my old code. I really hope I didn't delete/overwrite it.
@RMartinhoFernandes I wasn't sure if it was going to be a real thing, and then.... no. No I didn't. Or maybe I did, but I can't remember what it was called.
@TonyTheLion Is that data coming from another device? And if so can you put a "sniffer" in between to see the raw data as it's being sent out to your program?
Hmm, assuming you're on a latin-1 codepage, that's a bunch of 0xDCs and then a bunch of 0xCCs. I think that's some buffer boundary or uninitialized storage marker things.
How it's possible to edit an executable (.exe) file and change the HEX code at some specified address?
Let's think i have this address:
0x0 = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I'm using code::blocks, but its not that I don't know how to use it (as in step into, next instruction etc.) its just I don't know what to do with it - how to use the information etc.
@RMartinhoFernandes I had cases when injecting debug code makes the bug go away... almost always an indication of invalid memory accesses. At least on an embedded device with no OS.
I can't for the life of my figure out why I'm getting unregistered class exception, I've done everything. Maybe it is my project setup, I have a client/server build target
@RMartinhoFernandes I put that in there to be sure people don't think of distilled or deionized water. I really mean the pure pure stuff with (near to) no solutes present.
anyone willing to have a quick check on pastie.org/4134413 and pastie.org/4134414 say, @EtiennedeMartel who helped me solve it last time but now I can't get it to work again? (also, using BOOST_SERIALIZATION_BASE_OBJECT_NVP doesn't change anything)
I know about the effects and myths about drinking distilled and/or deionized water. I'm not asking about such substances.
I wonder if a semi-immediate effect of drinking, say 1L pure 100% H2O is deadly or harmful.
My intuition says yes: either the reverse osmosis effect also present in distille...
Like seriously, I get bored and purposefully give myself a virus just to see if I can get rid of it. I haven't legitimately gotten one in about 5 years.
The WTFPL (Do What The Fuck You Want To Public License) is an infrequently used, extremely permissive free software license. It is essentially no different from dedication to the public domain. was written by Banlu Kemiyatorn who used it for Window Maker artwork. Sam Hocevar, a French programmer who was the Debian project leader from 17 April 2007 to 16 April 2008, wrote version 2.0. It allows for redistribution and modification of the software under any terms—licensees are encouraged to "do what the fuck [they] want to". The license was approved as a GPL-compatible free software license b...
Does this function has the same behavior that 'memset'?
(Oops! Your question couldn't be submitted because:
Your post does not have much context to explain the code sections; please explain your scenario more clearly.
)
inline void SetZeroArray( void *vArray[], unsigned int uArraySize )
{
...
Many regulars use the starboard to catch up on the important bits they missed. Having it flooded with a star per message from a conversation reduces its usefulness.