The Wayback Machine - https://web.archive.org/web/20150108140453/http://www.codeguru.com:80/cpp/misc/samples/basicprogramming/

Latest Basic Programming Articles

C++ Programming: A Better Vector Trim Algorithm With Move Semantics

Vectors are one of the single most useful and most used objects in the STL. They are easy to use, and remove the burden of memory management from the user. It is possible to partially control memory usage by using functions like reserve, but nothing is provided to free up excess memory. Users have come up with ways to trim a vector by hand, but with the advent of the new C++0x and its move semantics, the classic solution of copy-swaping has become excessively expensive. This article seeks to find a better solution.

Installing SQL Server 2008

Need your server and your site up and running quick? Let Greg Larsen show you what you need to know to get SQL Server running and configured.

Latest Developer Videos

More...

Latest CodeGuru Developer Columns

Top White Papers and Webcasts

  • Tintri smart storage addresses the mismatch between storage and the demands of virtualization. Built on the industry's first and leading intelligent application-aware architecture, VMstore and Tintri Global Center have the intelligence to deliver unparalleled performance and efficiency and end-to-end insights into the infrastructure, while allowing for unmatched VM control.

  • Server virtualization has redefined the compute paradigm by dramatically improving simplicity, agility, and scalability thereby lowering both capital and operational expenses. Unfortunately, storage technologies have traditionally not kept pace with the improvements in compute technology. Explore this white paper to understand how Maxta through the introduction of hyper-convergence and the combining of compute and storage onto one x86 platform has changed this paradigm.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date