RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX


More articles by Danny Kalev, C++ Pro

Author Bio
Danny Kalev is a system analyst and software engineer with 13 years of experience, specializing in C++ and object-oriented analysis and design. He is a member of the ANSI C++ standardization committee and the author of ANSI/ISO C++ Professional Programmer's Handbook (Que, 1999, ISBN: 0789720221). Reach him at dannykk@inter.net.il.
For Get Help | March 11, 2004
Tired of the manual coding required by your bulk I/O operations? Learn how using stream iterators can help you do away with this tedious chore—as well as improve your apps' design and performance.
For Get Help | November 13, 2003
Standard C++ doesn't specify the initialization order of objects with static storage type. Using the accessor function will ensure that objects in separately compiled files are constructed in the correct order.
For Get Help | October 8, 2003
Typedef declarations help create platform-independent types and can even hide complex or unintelligible syntax. Predictably, however, using typedef comes with its own set of surprises. Learn how to navigate these pitfalls and use typedef to clean up your code.
For Get Help | August 13, 2003
These days, it pays to be string-savvy. Along with text processors, spellcheckers, and IDEs, new Web-oriented applications also make heavy use of strings for generating text, processing clients' requests, processing scripts, and logging. Find out how to use the specialized algorithms of class std::string to implement some common string-oriented tasks.
For Get Help | July 8, 2003
When you share data among users via a file, you put down the welcome mat for versioning problems, or worse, a security breach. Solve this problem using a simple design pattern.
For Get Help | June 11, 2003
C++ doesn't initialize automatic variables for you, and if you're unfamiliar with the right syntax or aggregate initialization, you can misuse important library functionsor you might be tempted to skip initialization altogether. Avoid creating unnecessary performance overhead, future maintenance problems, and potential bugs by learning how to correctly initialize data on your own.
For Get Help | March 12, 2003
Though the Standard Template Library offers a generic swap() algorithm, there are several other implementations from which to choose. Which implementation best suits your program's needs? This month's solution shows you how to evaluate each of them, enabling you to utilize each implementation to its greatest benefit.
For Get Help | February 1, 2002
Instead of relying on cin to validate input, read the input as a string and then check it. If the string passes the test, convert it to the desired type, say int or double.
For Get Help | October 1, 2001
How do you avoid the unnecessary drudgery of writing a linked list from scratch while benefiting from a generic, efficient and portable list data structure?
For Get Help | September 1, 2001
In this 10-Minute Solution, Danny Kalev shows you how to implement persistence without resorting to third-party frameworks such as DCOM and CORBA.
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date