Home › Magazines › 2006 › March › C booklet

C booklet

Not just for R8C fans!

Published in issue 352, March 2006

C booklet
Contents
Foreword
Why C?
C Basics
The structure of a C program
The main function
Comments in C
The #include directive
Keywords in C
Constants and Variables
Number systems
Data types
Constants
Variables
Operators in C
Arithmetic operators
Relational operators
Logical operators
Shortcuts
Functions in C
The function concept
Declaring a function
Calling a function
Program Control
If
if...else
switch
for
while
do...while
Appendix
Header file sfr_r813.h
Header file math.h

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (U060300.pdf)
10 Elektor Credits
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF