Search:
Type: Posts; User: etaoin
Search:
Search took 0.03 seconds.
-
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...
-
July 13th, 2004, 10:22 AM
-
July 13th, 2004, 10:22 AM
And yet another comment...
-
July 13th, 2004, 10:21 AM
-
July 13th, 2004, 10:16 AM
-
March 17th, 2004, 06:07 PM
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...
-
March 17th, 2004, 06:02 PM
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...
-
March 17th, 2004, 05:33 PM
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*...
-
March 14th, 2004, 02:52 AM
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...
-
March 13th, 2004, 05:27 AM
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...
-
December 31st, 2003, 11:47 AM
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...
-
December 30th, 2003, 09:32 PM
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++.
...
-
December 30th, 2003, 08:05 PM
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...
-
December 21st, 2003, 10:05 PM
<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...
-
December 21st, 2003, 10:03 PM
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...
-
December 19th, 2003, 05:42 AM
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...
-
December 18th, 2003, 09:18 PM
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...
-
December 18th, 2003, 08:10 PM
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...
-
December 18th, 2003, 07:27 PM
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...
-
December 18th, 2003, 07:14 PM
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...
-
December 16th, 2003, 08:08 PM
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...
-
December 16th, 2003, 07:12 PM
What do you mean by that? Converting a string to upper case is always O(N). Where does the M come in?
-
December 16th, 2003, 07:07 PM
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...
-
December 16th, 2003, 06:44 PM
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...
-
December 12th, 2003, 05:38 PM
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:
...
|
Click Here to Expand Forum to Full Width
|