Just starting with D (linking with C++)
sivakon
sivakon at outlook.com
Fri Oct 27 17:43:08 UTC 2017
On Friday, 27 October 2017 at 17:21:39 UTC, Joakim wrote:
>
> This should work:
>
> dmd foo.d Sample.o
>
> Just like the C examples from the D blog:
>
> https://dlang.org/blog/2017/10/25/dmd-windows-and-c/
Just used this! Got this error!
sample.o: In function `foo(int, int, int)':
sample.cpp:(.text+0x17): undefined reference to `std::cout'
More information about the Digitalmars-d-learn
mailing list