Programming

View:  
Sorted by:  

How to Construct a Basic IF Statement in C

To really use the power of the C language, your programs need to make decisions. A computer can't think, but it can make comparisons, evaluate the results of the comparisons, and then act on that information [more…]

How to Construct a Basic IF-ELSE Statement in C

More often than not, your C-language programs react to an if comparison in two ways. First, they execute statements when a condition is true, but what happens when the situation is false? For example, [more…]

Choosing from Multiple Options in the C Language with ELSE-IF

The C language gives you a number of ways to build a program that makes a decision. If you need something to happen only when a particular prerequisite is met, C offers you the [more…]

How to Construct a Basic FOR Loop in the C Language

The core of most modern programs, including those in the C language, is the loop. A loop gives a program the ability to repeat a group of statements, sometimes for a given count or duration, or, often, [more…]

Breaking Out of an Infinite Loop in Your C Language Program

When you get into programming loops in the C language, you discover the joys and dreads of endless, or infinite, loops. These loops continue forever because either the programmer forgot to include a way [more…]

Incrementing and Decrementing in the C Language

The C language is full of shortcuts, and they're wonderful things. First, they save you typing time. More importantly, the shortcuts let you express some ideas in quick yet fun and cryptic ways, which [more…]

Incrementing or Decrementing a Variable in C Before or After You Use It

The C language is full of shortcuts, and they're wonderful things. First, they save you typing time. More importantly, the shortcuts let you express some ideas in quick yet fun and cryptic ways, which [more…]

C Language Escape Sequences

When you're programming in the C language, sometimes you need to refer to a key press that doesn't result in a specific character. Other times, you need to refer to a specific character literally that [more…]

How to Use Conversion Characters in the C Language's printf() Function

In the C language, if you want to print the value of a variable to the screen, you'll likely use the printf() function. To do so, you need to include a conversion character — a placeholder of sorts — in [more…]

How to Declare and Use Constants in the C Language

Constants can be very useful in C programming whenever you have any value that is repeated in your program. Declaring a constant allows you to quickly and easily change a value that is used throughout [more…]

The Importance of the main() Function in C Programming

All C language programs must have a main() function. It's the core of every program. It's required. The main()function doesn't really have to do anything other than be present inside your C source code [more…]

A Closer Look at C Functions

Functions are small routines or software commands that do specific tasks. In the C language, most of the work is done by these functions, not by the C language keywords. Functions are the key to creating [more…]

How to Display Text On-Screen in C with puts() and printf()

The things that a C program can do are limitless, but when you're first learning the language, you need to start small. One of the most common functions you'll want your C program to do is display text [more…]

How to Insert Comments in C Source Code

Like other programming languages, C lets you insert comments in your code. The comments are skipped over by the compiler but remain in the source code as a way for you to jot down notes, your intentions [more…]

Watching Out for Nested Comments in C

Because C's comments start and end with specific characters, you cannot put one comment inside another. This is known as nesting. Nested comments can cause errors in your code, so while you're programming [more…]

The Real Difference between Integers and Floating-Point Values

If a floating-point value can also be a whole number, why bother using integers in your programs at all? The reason is that floating-point values and integers are handled differently inside the computer [more…]

Text Input/Output Functions in the C Language

When you start dealing with variables in C, you'll invariably stumble into the garden of I/O, or input/output. The computer's primary input device is the keyboard, and its primary output device is the [more…]

iPhone Application Design Checklist

iPhone applications are complex, and it’s important to keep your eye on both the style and the function of your product. When you inspect your application, check these aspects: [more…]

Metadata Checklist for Creating iPhone Applications

For an iPhone application to function, it needs to check all the boxes for metadata. Follow these rules to make your metadata functional and helpful: [more…]

iPhone Application Name Checklist

Even if you have a great iPhone application idea, you need a great name that sells it. Follow a few simple rules to make your name memorable and successful: [more…]

Checklist for Making Screen Shots of Your iPhone Applications

In the Apple store, you need to communicate the function and elegance of your application with smartly selected graphics. You can submit up to five screen shots for your listing. Follow these steps to [more…]

Localization Checklist for Creating iPhone Applications

An iPhone application may be designed in one country and distributed in many. For maximum sales, you need to consider the language and cultural preferences of every country where you hope to make sales [more…]

Starting an iPhone Application Business For Dummies Cheat Sheet

Make developing iPhone applications easier, more fun, and more rewarding with some simple guidelines for planning, creating, and distributing your work. These checklists will keep you on the path to a [more…]

VBA Keyboard Shortcuts

If you’re using VBA to streamline your Windows programs and operations, making use of the shortcut keys in the following list can help you streamline even more quickly and easily. [more…]

Common VBA Functions

VBA helps you dig into your Windows programming. The VBA functions in the following list are ones used most often or that have proven to be quite helpful: [more…]

Advertisement

Sign Up for RSS Feeds

Computers & Software
Win $500. Easy. Enter to win now.

Inside Dummies.com