Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: OReubens

Page 1 of 80 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    63
    Views
    2,908

    Re: Abstraction concept problem?

    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...
  2. Replies
    9
    Views
    455

    Re: Encrypt/Decrypt Problem

    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...
  3. Replies
    7
    Views
    191

    Re: Help on asynchronous WinInet or WinHttp

    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...
  4. Replies
    7
    Views
    191

    Re: Help on asynchronous WinInet or WinHttp

    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:

    You...
  5. Replies
    63
    Views
    2,908

    Re: Abstraction concept problem?

    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...
  6. Re: [RESOLVED] GDI - can i speed up the DIB code?

    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...
  7. Replies
    2
    Views
    371

    Re: Algorithm for simple board game

    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 +...
  8. Re: [RESOLVED] Need help displaying subitem text in listview control in Tile view

    columns -> report view
    you're using tile view.
  9. Replies
    2
    Views
    133

    Re: leap year program

    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...
  10. Replies
    3
    Views
    279

    Re: [RESOLVED] noexcept

    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...
  11. Re: [RESOLVED] EnumChildWindows & FindWindow doesn't work MFC but works Console

    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...
  12. Replies
    19
    Views
    628

    Re: Crash Reading & Writing More Files

    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...
  13. Re: Recursive function: take a non-negative integer and print each digit of that inte

    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...
  14. Replies
    14
    Views
    1,875

    Re: ListView with CheckBox Alignment Problem

    From: https://msdn.microsoft.com/en-us/library/windows/desktop/bb774743(v=vs.85).aspx


    If you want a checkbox other than left aligned, you'll need to either ownerdraw the entire control, or...
  15. Re: Find all sentences or consecutive sequence of sentences where min

    :thumb:

    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...
  16. Re: What to use for a GameServer Application like this

    and


    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...
  17. Re: Find all sentences or consecutive sequence of sentences where min

    yes, a line could be 1Mb in size, but each individual sentense is at most 1000 bytes.


    regardless.
    learn to do it the other way. use preincrement Always UNLESS you need the different behaviour...
  18. Replies
    3
    Views
    275

    Re: Inherit a class through smart pointer

    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...
  19. Re: What to use for a GameServer Application like this

    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...
  20. Re: Find all sentences or consecutive sequence of sentences where min

    7) you aren't checking if each read from the input file or write to the output file succeeded
  21. Re: Find all sentences or consecutive sequence of sentences where min

    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.
    ...
  22. Replies
    1
    Views
    234

    Re: Color quantization

    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...
  23. Re: What to use for a GameServer Application like this

    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)
    - WinHttp
    - HTTP Server API
    - Sockets
  24. Replies
    63
    Views
    2,908

    Re: Abstraction concept problem?

    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...
  25. Replies
    7
    Views
    431

    Re: Algorithm Help - Statistical Relativity

    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. ...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center