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

Search:

Type: Posts; User: Improving

Page 1 of 8 1 2 3 4

Search: Search took 0.05 seconds.

  1. Thread: if keyisdown

    by Improving
    Replies
    7
    Views
    1,198

    Re: if keyisdown

    GetAsyncKeyState
  2. Replies
    12
    Views
    1,914

    Re: Member templates

    a) 10
    b) 8
    c) 3
    d) 2
    e) 1
    f) 9
    g) 6
    h) 7
    i) 5
    j) 4
  3. Replies
    5
    Views
    2,247

    Re: Console delay or wait for user

    its rudimentary but you could just take the length of what you are printing before you print it and make sure its not too long and split it if it is.
  4. Thread: Xml

    by Improving
    Replies
    5
    Views
    1,120

    Re: Xml

    I did google, theres reams of code out there, its hard to be able to go thru it all to see which suits my needs best so I wondered what you guys use. Up till now I have been using INI files but it...
  5. Replies
    20
    Views
    7,145

    Re: polymorphism in STL vector

    because of this vector<CTest> you are only storing base items. If you push in a derived the internal copying inside the vector slices it to a base. Use pointers to allocated memory containing your...
  6. Thread: Xml

    by Improving
    Replies
    5
    Views
    1,120

    Xml

    What do you guys use for XML parsing,generation and validation by dtd and schema?
    Ideally I'm looking for something maybe STL/Boost based.
    I think on windows there is a COM object i could use but I...
  7. Replies
    8
    Views
    937

    Re: Ghost memory leak

    Is your code multithreaded?
    Are you using CreateThread when you should be using _beginthreadex?
  8. Re: Why do I have to keep an inline function definitio in the same file with declaration?

    here ya go...

    export restrictions pt 1

    export restrictions pt 2.

    why we cant afford export.
  9. Re: multiple defined symbols in header included by multiple sources

    I cannot see how that can work. you will end up with 4 funcs all with the signature :-
    ret_type f(const range&)

    Remember there is no overloading on return types in c++.
    So its obviously...
  10. Replies
    5
    Views
    1,384

    Re: Open & Read Large File into Limited Memory

    If you are on a windows system consider mapped files. Look up CreateFileMapping and associated functions.
  11. Replies
    5
    Views
    1,451

    Re: wcstok...runtime error

    strtok and its related wide char version actually modifies the string you pass it. So always pass it a copy of the string you want to tokenise.
  12. Re: Are there bigger integers than "long long"?

    Talking of GMP. Anyone know how to compile this on MSVC or even compile it into a library usable by MSVC with another compiler?
  13. Re: Are there bigger integers than "long long"?

    Aren't __int64 and long long identical in all but naming conventions?
    I would use GMP if I could work out how to compile it on MSVC.
  14. Re: Why do I get unresolved externals with my template code?

    export is not supported in msvc 2003. Comeau computings compiler supports export I think but most dont.
  15. Replies
    2
    Views
    818

    Re: Copying polymorphicly.

    Can copy assignment be virtual?
    Does it ever make sense?
  16. Replies
    32
    Views
    4,924

    Re: C++ pet-peeves

    Yeah guess your right. Never really thought about it that way as every library I have used has come with full source which you build yourself. I did say if you made no assumptions about the...
  17. Replies
    32
    Views
    4,924

    Re: C++ pet-peeves

    Reading through this I see you guys are worried about the portability when using STL containers. Why is this? Are the interfaces they use not specified by the standard? Dont they all support the same...
  18. Replies
    4
    Views
    956

    Re: Destructors and Exceptions

    Herb sutters thought on this
  19. Re: Design question: using std::map with static data

    Could inheritance help? It is garaunteed that a base will be constructed before a derived so surely that mechanism can be used to some extent on lifetime issues like this?
    my thinking is in the base...
  20. Re: how do i generate a random float between 0 and 1??

    boost random numbers library
  21. Replies
    12
    Views
    1,898

    Re: I need some encryption algorithm

    I found this useful but its probably dated now but free.
  22. Replies
    4
    Views
    819

    Re: STL string to int?

    istringstreams maybe?
  23. Replies
    12
    Views
    1,898

    Re: I need some encryption algorithm

    I cheated. I used this for my bignums.
  24. Replies
    12
    Views
    1,898

    Re: I need some encryption algorithm

    I dont know why you are so down on xor encryption. All right it is one of the easiest to break, but the OP didn't give us an awful lot of information to go on. He wanted an easy to code encryption...
  25. Re: redirecting stdin and stdout programatically

    read it all.
Results 1 to 25 of 183
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured