Programmer's Corner Tutorials

Backup and Security Solutions 10% off all products with promo code: VISI-P1YR
Get the Programmer's Corner FireFox Search Plug-In

C# Tutorials

General/Misc

Introduction to Handling Exceptions in C#: Part 1

by Mark Schweikert Here is the scenario: You are very happy, you compiled your source code and the compiler told you everything is OK. When you run the executable a run-time error . . .

C++ Tutorials

Gaming/Graphical

Preventing Game Trainers from Modifying Your Game

A game trainer is an external program that modifies settings in your game. These settings can make the gameplay easier, or downright simple for someone to play your game. Some game trainers . . .

General/Misc

Function Calling Conventions

Many of us have heard of the different types of function calling conventions. This article will not only explain what each one is but will even show you how each one works by disassembling a . . .

Object Oriented Programming and Inheritance

Introduction Constructors Constructors with Arguments Default Argument Constructors Destructors The Complex Class Overloading Operators. I The Copy Constructor I. . . .

Object-Oriented

Polymorphism with C++

REQUIREMENTS: -> Should know Inheritance in C++ In the end I explain how the compiler implements polymorphism and so knowledge of Assembly Language will be a great help in . . .

Using Templates in C++ - Part 1: Function Templates

-Sanchit Karve born2c0de@hotmail.com INTRODUCTION Before I start this tutorial I assume that you have a working knowledge of Object Oriented Program (OOP) in C++. Without . . .

Using Templates in C++ - Part 2: Class Templates

-Sanchit Karve born2c0de@hotmail.com   Now let us assume that we have a Stack class(Data Structure) that is capable of storing only int's. Now suppose you want it to . . .

Cascading Style Sheets (CSS) Tutorials

General/Misc

CSS 'Position' Property

If you're not familiar with Cascading Style Sheets (CSS) and you make an attempt to jump right into its "position" element you may get a little confused. You have your choice of . . .

Hacking the Box Model Problem

If you're making the move from using tables to using CSS to layout your web sites you may have already encountered the situation known as the "Box Model Problem". It's very well . . .

Getting Started

Using a Custom Embedded Font to Jazz up your pages

How many times have you come across a site to find it using a specialized font to display the text? After a lot of searching, I found this to be a function of CSS. That might not be surprising for . . .

General Tutorials

Math

Floating Point Calculations in ASM (Assembly)

I. REQUIREMENTS A Simple Working Knowlegde of Mathematical Operators in C Working Knowledge of Assembly Any C Compiler. Borland C++ 5.02 is used here Any . . .

Java Tutorials

Object-Oriented

Object Oriented Programming (OOP) Tutorial - Part I - Intro to Classes

Classes are at the very core of Object Oriented Programming. A class defines the properties and methods of an object. Whether you know it or not you have already been working with classes and . . .

Object Oriented Programming (OOP) Tutorial - Part II - Intro to Interfaces

I recommend that you complete the Introduction to Classes before doing this as I will be continuing with the code from it. If you would like to keep the previous code for reference then I would . . .

Object Oriented Programming (OOP) Tutorial - Part III - Intro to Inheritance

Inheritance is an important part of object- oriented programming (OOP). It allows you to extend and enhance another class with out having that classes' source code or even knowing how that class . . .

Object Oriented Programming (OOP) Tutorial - Part IV - Abstract Class

Abstract classes are a lot like Interfaces. They can be used to define a data type just like an Interfaces does. The one main difference is that abstract classes can have code in them. Q: Why . . .

Object Oriented Programming (OOP) Tutorial - Part V - Instance vs Class

Up to this point we have created a few classes and I have been trying to avoid saying this word until now. Yes instance, what it means and the what difference between instance and class is. . . .

JavaScript Tutorials

Object-Oriented

Introduction to object orientated programming in JavaScript.

Introduction to object orientated programming in JavaScript. Object orientated programming in JavaScript is a bit different than in other languages such as Python, C++, C# or Java. It's a useful . . .

PHP Tutorials

General/Misc

The Power of PHP's strtotime() function

PHP has a function that allows us to find dates and times that could sometimes be a hassel to figure out. That function is strtotime() and it allows us to put in English phrases that can . . .

Getting Started

Forms and Addslashes / Stripslashes

Processing a form with PHP is a relatively simple procedure. However new PHP codes may become confused when they process a form and find that there have been slashes added to some . . .

Python Tutorials

Internet

Tutorial: Converting a phpBB forum into an RSS feed using Python.

RSS/Atom feeds are taking over the web - people like to keep up to date with the latest news, events, and ramblings, but they want to do so from a familiar, quick loading environment. A feed is . . .

SQL Tutorials

Data Access

Using A Predicated Subquery To Restrict A Join

