PK Jain wrote:
I need some tutorial on ATL/WTL/STL to deep understanding, so please suggest me.
ATL, WTL and STL are unrelated to each other. They just heavily use templates. I would not invest too much into these outdated libraries.
PK Jain wrote:
I need some tutorial on ATL/WTL/STL to deep understanding, so please suggest me.
ATL, WTL and STL are unrelated to each other. They just heavily use templates. I would not invest too much into these outdated libraries.
zhangguoliming wrote:
Hey, I want to creat a new folder with a new file. Now my code can only creat a new folder but no file.What is the wrong with my code?Please help anyway you can.. Thanks in advance.
ne0h wrote:
I found Google is quite cool. Also found a new site http://www.koders.com[^]
and another one: http://www.krugle.com/[^]
benjymous wrote:
I'm sure Steve Ballmer likes it!
Anand_Arv wrote:
If I use that compare argument as you suggested, Will I get the same result for all of the following ?
You probably should use _tcsicmp
instead of stricmp
, see: http://msdn2.microsoft.com/en-us/library/k59z8dwe(VS.80).aspx[^]
Which compiler do you use?
Anand_Arv wrote:
I need to use std::map with std::basic_string(TCHAR) as key and long as value. std::basic_string How to achieve/implement case in-sensitive string lookup ?
You need to add a Compare argument:
map <basic_string<TCHAR>, long, ltstr> mymap;
Where lstr could be defined as:
struct ltstr
{
bool operator()(const basic_string<TCHAR>& s1, const basic_string<TCHAR>& s2) const
{
return stricmp (s1.c_str(), s2.c_str()) < 0;
}
};
See also: http://www.sgi.com/tech/stl/Map.html[^]
James R. Twine wrote:
std::string can have its reference counting turned off (or it may be by default in some implementations), which may increase its performance a bit.
See the comparison in http://www.codeproject.com/string/fix_str.asp[^]
Marc Clifton wrote:
Can you care to explain the rationale behind the general acceptance of buggy software?
It has always been so, it will always be so? :~
VuNic wrote:
Do you think the "break;" [C++] command is really needed at the end of every case statement? I've never been in a situation where I'd want the control to pass on to the next case after satisfying a particular case. You know I missed to put a "break;" and it resulted in a big chaos .
It's considered one of the 'wrong' defaults in C/C++.
hobbyprogrammer wrote:
whats the best way to get environmental variables like %windir% %userprofile% and so on?
Try GetEnvironmentVariable (VC++) or getenv (C++)
Simon Hofverberg wrote:
I stuck with IZArc[^]. I have hardly noticed it since I installed it, it just works.
The best one can say about a tool. It's also my installed (Un-)Zipper.
Johann Gerell wrote:
In all my recent XP installs, I've stopped installing WinZip, since the builtin ZIP-support of XP is enough as I see it.
You expectations are very low!
lucy wrote:
I would use str_n.Format ("%d", n)
CString
needed, not string
Christopher Duncan wrote:
Just rewritten for the web because that's what was new and groovy.
... and because it had less support, maintenance and deployment costs! :cool:
Chris Meech wrote:
Oh man, what ever happened to livin' on the edge.
:laugh: :-D :laugh:
RoswellNX wrote:
But the way it used to be was that on Alt+Ctrl+Del, boom there it was. Thanks to the infailability of the keyboard driver (i'm assuming 98 had something like the tty driver is in unix), it would always catch the key sequence.
As former Win98SE victim I can tell that this is blatant nonsense!