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.12 seconds.

  1. Re: Sending Window message to a window created in the dll.

    1) Yes, assuming that thread has a messagequeue associated with it.
    2) the thread you create "becomes part" of whatever process you created it in. thread creation is Always associated with the...
  2. Replies
    12
    Views
    398

    Re: New C++ versions

    In old C++, the result of division (and remainder or modulo) the only guarantee you get is that for any integer a and any non-zero integer b is that:
    a == (a/b)*b + (a%b)
    is always true.

    when...
  3. Replies
    12
    Views
    398

    Re: New C++ versions

    headers ending with '.h' are old style headers and either didn't use namespaces, or they included the standard header (<iostream> in this case) and dragged std into global.

    If you want to design...
  4. Replies
    25
    Views
    708

    Re: Abstraction concept problem?

    /agree

    I'm in the process of teaching a number of very young kids (age 10 to 12) how to program in C++.

    I'm having no problem at all getting them to create fun and interesting projects on a...
  5. Re: Can I omit the underscore prefix when I link a turbo assembly function to Borland

    functions called from C/C++ automatically get a _ prefixed, you can't avoid that.
    The reason is so that you can see which functions are callable from C, and which ones are only internal to the .asm...
  6. Replies
    1
    Views
    119

    Re: driver development tutorial

    developing drivers is NOT like developing regular C++ programs. you are restricted in what you can do since most of the Windows API is simply unavailable from drivers.

    You will also need a kernel...
  7. Replies
    25
    Views
    708

    Re: Abstraction concept problem?

    1) use a (const) reference
    2) use a non-const reference
    3) use references, use a reference-counting reference wrapper or use a reference counted smart pointer (you seem to be unaware of actual...
  8. Replies
    12
    Views
    398

    Re: New C++ versions

    Considering his OP. I doubt any of them will realistically impact him. But yes... there's a couple breaking changes.

    The majority of them will cause a compiler error or if not, they're the result...
  9. Replies
    12
    Views
    398

    Re: New C++ versions

    ok, in that case.

    No changes have been made to the core language, everything that you did before still works in C++11.
    that was one of the main and primary concerns for C+11 afterall:


    Some...
  10. Thread: SQL Begginer

    by OReubens
    Replies
    8
    Views
    307

    Re: SQL Begginer

    btw, the layout in #5 is not properly normalized. In particular the employee table can be improved by additional normalization.

    Note that just because you CAN normalize further, that doesn't mean...
  11. Thread: SQL Begginer

    by OReubens
    Replies
    8
    Views
    307

    Re: SQL Begginer

    Actually, before you even get into how to use a database, you'll need to learn how to design a database.

    If what you want is a simple 1 table DB with a few fields, then this won't be of much...
  12. Replies
    12
    Views
    398

    Re: New C++ versions

    So you want to know about the most important changes of C++11 if you totally ignore all of the most important changes made to C++11 ?

    There's lists in plenty places, simply skip over the parts...
  13. Replies
    25
    Views
    708

    Re: Abstraction concept problem?

    it's not a dogma. it's guideline. That's a pretty different take on it.

    If you are working on projects that are long lived, and need to be maintained by many people, then the guideline is a good...
  14. Replies
    25
    Views
    708

    Re: Abstraction concept problem?

    pointers are evil
    and you should avoid them if possible

    that doesn't mean they're Always avoidable and aren't sometimes necessary.
    But as a whole, you tend to have cleaner and easier to use...
  15. Replies
    5
    Views
    313

    Re: Is C# good for real-time applications?

    What you really need to do is asses the actual real time constraints. How fast do you need to respont to a trigger, and how often do triggers arrive and what is the latency in the arrival and...
  16. Replies
    25
    Views
    708

    Re: Abstraction concept problem?

    if you are finding yourself to be using a lot of pointers in designing interfaces... you're probably doing something wrong somewhere.

    If abstraction is causing you to introduce pointers, you...
  17. Thread: Test RS232

    by OReubens
    Replies
    4
    Views
    254

    Re: Test RS232

    you can use any terminal program to see what's coming in (and you can do the output manually too)
  18. Replies
    5
    Views
    313

    Re: Is C# good for real-time applications?

    Short general answer: No.

    Longer answer:
    C# or any languare running on a 'closed VM' or any language with a garbage collector (GC) you have no control over (and C# has both) typically isn't...
  19. Replies
    7
    Views
    215

    Re: std::vector with negative subscript?

    string based indexes... how... horribly inefficient and non-robust (what do you expect to happen when the input string doesn't look like a "X:Z" but is "hello world" ?
  20. Replies
    7
    Views
    253

    Re: printer spool app

    If you want this to work from "any" program, then the only realistic way to do this is by hooking the StartDoc() windows API function.
    If you need this on Win64, that means you'll need 2 versions of...
  21. Replies
    1
    Views
    179

    Re: Getting MP3 play length

    play length is not part of the MP3 information and the total time is not available in the header. You will need to calculate this by traversing the MP3, parsing the musical data frame, ignoring...
  22. Re: Challange for you becomes a challenge for others! Help creating a code snippet:

    And some 'smart' programmers might point out that it would be better to use the back_inserter rather than using a presized vector that you then need to shrink. There's pro's and cons for each. ...
  23. Re: Challange for you becomes a challenge for others! Help creating a code snippet:

    the problem being that is pretty much 'pops out' what the problem is with that hardcoded 5.
    Even if there weren't 5 in the end result it would still be somewhat Obvious that that is the issue. ...
  24. Replies
    4
    Views
    226

    Re: Algorithm Help - Statistical Relativity

    Yes, if and only if there is a induced transitive relation between the scoring.
    so if
    text1 and text2 are 50%
    and text2 and text3 are 50%
    then text1 and text3 are 25% (50% of 50%)

    But in...
  25. Replies
    6
    Views
    210

    Re: Using GDI+ in WM_PAINT event handler

    Nothing wrong with using GDI+ per se.
    Just know what you're getting.

    Most of GDI+ ends up being handled entirely in software and thus is slower than equivalent GDI operations which does get...
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