|
|
A Generic Searchable Range Collection (.NET)
A common programming task is to match a value to a group of ranges in order to find a value associated with that range. The .NET framework does not provide a collection class to support this functionality so a new generic collection must be created.
 |
|
 |
|
|
|
The essence of the code analysis library VivaCore.
The article tells developers about VivaCore library, preconditions of its creation, its possibilities, structure and scope of use. This article was written simultaneously with the development of VivaCore library and that's why some of the details of the final realization may differ from the features described here. But this won't prevent the developers from getting acquainted with the general work principles of the library, mechanisms of analysis and processing of C and C++ source code.
 |
|
 |
|
OS Development Series
This is a series of on going tutorials developed specifically for beginner systems developers. Its aim is to provide the best and most informative information on developing a basic 32bit graphical operating system using NASM and C++ - Step by Step, and from the ground up.
This is a step by step series that is currently in development.
 |
|
 |
|
C++ header dependency tricks
Keeping header file dependencies to a minimum in C++ is always a good idea. Theres a great book on the subject. John Lakoss Large Scale C++ Design , but theres plenty of little tricks that arent mentioned. In this article I discuss a cool trick Ive discovered in reducing dependencies, particularly useful for STL headers.
 |
|
 |
|
|
|
Anatomy of Linux Synchronization Methods
In your Linux education, you may have learned about concurrency, critical sections, and locking, but how do you use these concepts within the kernel? This article reviews the locking mechanisms available within the Linux Kernel 2.6, including atomic operators, spinlocks, reader/writer locks, and kernel semaphores. Also try the Linux Kernal tutorial to learn how to compile, and customize a Linux kernelto suit your needs.
 |
|
 |
|
Static code analysis for verification of the 64-bit applications
The coming of 64-bit processors to the PC market causes a problem which the developers have to solve: the old 32-bit applications should be ported to the new platform. After such code migration an application may behave incorrectly. The article is elucidating question of development and appliance of static code analyzer for checking out of the correctness of such application. Some problems emerging in applications after recompiling in 64-bit systems are considered in this article as well as the rules according to which the code check up is performed.
 |
|
 |
|
|
|
Some examples of the 64-bit code errors
While porting 32-bit software to 64-bit systems there may appear some errors in the code of applications which were written in C++ language. The cause for these hides in the alteration of the base data types (to be more exact, in the relations between them) with the new hardware platform.
 |
|
 |
|
64-bits for C++ Developers: from /Wp64 to Viva64
The development of the 64-bit solutions market has given some new tasks in the field of their verification and testing. The article describes one of such tools - Viva64. It's a lint-like static code analyzer assigned for exposure of errors related with the peculiarities of the 64-bit platforms. The prerequisites for the creation of such an analyzer and its connection with the "Detect 64-Bit Portability Issues" regime in C++ compiler Visual Studio 2005 are covered in the article.
 |
|
 |
|
The forgotten problems of 64-bit programs development.
Though the history of 64-bit systems development makes more than a decade, the appearance of 64-bit version of OS Windows raised new problems in the sphere of development and testing applications. In the article there are considered some mistakes connected with 64-bit C/C++ code development to Windows. The reasons are explained according to which these mistakes didn't find their reflection in the articles devoted to the migration tasks and are unsatisfactorily detected by the majority of static analyzers.
 |
|
 |
|
|
|
20 issues of porting C++ code on the 64-bit platform
Program errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed.
 |
|
 |
|
Problems of testing 64-bit applications
The article observes some questions related to testing the 64-bit software. Some difficulties which a developer of resource-intensive 64-bit applications may face and the ways to overcome them are described.
 |
|
 |
|
Command Line Efficiency with GNU Perfect
Learn how to use gperf for effective command-line processing in your C/C++ code. The GNU tool gperf is a "perfect" hash function that, for a given set of user-provided strings, generates C/C++ code for a hash table, a hash function, and a lookup function.
 |
|
 |
|
Playing the Lottery with Eclipse CDT
Aside from Java IDE, Eclipse can also work with PHP, Ruby, and Groovy, C, and C++. In this article, you will learn how to build and develop applications in C++ using the Eclipse C/C++ Development Toolkit (CDT), and Standard Template Library (STL). This allows you to streamline the process and take advantage of powerful features C++ offers.
 |
|
 |
|
Using vector instead of arrays to prevent most of
Most of beginners define arrays of limited size such as:
int array[100]; // accomodate 100 integer values
These are ok, but your requirement may be different, and you want your application to determines the size of array at runtime, so if your requirement is to use 10 elements only, that means 90 are unused but memory is still allocated for them while application is running. On other hand your application requires 110 elements to be saved, the last 10 will be unallocated spaces if array size is 100, and access to unallocated memory address may result in applciation crash and/or system level damage.
 |
|
 |
|
Implementing associative arrays in C/C++
This article demonstrates using string/char* indexes in regular C array, e.g. myArray["age"]=10;
We usually use numaric indexes in arrays with C and C++. But there can be another way of using C / C++ arrays like in PHP.
 |
|
 |
|
Sorting of numbers
Here is an article on sorting of numbers using
Selection sort, Bubble sort, Insertion sort. You could also download the program to see how the sorting process takes place. The program is written using C graphics.
 |
|
 |
|
Mouse programming in C/C++
This is an article which describes interfacing of the mouse using C/C++ programming.
It contains information about:
calling the mouse, hiding the mouse, setting the position of the mouse, restricting the mouse position
 |
Visits: 1085 Updated: 2007-5-18 Rating: | |
 |
|
C Source codes
We now start some study corners, where we will try to teach some basics of the computer languages, with analyzing the programming logic and the syntaxes of the same, by providing the worked examples. Hereby we are presenting some basic worked examples, and its executable outputs of C compiler. One can find the downloadable source code and executable files packed in a .zip format in each links.
 |
Visits: 2315 Updated: 2007-5-18 Rating: | |
 |
|
|
|
C Programming Basic Reference
A very basic yet informative tutorial on C. It contains brief knowledge on variety of topics for beginners as reference.
 |
Visits: 13080 Updated: 2007-8-2 Rating: | |
 |
|