char 1 byte.
Can be signed (-128 to 127) or unsigned (0 to 255). By default is signed.
int 2 bytes.
Can be signed (-32768 to 32767) or unsigned (0 to 65535). By default is signed.
Pointers 2 bytes.
Arrays Size of type * number of items.
Arrays of pointers are not supported.
'''CONSTANTS'''
Examples: "This is a text"
"Text with a newline\n"
'''NAMES'''
Can be included in character constants or strings.
\n Newline, 10 decimal. \t Tab, 9 decimal. \r Carriage line, 13 decimal. \b Backspace, 8 decimal. \a Alarm, 7 decimal. \f Formfeed, 12 decimal. \0 Null, 0 decimal.
'''SUPPORTED STATEMENTS'''
for(init, cond, incr) statement; while(cond) statement; do statement; while(cond); switch(cond) case statements; if(cond) statement; else statement; continue; break; return; return expr;
'''OPERATORS AND PRECEDENCE'''
! ~ ++ -- - * & right to left * / % left to right + - left to right << >> left to right < <= > >= left to right == != left to rigth & left to rigth ^ left to right| | left to right && left to right || left to right ?: right to left = -= += *= %= right to left /= &= ^= |=
'''LIBRARIES'''
mescc.h Runtime. All programs must include this file first. alloc.h Memory allocation functions. clock.h Date & time functions for CP/M Plus. conio.h Console I/O functions. cpm.h CP/M specific functions. ctype.h Test and character conversion functions. fileio.h Stream file I/O functions. fprintf.h Formatted output to file. mem.h Memory functions. printf.h Formatted output to console. rand.h Pseudo-random number generation. setjmp.h Long jumps support. sprintf.h Formatted output to memory. string.h String functions. xprintf.h Support library for printf, fprintf and sprintf. z80.h Z80 specific functions.
'''COPYRIGHT'''
http://www.floppysoftware.vacau.comes [[Category:C]] [[Category:Programming]] [[Category:Programming_software]] [[Category:CrossDev]]