ABS
Prototype: extern int ABS (int x );
Usage: # include
Function: calculates the absolute value of integer x.
Description: calculation | x |. If X is not negative, X is returned. Otherwise,-X is returned.
Example:
// Abs. c
# Include # Include
I. screen operation functions1. clrscr () clears the character Window Function2. window () character Window Function3. gotoxy () cursor locating Function4. clreol () clears the character function at the end of the cursor line5. insline () inserts an
I. screen operation functions1. clrscr () clears the character Window Function2. window () character Window Function3. gotoxy () cursor locating Function4. clreol () clears the character function at the end of the cursor line5. insline () inserts an
Function Name: tellFunction: obtains the current position of the file pointer.Usage: long tell (int handle );Program example:# Include# Include# Include# IncludeInt main (void){Int handle;Char msg [] = "Hello world ";If (handle = open ("TEST. $",
When using a variety of powerful free software, I always have reverence for its developers and hope that they will become one of them one day. Many people who are eager for a free community want to embrace it, but do not know how to do it. Then,
Hair for several days compiled a solution to a linear equation group of small procedures, can be the first actual combat on the defeat and return. After half a day of debugging, still can not find a way to correct. Because it's not an algorithmic
Function Name: ecvtFunction: converts a floating point number to a string.Usage: char ecvt (double value, int ndigit, int * decpt, int * sign );Program example:# Include# Include# IncludeInt main (void){Char * string;Double value;Int dec, sign;Int
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.