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

Search:

Type: Posts; User: etaoin

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Getting started again / some general questions

    Hi all,

    the last time I have been using eVC++ was nearly two years ago - at that time, it was eVC++ 3.0. After a couple of years of desktop-only development (VC++ 6.0, VS 2003) I'm now back to...
  2. Thread: Test Question

    by etaoin
    Replies
    6
    Views
    1,080

    And how about this?

    And how about this?
  3. Thread: Test Question

    by etaoin
    Replies
    6
    Views
    1,080

    And yet another comment...

    And yet another comment...
  4. Thread: Test Question

    by etaoin
    Replies
    6
    Views
    1,080

    I like this game!

    I like this game!
  5. Thread: Test Question

    by etaoin
    Replies
    6
    Views
    1,080

    Another test answer...

    Another test answer...
  6. Replies
    11
    Views
    15,433

    Re: Re: std::vector vs. C-style arrays

    Paul, thanks for your ideas too. However, as said in my reply to Andreas' post, the problem is not the dynamically growing array - I know about reserve() and how to use it. It is actually about how...
  7. Replies
    11
    Views
    15,433

    Andreas, thanks for your reply. I agree with...

    Andreas, thanks for your reply.

    I agree with what you say, and I already knew that. Maybe I didn't make my point clear enough, but my problem is not about the performance of a dynamically growing...
  8. Replies
    11
    Views
    15,433

    std::vector vs. C-style arrays

    I hope that the stl gurus can help me with this...

    Consider the following: In my current project, a team member implemented code such as the following:

    int* m_timeArray;
    string*...
  9. souldog: Thanks for your suggestion. However, my...

    souldog: Thanks for your suggestion. However, my problem is not that PreSubclassWindow() is not called. It's only that the style changes I apply within it are without effect. I also think that the...
  10. Setting custom control styles programmatically

    Hi gurus,

    I've got a problem which I thought to be a very common one - I searched this site, codeproject, MSDN... and found nothing. Now I hope someone has already encountered the situation and...
  11. Thread: Design problem

    by etaoin
    Replies
    3
    Views
    827

    Re: Re: Design problem

    Not really. The console provided by AllocConsole doesn't give me the flexibility and control i need (fonts, console window as a child of the MDI frame...) I was rather referring to a self-implemented...
  12. Thread: Design problem

    by etaoin
    Replies
    3
    Views
    827

    Design problem

    I hope this won't get moved to the "Project Planning, Design, and Management" forum - although it's basically a general design question, it is also highly relevant to Win32 programming and VC++.
    ...
  13. Replies
    43
    Views
    9,048

    galathaea, thank you very much for your many...

    galathaea, thank you very much for your many valuable, interesting and insightful contributions to this thread. I really appreciate and share them (on a theoretical level), although I'm still stuck...
  14. Replies
    43
    Views
    9,048

    :D OK, but...

    <sorry, had to split it up>


    :D

    OK, but as already said earlier: I don't understand why I have to write it myself, why it is not there already. The exact makeUpper function you posted could...
  15. Replies
    43
    Views
    9,048

    I notice that this thread has evolved in the...

    I notice that this thread has evolved in the meantime, but I would like to reply first to an earlier post:

    Yes, I agree. It has evolved that way, and maybe that's even good news. Maybe I'm just...
  16. Replies
    43
    Views
    9,048

    That's not true. MakeUpper() uses locale...

    That's not true. MakeUpper() uses locale information. The examples from the article you mentioned are handled correctly by MakeUpper().

    Other useful CString functions I use frequently are...
  17. Replies
    43
    Views
    9,048

    To be honest, no, I never timed it. It seemed...

    To be honest, no, I never timed it. It seemed natural to me that a binary tree would be less efficient than a hash table. But I strongly suspect that the results you got depend the actual data you...
  18. Replies
    43
    Views
    9,048

    But that holds true for many of the functions in...

    But that holds true for many of the functions in the C standard library. Everything can be tossed together. So why have functions like strcpy, strcmp or strlen? They can be tossed together in a...
  19. Replies
    43
    Views
    9,048

    My last post should answer this as well....

    My last post should answer this as well. O(log(n)) is not satisfactory, that's why I want to use a hash table. As things go, the STL doesn't offer any help here, so I had to implement the hash table...
  20. Replies
    43
    Views
    9,048

    Many thanks for all your comments. Let me...

    Many thanks for all your comments. Let me elaborate a little on some of them:

    But C++ is not LISP. C++ is an imperative, procedural, object-oriented language. LISP is mainly declarative. I expect...
  21. Replies
    43
    Views
    9,048

    But you might agree that someting like ...

    But you might agree that someting like

    str.MakeUpper()is still far easier to write and to read than
    std::transform(str.begin(), str.end(), myUpper.begin(), toupper);
    That seems alright from the...
  22. Replies
    43
    Views
    9,048

    What do you mean by that? Converting a string to...

    What do you mean by that? Converting a string to upper case is always O(N). Where does the M come in?
  23. Replies
    43
    Views
    9,048

    Thanks for your reply, galathaea. But when using...

    Thanks for your reply, galathaea. But when using for_each, I have to write some additional code, which finally boils down to the same for() loop I already wrote. Thinking algorithmically is a nice...
  24. Replies
    43
    Views
    9,048

    std::string (and other stl) problems...

    Dear Gurus,

    here's my situation: I've been working for many years with C, C++, Windows SDK/API and MFC. I've got accustomed to using the MFC CString and container classes for most of my needs. I...
  25. Thread: Linker problems

    by etaoin
    Replies
    4
    Views
    943

    Thank you, Sam. That helped me find the problem....

    Thank you, Sam. That helped me find the problem. I know what LNK2005 (symbol already defined in object) usually means, so I didn't look it up again. However, when reading the following in MSDN:
    ...
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured