On Friday, 3 March 2017 at 23:22:07 UTC, sarn wrote:
On Friday, 3 March 2017 at 20:35:04 UTC, Jamal wrote:
I have no idea what is is wrong and or how to fix it.
Any help?
It would be the alias. When you're running dmd from your
shell, you're using an alias that includes a bunch of flags to
I have successfully compiled and installed dmd, druntime and
phobos and installed them all in
/opt/dlang/dmd
/opt/dlang/druntime
/opt/dlang/phobos
Everything works, I can compile and run d programs just fine. I
use this in my .bashrc to make everything work:
# Dlang
export
On Sunday, 15 May 2016 at 12:42:05 UTC, rikki cattermole wrote:
On 16/05/2016 12:38 AM, Jamal wrote:
I made this little sdl2 game and written in D, and the project
was
initialized with dub.
When in the project directory and I type:
$ dub
It fetches all the dependencies and compiles with dmd.
I made this little sdl2 game and written in D, and the project
was initialized with dub.
When in the project directory and I type:
$ dub
It fetches all the dependencies and compiles with dmd.
So, what do I chance so that instead it compiles with ldc2 or
even gdc for that matter?
Warning D newb here.
Is it possible to define a member function outside of the
class/struct like in C++;
class x { body
void foo(int* i);
};
void x::foo(int* i){
*i++;
}
Or is it just D-like to define everything inside the class/struct
body?