Home C C - Symbolic Constants Your Ad Here
 

Search on this site

Advertisement Partners

Job Search

Click here to search all jobs Powered by Monster.

Advertisements

Study in Russia
C - Symbolic Constants PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Admin   
Thursday, 19 February 2009 06:19
Symbolic Constants

You can define constants of any type by using the #define compiler directive. Its syntax is simple--for instance

#define ANGLE_MIN 0
#define ANGLE_MAX 360

would define ANGLE_MIN and ANGLE_MAX to the values 0 and 360, respectively. C distinguishes between lowercase and uppercase letters in variable names. It is customary to use capital letters in defining global constants.

Comments
Search RSS
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Donate & Support Us

Enter Amount:

Login Form



Joomla Templates by Joomlashack