Re: How run program with RDMD when code need load C++ code compiled by DMC to .obj?

2020-01-02 Thread Marcone via Digitalmars-d-learn
On Friday, 3 January 2020 at 05:12:21 UTC, Marcone wrote: Using dmd run compile very whell: dmd Program.obj cpp.obj But with rdmd not work. extern(C++) void teste(); void main(){ teste(); } OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights

How run program with RDMD when code need load C++ code compiled by DMC to .obj?

2020-01-02 Thread Marcone via Digitalmars-d-learn
Using dmd run compile very whell: dmd Program.obj cpp.obj But with rdmd not work.

Re: how to get current timestamp?

2020-01-02 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Thursday, 2 January 2020 at 18:56:37 UTC, bachmeier wrote: On Thursday, 2 January 2020 at 18:41:59 UTC, Ferhat Kurtulmuş wrote: Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508? I use import

Re: how to get current timestamp?

2020-01-02 Thread bachmeier via Digitalmars-d-learn
On Thursday, 2 January 2020 at 18:41:59 UTC, Ferhat Kurtulmuş wrote: Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508? I use import std.datetime; Clock.currTime().toISOExtString()

how to get current timestamp?

2020-01-02 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508?

Re: Concatenation/joining strings together in a more readable way

2020-01-02 Thread bachmeier via Digitalmars-d-learn
On Wednesday, 25 December 2019 at 12:39:08 UTC, BoQsc wrote: Are there any other ways to join two strings without Tilde ~ character? I can't seems to find anything about Tilde character concatenation easily, nor the alternatives to it. Can someone share some knowledge on this or at least point

Re: Concatenation/joining strings together in a more readable way

2020-01-02 Thread Marcone via Digitalmars-d-learn
On Wednesday, 25 December 2019 at 12:39:08 UTC, BoQsc wrote: Are there any other ways to join two strings without Tilde ~ character? I can't seems to find anything about Tilde character concatenation easily, nor the alternatives to it. Can someone share some knowledge on this or at least point