Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.stdio;
- struct X {
- float a;
- }
- /* Hello World Program in D Programming */
- void main(string[ ] args)
- {
- X x1;
- float a = 6.0f;
- with(x1) {
- x1.a = .a;
- }
- writeln(x1.a);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement