Tech Tutorials Database
 GeekArticles Programming C++

Sponsored Links

 
2493 Articles.    Next Page   

Multithreading in C++   By devarticles.com
Page 1 of 11 Multithreading is growing in importance in modern programming for a variety of reasons not the least of which being that Windows supports multithreading. While C does not feature built-in support for multithreading it can be used to created multithreaded programs which is the subject of this article. It is taken from chapter three...

A Simple Garbage Collector for C++   By devarticles.com
Page 1 of 12 The use of dynamically allocated memory must be managed because it has a tremendous effect on the performance of your programs. The current trend in handling dynamic memory seems to be shifting toward an automated approach. While C uses the manual approach for managing dynamic memory this does not mean that it can t be automated...

Page 1 of 4 Very often when a program takes longer to compile after you have made what appear to be trivial changes the blame can be laid at the door of dependency chains between header files. One change can trigger the need for a massive rebuild. J. Nakamura explains a way to make header files insensitive to any change -- thus saving all that...

Page 1 of 4 In our second article on the Singleton pattern J. Nakamura discusses a reusable code version of the pattern. In the previous article I introduced a design pattern named the Singleton as it is described in the book Design Patterns Gamma . Design patterns are very useful for describing solutions to common problems that software engineers...

Page 1 of 5 Have you ever wondered how to implement a class with simple logging functionality J. Nakamura explains how to do it in a way that makes use of the Singleton pattern. There is a great book called Design Patterns Gamma that encapsulates knowledge trapped inside the heads of experienced programmers presenting it in understandable and...

By Tom Archer As a C developer you re more accustomed than most to looking at the call stack during your debugging sessions. As an extension of that many times you need a way to programmatically retrieve stack information during the execution of your application. Unfortunately for a long time the best you had for this task was the standard __FILE__...

By Radu Braniste Go to page 1 2 Next Why Static Interfaces in C Usually an interface describes in an abstract way a contract having to be fulfilled by classes implementing that interface. Unfortunately C does more than this when expressing the idea of an interface through Abstract Base Classes ABC -all the functions have to be additionally declared...

More on Handling Basic Data Types   By devarticles.com
Page 1 of 13 Have you ever wanted to learn how basic types of C variables interact in complex situations Ivor Horton explains this and also describes some interesting features of C . This article is from chapter 3 of Ivor Horton s Beginning ANSC C The Complete Language Apress 2004; ISBN 1590592271 . IN THIS CHAPTER I expand on the types...

Visual C++ 2005 IDE Enhancements   By developer.com
By Nick Wienholt With all the changes to the C language improvements in the IDE have not been given a great deal of attention. Despite the lack of publicity the IDE improvements are quite significant. They will drastically improve the developer experience on a day-to-day basis. The number of improvements is large and broad-everything from enhancements...

By Tom Archer One of the biggest drawbacks of programming in Visual C MFC was its lack of support for even the most basic of imaging functions-such as loading and displaying an image. Therefore this article illustrates how incredibly easy .NET makes displaying a user-selected image and allowing the user to dynamically resize that image. The File...

Function Pointers, part 3   By devarticles.com
Page 1 of 4 In previous articles Jun Nakamura introduced using regular function pointers C class member function pointers and declaring pointers to the members of classes. In this article he writes about calling conventions callback functions and begins to talk about using functors. There are many programming languages out there and a lot...

By Tom Archer Go to page 1 2 Next In my previous article Managed C Retrieving User s Windows Security Information I mentioned that there are times when an application can benefit from knowing specific Windows security information about a user. For example in a recent spyware detection removal system that I wrote the code needed...

By Nick Wienholt Go to page 1 2 Next In a continued examination of the new Visual C 2005 IDE Enhancements this article looks at the code definition window editor enhancements changes to class view and finally one of the big new additions to Visual C the class diagram. IntelliSense Revisited Briefly Part 1 of this series on the Visual C...

By Kate Gregory Go to page 1 2 3 Next In my previous column I showed how to create a class library in C that can be called from a macro and presented a very simple function in the class library that adds braces for you suitable for use after typing an if or for statement. In this column I show you a somewhat meatier piece of code a macro for...

Function Pointers, part 2   By devarticles.com
Page 1 of 4 In the previous article Jun Nakamura introduced you to the use of regular function pointers but when you write C code you will be interested in C class member function pointers too. It is time to look at how to declare pointers to the members of classes you write for your applications. Class Member Function Pointer Syntax The...

2493 Articles.    Next Page   

Sponsored Links

Sponsored Links

Subscribe via RSS

Subscribe to GeekArticles.com by Email

Enter your email address:

 Subscribe in a reader



 
 
 

Latest Comments

Sponsored Links