
Learn the basics of the d programming language, including logic loops, functions, and object oriented programming. Explore installation, the console workflow, and nine projects to build your own projects.
Download and install the DMD compiler to run D language code, then download and install the Atem code editor to write your programs.
Resolve Dlang installation issues by specifying the DMD path or using a D2 file to run DMD; learn to add a new path in Windows to execute DMD.
Create first_program.d in a Code folder, import a standard input-output module, and write a main function that prints text to the console. Compile and run to display Hi.
Learn how to define functions without a trailing semicolon and practice printing multiple lines of text to the console, including greetings and simple random sentences, to reinforce D programming basics.
Learn basic console navigation by moving up and down directories, using paths, creating and deleting directories, listing contents, and clearing the screen.
Master basic arithmetic in the D programming language by writing and running examples of plus, minus, multiply, division, floating point numbers, and modulo, with parentheses and syntax tips.
Learn to declare and assign variables in D, using integer, long, short, double, float, and character types with true and false values. Print results and perform basic arithmetic.
Explore how expressions and statements work in the D programming language, including semicolons, booleans, and comments. Learn to write single-line and multiline comments that clarify code.
Understand how variables function in D programming language, including memory allocation, types, and addresses. Learn about statements, expressions, default values, and the role of comments and errors in programming.
Explore memory allocation for unsigned, short, long, and bite variables in D, using size of to inspect memory usage, then create real and complex numbers and inspect imaginary parts.
Explore assigning, creating, and working with variables in D; learn initialization, arithmetic operations, pre and post increment, parentheses, and output to the screen with in-code comments.
Learn variable naming rules in D, including allowed characters and camel case for multi-word names, practice creating typed variables like long and short, and casting between types with runtime output.
Master console input and output in D, reading integers, floats, booleans, and characters. Print formatted results with specifiers, adjust spacing and precision, and practice a two-integer division.
Revise the core D language basics: import for IO, read and write, printing with semicolons and line breaks, compiling and running, and fundamental types, variables, and casting.
Define and use enums in D by naming constant types inside curly braces, assign default or explicit values, and print the results to show their numbering.
Learn how to define and manipulate tuples in D, assign and swap values by indices, and cast types while handling non-fatal errors as you store multiple values.
Learn how to highlight your code by removing unnecessary files, installing the editor's syntax highlighting, and applying color themes in Atem Ed to make D code more readable.
Learn how to define a struct in d to group values of different types with named fields. Practice declaring, initializing by position or by name, and using default values.
Explore how unions share a single memory space to hold different types, sized by the largest member. See how writing to one member overwrites the rest and selects active value.
Explore if else conditionals in the D language by using if, else if, and else with logical operators and comparisons to control code flow and run the program.
Learn how the ternary operator speeds up conditions in D, including nesting and multiple outcomes, with practical examples of true and false branches.
Learn how to use the D language switch statement to check multiple cases, include break to prevent fall-through, use default for other cases, and handle numbers and characters.
Review D language basics, including enums, tuples, structs, unions, and control flow with if-else, ternary operators, and switch statements.
Calculates money growth over 1–5 years by inputting amount, currency, and annual increment, using doubles, conditionals, and a switch.
This project builds a dialogue between computer and programmer by using a union of int, double, boolean, and char to save and display a chosen value.
Learn to build a D language project that reads up to five integer values, stores them in a struct, validates input with if statements, and computes their sum to display.
Explore dynamic and limited and unlimited arrays in D, including creating limited and unlimited arrays, indexing from zero, slicing, printing elements, duplicating arrays, and sorting with the algorithm library.
Explore strings in the D language by creating string variables, indexing characters with brackets, using length, and slicing to produce substrings.
Explore string functions in D language, learning how to find characters with index and last index, convert case with to upper and to lower, and replace text within strings.
Create associative arrays by pairing a value type with string keys, using entries like name and key one. Output keys and values, access elements, and check the array length.
Explore pointers in the D language by creating a variable, forming a pointer, and using the asterisk and ampersand to access, dereference, and modify the memory location of a variable.
Explore the while loop in the D language by printing zero to ten with a counter. Learn how the condition and increments govern the loop.
Explore the for loop in D, using initialization, condition, and increment to sum numbers and print results; practice nested loops and converting a while loop to a for loop.
Learn to use foreach to iterate an array in D and print each value, with elements typed from the array. See how a while or for loop can reproduce output.
Explore breaking and continuing for and while loops in D, and master functions basics: return types, void functions, passing arguments, calling functions, and recursion.
Define and call functions in d, pass integers and arrays, print results, and modify values by reference using void functions.
Create custom modules with import, call functions directly after importing the whole module, and use private before import to limit dependencies.
Specify the module name to disambiguate functions across multiple modules, call the desired function from the correct module, and ensure you reference the main function accordingly.
Explore generic templates by implementing a function that multiplies values of various types, such as int and double, and observe how type T adapts for consistent results.
Review modules and imports, arrays and strings, pointers, keys and values in associative arrays, and templates, then cover functions, arguments, return types, and while and for loops.
Develop and test a bubble sort function template in D language, sorting a 10-element array by reference, swapping elements, and debugging range errors to switch between ascending and descending orders.
Count each character in a string using an associative array in the D language, iterating over the string, updating counts, and skipping spaces and punctuation to get character frequencies.
Compare two strings to identify common characters, manage case sensitivity, and build a result string using for loops and boolean flags.
Learn how to create classes and objects, access public, private, and protected members, and apply inheritance, encapsulation, interfaces, and abstract classes in Dlang.
Review class members with public, private, and protected access and how inheritance transfers public and protected data to derived classes. Explore interfaces and abstract classes and their contract roles.
Explore how constructors initialize objects in a class, running automatically when an instance is created. Learn about default constructors and the basic syntax for defining constructors in objects and classes.
In project 7 of Dlang, create an abstract person class and derive student and professor classes with age and gpa, then instantiate objects and print gpa and class count.
Create a Money class with private income and increment, a constructor to initialize them, and a public function to project income over months and print the total.
Define a rectangle interface with a public function to calculate the perimeter, using two integer sides; implement square classes with a side property and perimeter calculation, then compile to verify.
Explore exception handling in D with try, catch, and throwing custom exceptions, then learn unit tests, character literals, aliases, mixins, and immutable concepts.
Complete introduction to programming in D. Learn by doing assignments and projects.
Practical Accelerated D Programming Language Course
Simple Variables
IO
User-defined types
Logic
Derived data types
Loops
Functions
Modules
Templates
Object Oriented Programming
D Programming for Beginners
This course was built for complete beginners in D programming language. It covers basic, intermediate and advanced concepts of dlang. Most videos contain practice homeworks but they are optional. There are also 9 mini-projects you can watch to understand how projects in dlang are built.
In just one day you will be able to start coding in dlang by completing the course. At the end, you will get a certificate after completing the course.