Type: Posts; User: OReubens
Search took 0.08 seconds.
November 21st, 2014, 08:13 AM
You're not really saying what kind of result you want, and/or how near to the ideal you want things to be.
Do you want an outer outline ? an inner outline ? An average ? A weighted curve ?...
November 21st, 2014, 08:01 AM
Just declaring stuff atomic 'randomly' while it makes each individual element atomic is a surefire way to get into deadlocks and other forms of hard to debug problems.
November 20th, 2014, 07:58 AM
Assuming you have the issue too (even though you should have created a new post instead of resurrecting ancient ones).
See MSDN for SendInput().
November 20th, 2014, 07:55 AM
Encrypted exe's tend to be "evil" the kind of exe's that contain malicious code that they want hidden/obfuscated from an antivirus.
THere's no good reason for a well behaving exe to be encrypted. ...
November 20th, 2014, 07:46 AM
November 20th, 2014, 07:42 AM
then you have Always been wrong.
use SINGLE forward slashes
or DOUBLE backslashes (because that's how C/C++ escapes strings).
if you have a compiler supporting the new c++11 literal string...
November 19th, 2014, 07:34 AM
see MSDN on GetVersion/GetVersionEx for version
Machine/Hardware ID may not be available depending on whether the user allowed this. see GetSystemInfo on MSDN
November 18th, 2014, 09:13 AM
If he already obtained a password list, the real damage is already done imo. It just takes a bit of tenacity/creativity from there on.
I could porbably figure it out from that list and a bit of...
November 18th, 2014, 08:17 AM
outputing to cout/file: yes
input via a file: yes
handling the command line: yes (it's the primary use of console exe's afterall)
input via cin: no, just no. It doesn't work well, and it behaves...
November 18th, 2014, 07:56 AM
There's no way around the fact that 10^12 times round a loop will take time. At these amounts, even a single Ás per loop will end up taking 10^6 seconds (or just over 11 days).
If inside that...
November 17th, 2014, 09:55 AM
One cannot become a good encryption specialist, without also being a good cracker.
part of knowing how and where to protect comes from knowing how a cracker goes about it's things.
November 17th, 2014, 09:50 AM
looks like an encryption that turns 8bit binary data into 5bit "readable text"
other than that, hard to tell. it's not a straightforward binary to 5bit conversion or the "password" and "Password"...
November 17th, 2014, 08:42 AM
educators should just downright stop trying to make students produce "interactive" apps via the console.
it's not even knowledge they'll be able to continue to use if they get hired as a programmer...
November 17th, 2014, 08:38 AM
so team B gets 2 points for 1 win, where team A gets 1 point for a win.
What a strange concept. I definately want to be on team B.
November 17th, 2014, 08:36 AM
as with many things in software development.
there rarely is a "best". if there was, then it would be only that one thing, because why use anything other than "best" ?
So there's libraries that...
November 17th, 2014, 08:27 AM
your pc has a slow HDD, and your omni tab has a fast SSD ?
different amounts of memory ?
different processors ?
different database engine ?
could be a lot of things, first thing is to...
November 17th, 2014, 08:10 AM
The Original problem description appears to describe the "stable marriage problem". (or a derivation at least for "polygamy mariages" :p)
if so, then you don't even need GA, the above algoritm...
November 17th, 2014, 07:42 AM
an std::string ends at a binary zero, which is very likely to occur in a binary file like an image.
you need to load the data into a vector/buffer, and pass that to the encryption instead of using...
November 17th, 2014, 07:36 AM
If your code takes "weeks", then it should be fairly Obvious where the bulk of the time is going to. You don't even need a profiler. A simple run through a debugger should give you the "this is the...
November 9th, 2014, 06:27 AM
Yes, having 2 separate UI's does come at a cost of having to maintain 2 versions.
But it also has advantages in that you can tailor each UI to the platform they're running on.
I've seen more than...
November 9th, 2014, 04:38 AM
Yes. Providing the app can live with the fact it'll be Windows desktop only. Or rather the UI will, it's possible to split the backend and UI. Yes, I would even recommend MFC for a multiplatform...
November 9th, 2014, 04:18 AM
how do you expect to get help.
if you don't even properly tell us WHAT ERROR you are getting.
November 9th, 2014, 04:11 AM
MMF is not a fair comparison. but if you think it is, then for file linear procesing like reading text file, it's going to be faster to just allocate a buffer (memory page aligned) the size of the...
November 8th, 2014, 07:08 AM
and 4k aligning (sinc emost windows platforms have 4K pages) the buffer would yield another bit of extra speed.
But it's not an entirely fair comparison, the WinApi example doesn't entirely do the...
November 8th, 2014, 06:56 AM
you mean... as opposed to letting other people do the searching for you ? or the fact he's using lmgtfy (let me google that for you) ?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.