I mainly took this as a funky experimental exercise and came to an alternative approach that uses operator overloading to mimic the original behaviour of the wrapped...
Not protected? Wouldn't making the constructor (more pecisely: all constructors, in case there's more than one) private effectively seal the class (i.e. make deriving from the class impossible at...
I'd have assumed that Word at least checks the file signature to verify it's a valid .doc file, and in case of failure falls back to opening it as plain text. However, after reading your post, I did...
At least VC++ 2010 does support it. (Well, actually, I didn't try with unsigned, but I'm confident that if it works without explicitly specifying signedness, that will work as well.)
I have no idea of what you mean by "windows form" here, but at least the Windows standard text file editor Notepad fails way before the file sizes you demand. AFAICT its limit is 32 kB.
Please note thar 1 is not a prime, i.e. rhe "and" in your sentence is to be interpreted in the sense of common human language understanding rather than the boolean sense (sort of "exclusive and")....
Yes, but only after the user's total post count has reached a certain threshold (three, IIRC). And posts in the GD/CC section here don't count towards that total, so they probably don't contribute to...
Squaring doesn't seem to be an appropriate surrogate, already because it takes just one parameter, as opposed to the two that pow() takes. At least raising an integral base to a positive...
There also is another, IMO more straightforward way to look at the assembly language code generated by the compiler: VC++ features the compiler option /FA, which makes the compiler output the...
You should have posted your code within code tags. Even more than most other languages, assembly language code is particularly unreadable without them. With code tags (and after some additional...
Actually, http://msdn.microsoft.com/en-us/library/vstudio/b0084kay(v=vs.100).aspx doesn't list DEBUG (and, to my surprise, not even NDEBUG), so apparently it's neither standard nor documented...
Perhaps this related thread can aid in the discussion: http://forums.codeguru.com/showthread.php?535145-How-quot-unbreakable-quot-is-my-code One of the core points there is that a secret encryption...
Yeah, I agree to that being the probable reason for the failure. I didn't really test/investigate this, but I think a one-bit signed integer made up by such a bit field quasi comprises a sign bit...
Which, BTW, considering the posted URL, apparently is for JPEG2000, not IP packets. :D Well, perhaps, if the OP didn't find one during the past almost seven years, any decoder would do... :lol:
I really welcome it when delevelopers have this sort of low-level experience. It tends to sharpen their sense to understand things. Of course it's a long way to go from there to high-level concepts...
You mean the default c'tor (i.e. the one that takes no parameters) that the compiler creates for your class automatically (i.e. by default) if you don't define one yourself? And by "built-in data...
So you're aware of the IDE menu option Debugging > Exceptions, where you can specify in detail on which types of exception the debugger shall break when they occur and before the runtime scans the...
The BinaryWriter writes objects to the file in a representation that allows to later reconstruct them as they were using a BinaryReader. The 0x07 is the length prefix that announces the count of...
Well, needlessly dynamically allocating an object just because some API demands a pointer to it instead of simply using the & operaror to take the address of an automatic (i.e. local) or class member...
Wow :eek:, that's tricky! Exception handling at machine code level is a quite specific topic I've never dealt with before. And then it's about x64, with which I have no practical experience either,...