Categories
Tags
37 signals android apple backup C++ certificate corrupt crash cringely dialogs error failure file filter folders generics Google google-code hidden Inversoft jason fried Java JCatapult li Linux list item mvc open solaris open source operating system osx OS X profanity pulpit repository restore self-signed ssl subversion syllable talkinator tomcat type conversion Ubuntu unixArchives
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- August 2010
- July 2010
- June 2010
- March 2010
- December 2009
- October 2009
- August 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- November 2005
- October 2005
- August 2005
- July 2005
- April 2005
- March 2005
- February 2005
- November 2004
- July 2004
Meta
Category Archives: C++
C++ references
Assigning reference return value to a variable When assigning a reference return value to a variable, a copy is made. Here is an example: class References { private: std::string name; public: References(const std::string& name) : name(name) { }; virtual ~References() … Continue reading
Inferred typing
I know that .Net 4 is going to have some pretty cool features around dynamic typing and C++0x is also adding some auto typing features. I was thinking about all of this today and realized that what I really use … Continue reading
Posted in .Net, C++, Java
Leave a comment
C++ sorting with the STL
Since I’m doing a lot of C++ these days and working a lot with the STL, I want to jot down some things I’ve had to painfully recall about sorting: The std::sort function really only works with vector If you … Continue reading
Posted in C++
Leave a comment
Getting the current system time in milliseconds with C++
After doing quite a bit of C++ recently, I thought I would post my method for getting the current system time in milliseconds in C++ for both Mac OS X and Windows. The Mac version might translate to other Unix … Continue reading
Posted in C++, Linux, Microsoft, OS X
Tagged C++, current time, milliseconds, osx, system time, time, windows
4 Comments
Writing a marker interface in C++
Just figured this out and it caused me about 3 hours of pain, so I figured I’d post it in case I need to do it again. class Base { public: virtual ~Base() {}; }; class Derived : public Base … Continue reading