B
B is a programming language created in 1969. B is a programming language developed at Bell Labs circa 1969. It is the work of Ken Thompson with Dennis Ritchie. B was derived from BCPL, and its name may be a contraction of BCPL. Read more on Wikipedia...
51Years Old | 20Users | ?Jobs |
- B ranks in the top 25% of languages
- the B wikipedia page
- B first appeared in 1969
- B was created by Ken Thompson and Dennis Ritchie
- file extensions for B include b
- See also: abc, bcpl, pl-i, c, multics, algol-58, unix, tmg, yacc
- Have a question about B not answered here? Email me and let me know how I can help.
Example code from Wikipedia:
/* The following function will print a non-negative number, n, to the base b, where 2<=b<=10. This routine uses the fact that in the ASCII character set, the digits 0 to 9 have sequential code values. */ printn(n, b) { extrn putchar; auto a; if (a = n / b) /* assignment, not test for equality */ printn(a, b); /* recursive */ putchar(n % b + '0'); }
Last updated August 9th, 2020