C

View:  
Sorted by:  

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…]

C Language Comparisons and Their Opposites

Programming in C, or any programming language, means building comparisons — greater and lesser than and equal to in various combinations. Get to know the comparisons C uses and their opposites: [more…]

Order of Precedence in C Programming Language

If you're programming with C, you're using operators — and knowing whether to read those operators from left to right or right to left means writing a C program that works and one that crashes. Use the [more…]

C Language Variable Types

Whether you're working with regular or unsigned variables in your C program, you need to know a bit about those various variables. The following table show C variable types, their value ranges, and a few [more…]

C Language Operators

In programming with C, you occasionally want to use common mathematical operators for common mathematical functions and not-so-common operators for logic and sequence functions. Here's a look at C language [more…]

C All-in-One Desk Reference For Dummies Cheat Sheet

When working in the C programming language, you need to be familiar with how C does things — for example, its order of precedence, variable types, operators, and comparisons and their opposites. [more…]

Understanding the C Language Skeleton

Most coding starts with a C language structure. This skeleton includes the basic bones upon which most programs are written. Use this simple skeleton to get started: [more…]

C Language Keywords

The C language keywords represent the core of the language. With the C11 revision to the language, several new keywords have been added. They're shown with leading underscores in the following table: [more…]

C Language Variable Types

Rather than make all your variables floats, it’s more efficient to examine the type of data that’s stored and then choose an appropriate C variable type. [more…]

Common C Escape Sequences

When you cannot type characters into your string, use the escape sequences to insert nonprintable characters into text strings, char variables, and arrays. Here are common C escape sequences: [more…]

Common C Conversion Characters

The printf() and scanf() functions use conversion characters as placeholders for various values. Conversion characters are used to indicate a value when the function runs in the final program. [more…]

The Order of Precedence in C

The order of precedence determines which operators act upon a value first. When crafting statements, know the order of precedence to ensure that the program does what you intend. [more…]

Beginning C Programming For Dummies Cheat Sheet

The best way to learn programming is to start with a fundamental language like C. Nearly every other popular language today borrows from C. Whether you’re curious about programming, need to pass a college [more…]

Understanding the Header File

Beginning C language programmers tend to misunderstand the purpose of the header file. Don't confuse the header file with the library. They're two separate things. [more…]

The sprintf() Function

Aside from being one of the most popular text-output functions in the C language, printf() is the most powerful. It can format all sorts of variables in unique ways, with padding and alignment options [more…]

The Double-Linked List

Linked lists can be quite useful, for a number of reasons — though they take some time to wrap your mind around the concept. What's worse? The double-linked list. [more…]

A Taste of Recursion

Recursion is a big, scary word that you hear often about programming, especially the frustrating kind of programming that they teach at university. Though it's an easy concept to describe, it's really [more…]

10 Programming with C Coding Exercises

If you're just beginning with C programming, test your skills with these projects. Answers for these exercises are notprovided on the website. It's up to [more…]

Beginning Programming with C For Dummies Code Files

All the code files found in the listings of Beginning Programming with C For Dummies are available for download at this link. You can open these Notepad files and copy and paste the code as you like. [more…]

Basics of Code::Blocks IDE for C Programming

You’ll find the Internet spackled with various integrated development environments (IDEs) for C programming, and they’re all pretty good. The Code::Blocks IDE works on Windows, Mac OS X, and Linux. It [more…]

How to Create a New Code::Blocks Project in C

In the C programming language, a console application is one that runs in Text mode in a terminal window. Even though an integrated development environment is capable of more, that’s the best way to teach [more…]

How to Build and Run a Code::Blocks Programming Project in C

To create a program in the Code::Blocks C integrated development environment, you must build the project. This single step does several things. If you’ve already started your first project, ex0101, and [more…]

Listings:1-2526-5051-7576-100more...

Sign Up for RSS Feeds

Computers & Software
Great Gadget Giveaway -- Enter to Win!

Inside Dummies.com