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

Search:

Type: Posts; User: Hobson

Page 1 of 67 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    3
    Views
    1,521

    Re: First steps in COM interop

    Thanks for great link Arjay :) But like I said, I'd like to avoid a solution based on alternate NTFS streams because of two reasons:

    - It does not feel correct to me, as I believe that alternate...
  2. Replies
    3
    Views
    1,521

    First steps in COM interop

    Hello folks,

    Long time no see, but I was sure that sooner or later I am going to have a problem I would need your help with :)

    One day I was reading some popular programming related blog, and I...
  3. Poll: Re: Today is the day most software turned to "garbage"...

    Thank you for your answer.

    But as I understand, Parallel Extensions library will be available for .NET platform. And what about native applications?

    My main point is that I think, there should...
  4. Poll: Re: Today is the day most software turned to "garbage"...

    Back on topic: does anyone here know, whether Windows, or its any part, helps me to utilize CPU cores in any way, which is helpful but invisible for me? Like, when I create new thread, does OS pick a...
  5. Replies
    6
    Views
    1,205

    Re: Constant class members in case statements

    Sure, here it is:



    #include <string>
    #include <vector>
    #include <iostream>

    using std::cin;
    using std::cout;
  6. Replies
    6
    Views
    1,205

    Re: Constant class members in case statements

    case label value is required to be not a constant (like, constant variable), but integral constant-expression, and these are, among others, literal values, or constant valiables initialized with...
  7. Replies
    2
    Views
    997

    Re: C++ 0x slow chat

    I got teased, indeed :)
  8. Replies
    2
    Views
    997

    C++ 0x slow chat

    Hello,

    I have just noticed a new forum with Slow Chat about C++ 0x Standard. I know it is still locked and it is going to be opened on Dec 8th, but I'd like to prepare myself with questions and...
  9. Replies
    1
    Views
    2,151

    Re: What is the scope of #undef ?

    Remeber that compiler processes each translation unit separately. If you undef some defined sybol, and afterwards compile another file with the same compiler settings, symbol will be defined again....
  10. Replies
    3
    Views
    821

    Re: Template metaprogramming calculations

    I was thinking a little, and I came with following solution:


    //Edited a bit from original version to make compilers more happy
    //because not all are as forgiving as VS 2008 is :)
    //Still,...
  11. Replies
    1
    Views
    1,033

    Re: Console - How do I color certain text?

    There is no standard C++ way for this. You have to use platform specific functions, like SetConsoleTextAttribute for Windows, or these codes: http://linuxgazette.net/issue65/padala.html if your...
  12. Replies
    3
    Views
    821

    Template metaprogramming calculations

    Hello,

    Recently I am trying to learn something new, and I found out that compilation time calculations would be very useful for me quite often. So, I grabbed my copy of google, looked up some...
  13. Re: lines of code not processing in sequential order

    I guess that there is no requirement for streams being buffered or not, however, it is clearly stated that endl flushes output stream at 27.6.2.7 Standard basic_ostream manipulators.
    I just do not...
  14. Thread: size of enum

    by Hobson
    Replies
    6
    Views
    2,123

    Re: size of enum

    Here is another example:

    You have Outer class with no members (empty), but it has inner type defined (GiganticInner). However, as you can see, it has no impact on size of outer class objects, as...
  15. Replies
    5,488
    Views
    944,094

    Re: The "last one to post on this thread wins" Thread

    It seems that you are last one! Oh, wait...
  16. Replies
    11
    Views
    1,188

    Re: Pagination glitch ?

    Manowar - "Metal Warriors"

    "We won't turn down for anynone,
    we do just what we please!


    Ooops, wrong thread, I guess...
  17. Replies
    9
    Views
    1,867

    Re: Urgent Urgent Emergency...

    This thread should be UnBumped. Where is moderator when you need one?
  18. Re: Problem with Classes and Accessing Private Members

    No, it means that they are inaccessible to anyone except this class itself and its friends. Noone else can create objects of your class. I think that you want to be possible to create your objects...
  19. Re: Problem with Classes and Accessing Private Members

    Constructors of your class are private. Members of class are private by default, and you have no access specifier before your constructors.

    Besides, there are other errors:
    - cmath is correct...
  20. Replies
    13
    Views
    2,382

    Re: Random Silliness...

    I took some insecticid pills today before work, I hope this will make my code bug free. I wish these pills would not be so bitter tho.
  21. Replies
    35
    Views
    4,116

    Re: Off Topic thread...

    The worst thing with off-topic thread is that you have no possibility to follow the rules. When you post something on any topic, you violate the rules. When you post something off-topic, then you are...
  22. Replies
    4
    Views
    1,052

    Re: IT grumble thread

    First of all, I want to point out that I am young person, with 4 year experience in software development as a code monkey and about 12 years of total computer usage (home + games + shool + work), so...
  23. Replies
    4
    Views
    1,052

    IT grumble thread

    This post was posted by me as an OT reply of another thread: http://www.codeguru.com/forum/showthread.php?t=465416

    As I do not want to make CPUWizard's thread totally offtopic, I want you to...
  24. Poll: Re: Today is the day most software turned to "garbage"...

    On topic: Generally I do not program for parallel processing because I do not need to. I have no experience in that either. But I am aware of it and when I should create / work on OS, or software...
  25. Replies
    17
    Views
    3,481

    Re: C# must have a bug

    So you probably did not hear of a lady who sued microwave oven manufacturer AND WON because she killed her cat when she attempted to dry it in microwave. Or about some dude who sued car manufacturer...
Results 1 to 25 of 1675
Page 1 of 67 1 2 3 4





Click Here to Expand Forum to Full Width

Featured