Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:I wonder about this (Score 3, Informative) 182

The pattern is known as "Resource Acquisition is Initialization", or RAII. Search for that and you'll get a ton of hits. Simple rule of thumb: new in constructors, delete in destructors. There are smart pointer classes available to help you do this.Boost provides a set of them and it sounds like Qt has something similar.

Comment Re:and why do we care? (Score 1) 770

As a Canuck living in the USA, I completely agree. Canadian patriotism is often conflated with anti-Americanism. It's an unfortunate brew of ignorance and sanctimony. This is easier to see after living abroad and I find it hard to condemn my countrymen when I too was guilty of the same as a younger man.

To make this more topical, my own experience living, studying and working in the USA completely reformed my thinking. Now that I'm headed back home (employer closed the office here, don't have a green card) I'll take that with me and maybe, with a little luck, influence a few of my compatriots. So the reverse brain drain might have the benefit of improving America's image abroad.

Role Playing (Games)

Bethesda Rolls Out Final Oblivion Content Addition 23

Closing out an era, Bethesda Softworks will be bringing the final piece of downloadable content out for Elder Scrolls IV: Oblivion. Rogues and mages both have their lairs, and this newest addition is for the melee-types: The Fighter's Stronghold. Starting this coming Monday it will be available on the 360 and for PC, and for one week only it will be free for the taking. They're also hoping to bring this content to the PS3 version of the game. "Since we're talking about DLC, I thought I'd update you with what's going on with the PS3 version of Oblivion. We are close, very close to working something out to bring Shivering Isles to PS3 owners. That may be in downloadable form via PSN, or as a standalone retail disc, or both. I can't say definitively yet that it will happen, and I definitely can't say when. But it's looking good, and hopefully we'll have good news soon. Don't have anything I can tell you about any other DLC, but Shivering Isles is the one we get asked about all the time, so I at least wanted to update folks on that."

Slashdot Top Deals

"When anyone says `theoretically,' they really mean `not really.'" -- David Parnas

Working...