Type: Posts; User: OReubens
Search took 0.11 seconds.
July 29th, 2015, 08:30 AM
GOing out on a limb that I may be totally misinterpreting this... but...
JAVA has automatic objects and a garbage collector.
C++ does not. There is nothing like a "shared ownership consensus" AT...
July 29th, 2015, 06:55 AM
Are you sure the encrypted data is in fact "a string" ?
encrypted data isn't typically "a string" but is binary data. so you either need to change your code to handle binary data, or you need to...
July 29th, 2015, 06:50 AM
also, what the KB VictorN linked doesn't mention...
There can only be a limited amount of actually active pending actions on any one single server, servers hard-limit this to avoid connection...
July 29th, 2015, 06:42 AM
responses can come out of order, and in fact even individual reads may arrive mixed (though in logical order per 'file').
so if you launch request 1, 2 & 3, it is perfectly possible that:
July 28th, 2015, 07:11 AM
No... it's not personal frustration.
It's just that pointers add complexity and confusion that can often be avoided by using better alternatives.
there's nothing wrong with raw pointers, and...
July 27th, 2015, 07:50 AM
Reading pixels (or bitmaps) from the screen is a very slow process. This happens because for reading to happen, the actual video memory must be fully updated and synchronised. This can't be...
July 27th, 2015, 07:26 AM
this is a simple math problem.
all coins into the 'right' squares gives a total score of N*A+M*B
as many coins as possible into the 'wrong' squares is 2*min(N,M)*C + (N-min(N,M))*A +...
July 27th, 2015, 07:18 AM
columns -> report view
you're using tile view.
July 27th, 2015, 07:15 AM
also... years divisible by 400 ARE leap years
also... we went from a julian to a gregorian calendar in 1582, which shifted the calendar by 10 days.
do you want all the years before 1582 to be...
July 27th, 2015, 07:02 AM
so upgrade to a compiler supporting C++11
you 'may' be able to get around it by doing a define yourself
#define noexcept throw()
but if that lib has other changes that make use of C++11...
July 27th, 2015, 07:00 AM
only a handfull of messages support sending data between programs like this.
SetWIndowText internally calls SendWindow with as parameter the pointer to your string data.
that pointer value is...
July 27th, 2015, 06:54 AM
you cannot create a global or local scope buffer with a size that is variable like this.
there are non-portable ways to allocate a variable amount of memory on the stack (such as _alloca() and...
July 17th, 2015, 06:40 AM
teachers should try and make recursive tasks about problems that are best solved with recursion rather than conveying the bad notion that recursion is a good (or god forbid, better) substitute for...
July 17th, 2015, 06:32 AM
If you want a checkbox other than left aligned, you'll need to either ownerdraw the entire control, or...
July 16th, 2015, 11:11 AM
the standard library is extremely flexible and the fact you don't need to deal with a lot of details (and in particular nasty little bugs you'll get called out for such as forgetting a...
July 16th, 2015, 07:23 AM
If you want to call those IPC... I guess I can't stop you, but at the core, those are network based communications.
So when my browser asks a server for a page, that's IPC too ? My mailer...
July 16th, 2015, 06:56 AM
yes, a line could be 1Mb in size, but each individual sentense is at most 1000 bytes.
learn to do it the other way. use preincrement Always UNLESS you need the different behaviour...
July 16th, 2015, 06:40 AM
without knowing more about what this is and does.... hard to tell.
the above simply derives a class from a shared_ptr of SomeTest...
possibly because mytest needs to refer to "no test" or needs...
July 15th, 2015, 07:53 AM
interprocess communication (IPC) is ONLY for having 2 processes ON THE SAME MACHINE (and typically also in the same Windows Session) communicate between eachother.
it doesn't handle a process on one...
July 15th, 2015, 07:45 AM
7) you aren't checking if each read from the input file or write to the output file succeeded
July 15th, 2015, 07:36 AM
not surprising given the strange formulation and ambiguous meaning of som of it.
It starts out as an exercice in attempting to mindread the strange brain of whomever created that problem.
July 14th, 2015, 07:27 AM
Fastest is a simple RGB bit reduction, effectively resulting in a match to a premade (non-optimized) palette.
best... depends on your definition of "best". Whatever system you pick it will be a...
July 14th, 2015, 07:14 AM
WinInet is for client code only.
for the server side, you should look at either (in order of easy->difficult but also more detailed control)
- HTTP Server API
July 14th, 2015, 07:03 AM
Correct. I do maintenance/revision a lot and you often see devs essently doing little more than writing 'raw pointer' interfaces and then just wrapping the pointers in a smart object and then...
July 13th, 2015, 07:17 AM
But that doesn't compare text. Or rather, good ones don't. They typically do keyword based content comparison to find rough matches with more elaborate side comparisons to confirm an actual match. ...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!