Home > Articles > Programming > C/C++

C/C++

362 Items

Sort by Date | Title

C++ GUI Programming with Qt4: Layout Management
Nov 3, 2009
This chapter covers Qt's various classes that manage widget layout (including forms, stacked, split, and scrolling areas).
C++ GUI Programming with Qt4: Look and Feel Customization
Nov 10, 2009
This chapter shows how to change the look and feel of Qt's built-in widgets.
C++ GUI Programming with Qt4: Multithreading
Nov 6, 2009
This chapter shows how to subclass QThread and how to synchronize threads. It also shows how to communicate with the main thread from secondary threads while the event loop is running.
C++ GUI Programming with Qt4: Networking
Nov 6, 2009
This chapter shows how to write FTP and HTTP clients, TCP client-server applications, and how to send and receive UDP datagrams.
C++ GUI Programming with Qt4: Obtaining and Installing Qt
Nov 12, 2009
This appendix explains how to obtain and install a GPL edition of Qt onto your system.
C++ GUI Programming with Qt4: Platform-Specific Features
Nov 11, 2009
This chapter reviews some of the platform-specific options available to Qt programmers.
C++ GUI Programming with Qt4: Providing Online Help
Nov 9, 2009
This chapter discusses the various enduser help options in Qt including Tooltips, Status Tips, and "What's This?" Help, browser-based help, and using QTextBrowser and Qt Assistant.
C++ GUI Programming with Qt4: XML
Nov 9, 2009
This chapter covers the QtXml module, which Qt provides for general XML processing.
C++ Inheritance and Polymorphism
Apr 7, 2006
Good news! Inheritance and polymorphism can facilitate more concise code, which reduces waste throughout the lifecycle of a C++ product. By pushing more generic code into base classes, you can help reduce application code clutter as well as cutting down on code duplication. In this article, software consultant Stephen Morris insists that less code means less testing, lower maintenance costs, and easier upgrades.
C++ Memory and Resource Management
Jan 24, 2003
Stephen Dewhurst discusses how the various features of C++ are used together in memory management, how they sometimes interact in surprising ways, and how to simplify their interactions.
C++ Modularity with Namespaces and Exception Handling
Mar 3, 2006
Did you know that there are three different C++ namespace types? Namespaces, which are simple to learn and apply, offer a clever means of packaging your code and can assist when symbol conflicts occur. And how well does your code handle exceptions? Inserting exception-handling code can make your code more ready for packaging as external functions. Stephen Morris contends that just as namespaces offer an efficient way to package code, the skillful use of exception handling can quickly simplify that code.
C++ Nuts and Bolts: Casts, Call-by-Reference, and Inheritance
Jun 8, 2007
Learn the three areas of C++ that produce a lot of coding errors.
C++ Primer: Dealing with Data
By Stephen Prata
Dec 30, 2004
This chapter provides the very basics of data in C++ for C novices, and offers some programming exercises to practice on.
C++ Programming Styles and Libraries
Jan 18, 2002
One of the main aims of C++ has been to make it an excellent tool for writing libraries. In this article, Bjarne Stroustrup presents some points about the role of libraries and of the programming styles that they support and rely on.
C++ Templates: Metaprograms
Jan 24, 2003
Nicolai M. Josuttis and David Vandevoorde examine metaprogramming, or “programming a program.” Learn how to lay out code that the programming system executes to generate new code that implements the functionality you really want.
C++ Tip #83: Use a Checked STL Implementation
Mar 18, 2005
In C++, it's all too easy to make iterator mistakes, and you may not even detect them when compiling and running your program. That's the bad news. The good news is that you don't have to run blind. There are tools for checking your code for these errors, and this chapter will tell you how to use them.
C++ to C# Migration
Dec 29, 2006
Are you faced with the daunting prospect of migrating an important C++ product into C#? Or do you have intellectual property tied up in large swaths of C++ code, but you desperately need to move it to the .NET environment? It's not very difficult to move such code into the .NET/C# world, as Stephen Morris explains.
C++ Without Fear: Functions
May 17, 2011
A function is a group of related statements that accomplish a specific task. Understanding functions is a crucial step to programming in C++, as Brian Overland explains in this chapter from his book.
C++11 Regular-Expression Library
Jun 25, 2013
C++11 makes the capabilities of regular expressions directly available to you, without your having to write a regular-expression engine yourself. In this chapter from C++ for the Impatient, Brian Overland explains all the basic functionality so you can learn how to do just about anything you’d want to do.
Choosing Between References and Pointers in C++
May 24, 2012
Pointers have always been among the favorite subjects of C and C++ programmers. The introduction of reference types to the C++ language raises a series of questions: How are references similar or different from pointers? How are they implemented? And how do they replace pointers altogether in the modern crop of languages: Java, C#, and VB.NET? Also, can you reduce pointer usage in C++? Brian Overland, author of C++ Without Fear: A Beginner's Guide That Makes You Feel Smart, 2nd Edition, explores all these points.

<< < Prev Page 3 4 5 6 7 Next >