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

Search:

Type: Posts; User: Gabriel Fleseriu

Page 1 of 80 1 2 3 4

Search: Search took 0.11 seconds.

  1. Re: overloading operator + another problem

    Well *(ticketGame +i) is the same as ticketGame[i]. The assignement should work if your game is assignable, as ticketGame[i] is a lvalue -- or should be one.

    However, I think you miss some basics...
  2. Re: send network data at specific data rate

    Well, that is a strange requirement you have. I think you won't be able to limit the physical transport rate ovet the network, because of obvious reasons. The only thing I can think of is an...
  3. Re: send network data at specific data rate

    Maybe I don' understand your question right, but networks don't work that way. If you want to "tunnel" a serial connection through a network, then you write a "server" program taht reads from the...
  4. Re: Detect the locally logged on user from a service

    Petter,

    I've tested your code on WinXP Pro, and it works. However, on Win2k Pro it doesn't, WTSEnumerateSessions() constantly returns error 1151 (The specified program is not a Windows or MS-DOS...
  5. Re: Detect the locally logged on user from a service

    Boris, Petter,

    Thanks you guys. You saved me a lot of time skimming thru MSDN. :wave:
  6. Detect the locally logged on user from a service

    Hi there.

    This is a bit complicated, so stick with me.

    I have following scenario: I have a service that needs to detect whether a user is locally logged on (Win2k). Normally, it is no problem...
  7. Re: boost::serialization with boost::any

    Hi.

    Am am of course aware that boost::serialization offers non-intrusive serialization for a large number of well known constructs, like std::vector or boost::shared_ptr.

    However, there is no...
  8. boost::serialization with boost::any

    Hi there.

    Has any of you found a generic method of making boost::any serializable? The net doesn't provide anything more than a couple of unfinished ideas, as far as I have searched.

    Exampla...
  9. Replies
    10
    Views
    988

    Re: Urgent

    Assuming that you use 16 bits for such a number, then you will use 12000 bytes disk storage. The os will allocate at least one block for that -- so you spend something between 12 k and 32k or so....
  10. Replies
    10
    Views
    988

    Re: Urgent

    Because the standard sais that the smallest addressable entity the byte is.

    A general note: the minimum size a file can have is platform dependant and file system format dependant. This because...
  11. Replies
    20
    Views
    1,399

    Re: you had been warned...

    Please don't start threads for the sake of it. We have enough nonsense threads already.

    This thread is closed.
  12. Replies
    6
    Views
    750

    Re: Compiler good at templates

    Which is not that bad, actually. You mostly won't need 'export' for template metaprogramming.
    Herb Sutter has made some pertinent comments on 'export' -- you might want to read it if you come across...
  13. Replies
    15
    Views
    1,526

    Re: Google EPIC 2014

    Very interesting. Google certainly has some power many people oversee. Put it this way: many people use Google as a universal information source and tend to belive in the results Google returns for...
  14. Replies
    29
    Views
    1,762

    Re: need files

    You can register a free email address with a zillion providers nowdays. And you can choose an alias that's not offensive.
  15. Replies
    4
    Views
    868

    Re: question about streams

    What's wrong with templates? The standard library is full of them and they are one of the major strengthes of C++. And my example won't involve a more extensive use of templates than it does when...
  16. Replies
    4
    Views
    868

    Re: question about streams

    It's quite simple. In my example, the "parse" function simply prints the input, but it could do whatever. It works with a file, with the console or a stringstream:


    #include <iostream>
    #include...
  17. Re: Are there bigger integers than "long long"?

    No, they are not. A long long can have 64 bits, but it isn't required to. The _int64 is a type that always has 64 bits. I'm unsure whether there are standard types with fixed bit sizes (I think there...
  18. Re: Are there bigger integers than "long long"?

    There also is a button below your post, that says "Edit". You can correct your own posts.

    As for the integer size, the C++ Standard doesn't say how large the intgral types have to be. Many...
  19. Replies
    12
    Views
    1,543

    Re: What is the Global Namespace

    The global namespace is "the area" surrounding any namespaces declared explicitely, regardless whether these are named or not. The purpose of namespaces is to group together things that logically...
  20. Replies
    312
    Views
    11,589

    Re: Answering-and-Asking

    Mick is not here. Why?
  21. Replies
    312
    Views
    11,589

    Re: Answering-and-Asking

    That you get banned if you post things like this again. Do you understand?
    :cool:
  22. Replies
    10
    Views
    1,045

    Re: Security tricks

    People, I have to remind you that posting code for viruses and the like is forbidden here on CodeGuru. Please refrain from such posting in future.

    It is ok to talk about security which of course...
  23. Thread: ultoa

    by Gabriel Fleseriu
    Replies
    5
    Views
    1,833

    Re: ultoa

    There are two issues when converting strings to numeric types: correctness and performance. The problem is that many people seem to concentrate on the latter and to forget correctness.

    The...
  24. Replies
    6
    Views
    911

    Re: Is this legal?

    Thanks for your comments, people.

    So I just re-invented the wheel, it seems :)
  25. Replies
    6
    Views
    911

    Is this legal?

    Hi folks!

    I came around a construct that works, but is a bit strange, to put it mildly. I was wondering if it is legal. I didn't dive into the Standard -- I didn't have the time... Here it is:

    ...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


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