Sorted by:  

JavaScript Object Terms

JavaScript is an object-based language. To understand how to interact with the document object model you work with in JavaScript, you need to understand some basic object-related terms. The following table [more…]

Troubleshooting JavaScript

JavaScript is a wonderful tool to use to create interesting and interactive Web pages, but every once in a while nothing works and you have no idea where to start to get things moving again. Not to worry [more…]

C Language Conversion Characters

When programming in C, you use conversion characters — the percent sign and a letter, for the most part — as placeholders for variables you want to display. The following table shows the conversion characters [more…]

C Language Escape Sequences

Programming in C is fast — all you have to do is type a short sequence of keystrokes — generally just two — to get a tab, a new line, a question mark, and more. The following table shows the sequences [more…]

C Language Keywords

The C programming language has just 32 keywords for you to build robust programs. With only 32 keywords, they all fit nicely into a short table. Use them wisely and well. [more…]

C Language Numeric Data Types

When programming with C, keywords and variables go together like the 4th of July and fireworks, although with a bit less drama. The following table shows C keywords, their variable types, and their ranges [more…]

C Language Mathematical Symbols

Programming math functions with C is fairly straightforward: a plus sign works like any sixth-grader knows it should and does addition. The mathematical symbols and the function they serve in C are shown [more…]

C Language Comparison Symbols

If you’re writing programs in C, you need to use comparison symbols. The symbols C uses, their meanings, and examples are shown in the following table: [more…]

C Language Comparisons and Their Opposites

If you’re programming in C — or any other language — you need to use If/Else statements. The comparison symbols you need if you’re working with C and the Else statements they generate are shown in the [more…]

C For Dummies Cheat Sheet

The C programming language is fast and versatile. You can use just 32 keywords and some fairly intuitive symbols to do comparisons and conversions. Then you get to numeric data and math symbols, which [more…]

Controlling Program Flow in C#

The following code segment depicts the great variety of ways in which program flow can be re-routed in C#, including if-else structures, while loops, and [more…]

Defining a Class in C#

In C#, as in most object-oriented programming languages, a class is a bundling of unlike data and functions that logically belong together into one tidy package. Good classes are designed to represent [more…]

C# Integer Variable Types

C# integer variables come in a variety of types and ranges. The following table sorts out the C# integer variables so you’ll always know the range and size of each. [more…]

C# Floating Point Variable Types

C# floating point variables come in two types: float and double. The following table compares these two types in terms of size, range, and accuracy. [more…]

Other C# Variable Types

It’s not always easy to sort out C#’s variables. The following table offers a comparison of all C# variable types except integer and floating point, which are covered elsewhere. [more…]

C# Operators and Precedence

It’s not always easy to determine which C# operators take precedence over others. The following table offers a list of common C# operators and their precedence, along with their cardinality and associativity [more…]

C# 2010 All-In-One For Dummies Cheat Sheet

C# is a Microsoft programming language used to build Windows programs, Web sites, and services. C# is primarily used with an Integrated Development Environment like Visual Studio 2010, which has templates [more…]

When to Use Subclassing in iPhone App Development

Subclassing is one of the mechanisms you use to customize behaviors while you're developing your iPhone application. Subclassing involves two stages: (1) creating a new class, called a subclass, that inherits [more…]

Knowing the Target-Action Patterns for iPhone App Development

Following are the Target-Action patterns that you use when programming iPhone applications. You generally will specify the target as the view controller [more…]

Operators in C# 2008

In order to perform operations in C# 2008, you need, well…operators. The following chart shows you these operators. These symbols determine which operations to carry out in an expression: [more…]

C# 2008 Integer Variable Types

Each variable has a fixed type in C#, and integer (int) variable types are limited to whole numbers. C# has several other integer variable types, shown in this chart: [more…]

C# 2008 Floating Point Variable Types

C# distinguishes real numbers, which come in two styles: floating point and decimal. Floating point is the most common and floating-point variables are assigned. This chart describes the two floating-point [more…]

Controlling Program Flow in C# 2008

C#, like most programming languages, can make decisions. You can create a C# program that reads your data and automatically performs the tasks you need. Depending on the attributes of the information it's [more…]

C# 2008 For Dummies Cheat Sheet

C# 2008 is an awesome programming language. Discover the operators you need to perform your functions and how to declare and use variables like integers, floating points, and others. Also take a look at [more…]

Common Computer Programming Loop Structures

Looping instructions, one of the basic logic structures in computer programming, tell the computer to repeat one or more instructions. Check out this list of basic loop structures in various computer programs [more…]

Sign Up for RSS Feeds

Computers & Software