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

  1. 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...
  2. 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...
  3. Replies
    6
    Views
    575

    Re: Constant class members in case statements

    Sure, here it is:



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

    using std::cin;
    using std::cout;
  4. Replies
    6
    Views
    575

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

    Re: C++ 0x slow chat

    I got teased, indeed :)
  6. Replies
    2
    Views
    785

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

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

    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,...
  9. Replies
    1
    Views
    668

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

    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...
  11. 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...
  12. Thread: size of enum

    by Hobson
    Replies
    6
    Views
    1,545

    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...
  13. Replies
    5,493
    Views
    674,761

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

    It seems that you are last one! Oh, wait...
  14. Replies
    11
    Views
    878

    Re: Pagination glitch ?

    Manowar - "Metal Warriors"

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


    Ooops, wrong thread, I guess...
  15. Replies
    9
    Views
    966

    Re: Urgent Urgent Emergency...

    This thread should be UnBumped. Where is moderator when you need one?
  16. 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...
  17. 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...
  18. Replies
    13
    Views
    1,235

    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.
  19. Replies
    35
    Views
    3,146

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

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

    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...
  22. 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...
  23. Replies
    17
    Views
    1,298

    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...
  24. Replies
    13
    Views
    1,235

    Re: Random Silliness...

    Your apostrophe also seem's to be faulty.

    And my laptop has kinda hard spacebar key, my posts sometimes looklikewritten in German :)


    Cheer's :wave:
  25. Re: order of evaluation of condition expression.

    Logical operators, WHEN NOT OVERLOADED, have some special property: they are evaluated left to right, and when evaluation yields the result which will be not affected by following expressions, it is...
Results 1 to 25 of 1673
Page 1 of 67 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width