... as would a SELECT * from Nishant's post history ;P
Sven Axelsson
Posts
-
Deleted articles -
Deleted articlesGreat. /sven
-
Deleted articlesYes, of course, I really ment other articles that I haven't written, but that I might have responded to at some point in time. /sven
-
Deleted articlesMaybe this is something I've missed, but is there no way to see what has happened to a removed article? Couldn't we have a special section for this where you can see entries like Article title was removed by the author at date Another title was removed by a moderator at date I don't really like when things disappear without a trace, it is kind of spooky ;) /sven
-
We really need the "Article Police"Common courtesy says that if you think someone sucks and want to take action against him, you will tell him so up front and not just behind his back.
-
We really need the "Article Police"Rickard Andersson wrote: Sven Axelsson wrote: also posted as a comment to the article itself Not necessary I think, there is a message board on each article and there can you write your ccriticism to the stupid article writer. If you have to provide a (useful) comment when reporting an article, it would be a good idea to post that comment to the message board at the same time to save you the trouble of writing the same thing twice. But I'm sure Chris thought of this already.
-
We really need the "Article Police"That's actually a good idea, but it ought to require a comment why the article was reported that is also posted as a comment to the article itself. In this it would require the person reporting to provide constructive criticism on article content (or lack thereof).
-
constant String Memory UsageOK, so what's with the holy war? I haven't checked all messages in this thread, so forgive me if this has been posted already. Why not use something like:
class CStringBuffer
{
public:
CStringBuffer(CString &str, int len = 0)
: m_str(str) { m_buf = str.GetBuffer(len); }
~CStringBuffer() { m_str.ReleaseBuffer(); }
operator LPTSTR() { return m_buf; }
private:
CString &m_str;
LPTSTR m_buf;
};to handle acquisition/release like
CString str;
CStringBuffer buf(str, 100);
sprintf(buf, "%s %d", "Whatever", 666);I almost always use a wrapper class like that for API pairs like GlobalLock/GlobalUnlock and such. Works great! /sven axelsson, sweden