By Mark Schweikert If you’ve ever used SQL to retrieve information from a database then I’m sure you are familiar with the SELECT statement; it allows the user to view a specified section of the . . .

Visual Basic .NET Tutorials

Object-Oriented

Object-Oriented Programming (OOP) Tutorial - Example - Abstract Class

You may have noticed that the bank account example we did had some similar code in both the SavingsAccount and CheckingAccount. Since we used interfaces we could not have that code in the . . .

Object-Oriented Programming (OOP) Tutorial - Example - Class & Interface

Before beginning this example make sure you have completed the Introduction to Classes and Introduction to Interfaces tutorials because I will not be giving an in depth explanation of how . . .

Object-Oriented Programming (OOP) Tutorial - Example - Class & Interface Executable

Menu Driven Executable This is a continuation from the Class & Interface Example so make sure you have completed that before continuing on with this page. On this page we will . . .

Object-Oriented Programming (OOP) Tutorial - Getting Started

[subheader]Object-Oriented Programming (OOP) Tutorial[/subheader] Classes are not really for the beginner and the following tutorials assume some basic knowledge of VB.NET. Anyone with a . . .

Object-Oriented Programming (OOP) Tutorial - Part I - Intro to Classes

Classes are at the very core of Object Oriented Programming. A class defines the properties and methods of an object. Whether you know it or not you have already been working with classes and . . .

Object-Oriented Programming (OOP) Tutorial - Part II - Intro to Interfaces

I recommend you complete the Introduction to Classes before doing this as I will be continuing with the code from it. If you would like to keep the previous code for reference then I would . . .

Object-Oriented Programming (OOP) Tutorial - Part III - Intro to Inheritance

Inheritance is an important part of object oriented programming (OOP). It allows you to extend and enhance another class with out having that classes' source code or even knowing how that . . .

Object-Oriented Programming (OOP) Tutorial - Part IV - Abstract Class

Abstract classes are a lot like Interfaces. They can be used to define a data type just like an Interfaces does. The one main difference is that abstract classes can have code in them. Q: Why . . .

Object-Oriented Programming (OOP) Tutorial - Part V - Instance vs Class

Up to this point we have created a few classes and I have been trying to avoid saying this word until now. Yes instance, what it means and the what difference between instance and class is. I . . .

Visual Basic 6 Tutorials

Gaming/Graphical

Basic Particle System in Visual Basic 6

-- By Daniel M. Story Particle Systems in a game or any type of application adds a great special effect. From spell casting in a game to wind movement studies, particles can be complex or . . .

theraje's VB6 Game Tutorial Series I - Drawing with Bitblt

Drawing with Bitblt Greetings, fellow game developers, and welcome to this installment of theraje's VB6 Game Tutorial Series, "Drawing with Bitblt!" Today we'll learn not only how to draw . . .

theraje's VB6 Game Tutorial Series I - Keyboard Input

Keyboard Input Welcome, budding game developers, to another installment of theraje's VB6 Game Tutorials! Today we're going to cover the aspects of getting input from the keyboard to add control . . .

theraje's VB6 Game Tutorial Series I - Making a Game Loop

Making a Game Loop Hey amigos, how y'all doin'?! In this tutorial, we're going to make a timed game loop for games written in Visual Basic 6.0. This is just like a regular Do/Loop, except that . . .

theraje's VB6 Game Tutorial Series I - Playing Sound Effects

Playing Sound Effects Well, hello and greetings to you, game programmer of the novice level! How are you today? I hope you're rip-roarin'-ready to learn how to play sound effects in your Visual . . .

General/Misc

Creating a C++ DLL for use in Visual Basic 6

  If you've ever had a piece of code which needs a small part in c++, here's a step-by-step guide to creating a simple c++ dll, and calling a function from VB. Create the C++ Project: . . .

By: Anonymous

Nokia FBUS SMS and PDU Utility Code and Notes

Private Sub Form_Unload(Cancel As Integer) If MSComm1.PortOpen = True Then MSComm1.PortOpen = False ' This code assumes that you have a Form called SMS ' with the following on it: . . .

Using the Set Command

Visual Basic 6     This short tutorial will explain why you need to use the Set command when referencing objects. . . .

Web Development Tutorials

Getting Started

Color Theory

As web designers it is our job to create sites that are appealing to the viewer. This does not simply mean having a layout that's easy to use and images that are beautiful. It also . . .

Web Safe Colors

When I first started learning about web design I came across a color chart of web safe colors. These were the colors (at that time) that all browsers would render the same. It was . . .

Internet

JavaScript Object Detection - An Alternative to Browser Detection

JavaScript is useful. It's a way of getting that extra bit of interactivity onto any webpage, while not being too difficult to understand or use to your advantage. This tutorial won't cover the . . .