My Sites

Recent Posts

Welcome Laura Pavlech!

on What's New @ HHSL

by Rebecca Philio

2 days, 1 hour ago

Please join us in welcoming our newest Research and Instruction Librarian, Laura Pavlech!  Laura comes to us from Brown University where she was the Biomedical and Life Sciences Librarian.  While pursuing her […]

Five-Year Updates: Meet Zack Gold, F09

on The Fletcher School - Admissions News and Updates

by Jessica Daniels

2 days, 3 hours ago

I admit: It's a little late to be wrapping up Five-Year Updates from the Class of 2009.  But when I published the most recent post, I realized that every one of the 2009ers were women.  Surely there were men in […]

Summer Intern Positions, MA Dept of Energy Resources (Massachusetts)

on Sustainability at Tufts

by Lauren Martin

2 days, 21 hours ago

The Massachusetts Department of Energy Resources (DOER) develops and implements policies and programs aimed at ensuring the adequacy, security, diversity, and cost-effectiveness of the Commonwealth's energy supply within the context of creating a clean energy future. DOER is part of the Executive Office of Energy and Environmental Affairs (EEA). Application Deadline: N/A Apply Online    

Dis-O(rientation)

on The Fletcher School - Admissions News and Updates

by Jessica Daniels

2 days, 23 hours ago

Yesterday's post may have been my last word on Commencement for 2015, but it isn't the last word on the lead-up to the event.  That will come from Alex who, as a continuing student, would nonetheless have been […]

Code Notes: Introduction to C++, part 3

on Comp 15 - Data Structures

by Partha Biswas

2 days, 23 hours ago

Topics covered: Size of empty class, 4 auto-generated member functions, namespace Link to source code: http://www.cs.tufts.edu/comp/15/examples/CPP/ex3.cpp #include <iostream> using namespace std; // std namespace contains all the standard classes. namespace EX3 { class EmptyClass { }; /* 4 auto-generated functions: * Default constructor * Copy constructor * Copy assignment * Destructor */ class AnotherClass { }; class MyClass { public: MyClass(); MyClass(MyClass const & other); MyClass & operator=(MyClass const & other); ~MyClass(); private: int data1; int* data2; AnotherClass data3; }; // Default constructor MyClass::MyClass() : data3() { // data1 and data2 NOT initialized } // Copy constructor MyClass::MyClass(MyClass const & other) : data1(other.data1) , data2(other.data2) , data3(other.data3) { } // Assignment operator MyClass & MyClass::operator=(MyClass const & other) { data1 = other.data1; data2 = other.data2; data3 = other.data3; return *this; } // Destructor MyClass::~MyClass() { data3.~AnotherClass(); } } // contains 4 functions int main() { // EmptyClass e; // cout << "size of an empty class = " << sizeof(e) << endl; EX3::MyClass m; }