Jump to content

D Programming/Quick Reference Card

From Wikibooks, open books for an open world

Program Structure/Functions

[edit | edit source]
void main(){}
minimal main routine
int main(char[][] aArgs){ return 0;}
main routine with arguments
/* */
block comments
/+ +/
nesting block comments
//
line comments

Types

[edit | edit source]

Integer

[edit | edit source]

Floating Point

[edit | edit source]

String

[edit | edit source]

Others

[edit | edit source]

Properties

[edit | edit source]