C and C++ Programming Resources

Custom Search

Tutorials

A simple DirectDraw sample

Posted on October 6th, 2008 5 Comments

This is a very simple DirectDraw sample.   DirectDraw Sample Program (18.1 KiB, 5,912 hits) Setting up DirectX under Visual C/C++ I most likely won’t be doing DirectX development under Watcom or Borland C/C++ or Delphi or VisualBasic etc; so if you want such info included here, you’ll have to send it to me. Firstly, the directories must...
Read More | Make a Comment

Palettes, Gaming concepts, double buffering

Posted on October 5th, 2008 0 Comments

Screen modes come in several flavours, based on how many bits are used to store the color of each pixel on the screen. Naturally, the more bits you use per pixel, the more colours you can display at once; but there is more data to move into graphics memory to update the screen. 1,2,4 and 8 bit “indexed” modes (8 bit is the most popular and is better...
Read More | Make a Comment

Direct X and its Components

Posted on October 4th, 2008 0 Comments

“One of the main purposes of DirectX is to provide a standard way of accessing many different proprietary hardware devices” DirectX is comprised of application programming interfaces (APIs) that are grouped into two classes: The DirectX Foundation layer The DirectX Media layer These APIs enable programs to directly access many of your computer”s...
Read More | Make a Comment

Exception Handling in C#

Posted on September 26th, 2008 0 Comments

An exception usually signals an error. Thought it doesn’t always indicate an eror, it can also signal some particularly unusual even in your program that deserves special attention. Exception & Errors Handling No mater how good our program is, it always have to be able to handle possible errors. Most applications today contain some form of error handling....
Read More | Make a Comment

What’s new in C++?

Posted on September 25th, 2008 0 Comments

As we begin the study of C++ and object oriented programming, a few commentsare in order to help you get started. Since the field of object oriented programming is probably new to you, you will find that there is a significant amount of new terminology for you to grasp. This is true of any new endeavor and you should be warned not to be intimidated by all of...
Read More | Make a Comment

Working with Namespaces in C#

Posted on September 24th, 2008 0 Comments

Every application begins with a namespace in C# .NET that has the same name as the project. Of course, you can change the namespace to anything you like in order to maintain compatibility with other projects. For example we declared namespace Mycplus.CSharpBasics while taking an Overview of C#. We can write the whole application with in one namespace or we can...
Read More | Make a Comment

Statements in C#

Posted on September 23rd, 2008 2 Comments

The real nuts and bolts of a programming languages is that which controls the flow of a program called statements. Types of Statements in C# C# borrows most of its statements directly from C and C++, though there are some noteworthy additions and modifications. Expression & Control statements Labeled & goto statements Control statements allow to branch...
Read More | Make a Comment

Polymorphism

Posted on September 22nd, 2008 0 Comments

Class inheritance is not just about reusing the classes at many locations, it also adds enormous flexibility to the way in which one can program his application. The object-oriented programming approach focuses on objects as the basis for application building. Objects are instances of classes, which contain a description of related data and procedures. The Visual...
Read More | Make a Comment


Page 3 of 9123456789