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

Search:

Type: Posts; User: abc_coder

Search: Search took 0.01 seconds.

  1. Replies
    49
    Views
    4,121

    you're adding to the confusion here. [list=1]...

    you're adding to the confusion here.

    [list=1]
    for certain platforms, where there's no underlying OS support for threading (dude_1967 mentioned microcontrollers - an easier example could have...
  2. Replies
    11
    Views
    1,279

    this is the ONLY general way actually - you can...

    this is the ONLY general way actually - you can have some particular cases in which you know beforehand that only one thread will pause, set signal masks accordingly so that only that thread catches...
  3. Thread: threading

    by abc_coder
    Replies
    21
    Views
    956

    View Post

    thatīs a bad policy - better leave the memory management for the threadData completely to the dialog object:


    add a threadData member
    initialize it inside the onInitDialog() function
    pass...
  4. Replies
    5
    Views
    354

    Re: Tied up with Threads

    itīs a bad design choice to wait for something while processing an event - it blocks the event-processing queue and the app. becomes unresponsive. a better choice would be using a CThread (or a...
  5. Replies
    6
    Views
    504

    1. unless it's a typo, your prototype doesn't...

    1. unless it's a typo, your prototype doesn't match the implementation - the argument has to be a pointer.

    2. template code must reside in the header file - so you probably want to replace the...
  6. actually, if you're interested in playing around...

    actually, if you're interested in playing around with Linux use a 'live cd'. the most popular choice is Knoppix, but SuSe and Mandrake also offer a live-cd version of their distros (SuSe Live and...
  7. Replies
    13
    Views
    1,604

    that is because most X apps on't use them ......

    that is because most X apps on't use them ... they're 'evil' :D the recommended practice is 'use selections'



    you need some determinate googling or fiddling through X reccomendations to figure...
  8. Replies
    1
    Views
    319

    Re: Simple tool to make documentation ?

    try doxygen
  9. Replies
    13
    Views
    1,604

    Re: linux clipboard

    the X clipboard requires the X server (obviously :p ) See this link about cut buffers:

    http://tronche.com/gui/x/xlib/utilities/using-cut-buffers.html

    otherwise, use selections. you'll have to...
  10. Replies
    24
    Views
    1,246

    not if you're not their employee ;)

    not if you're not their employee ;)
  11. Replies
    27
    Views
    4,146

    I apologize for the imprecision - that was...

    I apologize for the imprecision - that was referring to precompiled objects/classes that need to be linked in (the OP had a linking problem due to cout). As you already said, STL resides usually only...
  12. Replies
    27
    Views
    4,146

    the compiler will usually have a list of standard...

    the compiler will usually have a list of standard search paths; same goes for the linker. in particular, in Lunix g++ (the c++ compiler) will add to the standard include search path (/usr/include)...
  13. Replies
    1
    Views
    441

    you can use the rdstate() member function to read...

    you can use the rdstate() member function to read the state of the stream.
  14. Thread: Exceptions

    by abc_coder
    Replies
    16
    Views
    1,253

    it's the intended behavior. Constructors don't...

    it's the intended behavior. Constructors don't return error codes so if you do a one-step (i.e. in the constructor) initialization of some resource and that fails, the most dirrect way of announcing...
  15. Replies
    27
    Views
    4,146

    let me spell it out then. you said: and you...

    let me spell it out then. you said:


    and you were wrong - there's no such interdiction in the C++ standard.



    My bad - the quote I gave was from Appendix C (C1.6 Clause 8: Declarators)....
  16. Replies
    7
    Views
    733

    Re: Re: Member Functions in struct

    behavior will depend on the type of object and the type of function you call (as it should be obvious from the previous POD-nonPOD discussion). However, you can allocate memory (via malloc(),...
  17. Replies
    27
    Views
    4,146

    you are mistaken. void is a perfectly legal C++...

    you are mistaken. void is a perfectly legal C++ function argument - I dare you to show me the exact paragraph in the standard that says different. however, if you DO look at the standard, you'll see...
  18. Replies
    3
    Views
    1,084

    Re: LNK2019 if inline fine if not

    short answer, yes. the body of the inlined function has to be in the same scope as the place where it gets inlined. (when in doubt, check with the standard: 3.2.4. An inline function shall be defined...
  19. Thread: Exceptions

    by abc_coder
    Replies
    16
    Views
    1,253

    or install a terminate() handler with...

    or install a terminate() handler with set_terminate()

    otherwise, just throw an exception object for catch to receive. however, throwing *this would be a serious mistake, as it's not completely...
  20. Replies
    17
    Views
    903

    well, outside of the windows world it appears...

    well, outside of the windows world it appears that CLOCKS_PER_SEC=1000000L, so the counter overflows in little more than one hour. and no, there's nothing (portable) you can do about it.
  21. Thread: Exceptions

    by abc_coder
    Replies
    16
    Views
    1,253

    Re: Exceptions

    from the c++ standard, 15.1 (Throwing an exception):


    6. A throw-expression with no operand rethrows the exception being handled. The exception is reactivated with the existing temporary; no new...
Results 1 to 21 of 21


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center