Exemple:
Inside folder Project I have ten folders. How can I add this ten
folders using dmd and -J command? I don't want add one by one.
I create Bots for Telegram using Python or PHP. But I love Dlang
and would like to create my Bots in Dlang. Is there any support
for Dlang to create Telegram Bots?
#!/usr/bin/env dub
/+ dub.sdl:
name "hello_vibed"
dependency "vibe-d" version="~>0.8.0"
+/
import vibe.vibe;
void main()
{
listenHTTP("127.0.0.1:8080", (req, res) {
res.writeBody("Hello Vibe.d: " ~ req.path);
});
runApplication();
}
Message error:
Error: module `vibe`
On Friday, 3 April 2020 at 20:49:33 UTC, Steven Schveighoffer
wrote:
On 4/3/20 4:21 PM, Baby Beaker wrote:
[...]
That error generally means it can't find the import.
Dub should take care of the download of the module, and the
import directory.
Note, this runs for me on my system.
Try doin
Program.d
#!/usr/bin/env dub
/+ dub.sdl:
name "hello_vibed"
dependency "vibe-d" version="~>0.8.0"
+/
import vibe.vibe;
import std;
void main()
{
writeln("Ola Mundo!");
listenHTTP("127.0.0.1:8080", (req, res) {
res.writeBody("Hello Vibe.d: " ~ req.path);
});
runAppl
On Friday, 3 April 2020 at 20:49:33 UTC, Steven Schveighoffer
wrote:
On 4/3/20 4:21 PM, Baby Beaker wrote:
[...]
That error generally means it can't find the import.
Dub should take care of the download of the module, and the
import directory.
Note, this runs for me on my system.
Try doin
On Saturday, 4 April 2020 at 21:54:34 UTC, Andre Pany wrote:
On Saturday, 4 April 2020 at 20:21:03 UTC, Marcone wrote:
I want import modules from dub packages in my program.d and
run using dmd.exe without dub.exe. How can I make it? Becouse
when I try to import it says that can not found.
Ag
I want develop Android apps using Qt5. But C++ is very hard. I
want to use Dlang becouse Dlang is very easy.
There is a Python eval() equivalent in Dlang working in Runtime?
I am creating a program in Dlang with graphical user interface. I
want this program to run a hidden sub-process in the background.
But when I click the program to run this process using spamShell
or executeShell, open the command prompt console running this
other process. Please help me.
On Saturday, 2 May 2020 at 15:20:36 UTC, Adam D. Ruppe wrote:
On Saturday, 2 May 2020 at 14:06:55 UTC, Baby Beaker wrote:
open the command prompt console running this other process.
when calling the functions pass Config.suppressConsole to it.
like in the doc example here
http://dpldocs.inf
On Saturday, 2 May 2020 at 15:42:20 UTC, Adam D. Ruppe wrote:
On Saturday, 2 May 2020 at 15:37:09 UTC, Baby Beaker wrote:
Error: none of the overloads of `spawnProcess` are callable
using argument types `(string, File, File, File, Config)`,
candidates are:
The example is prolly out of date
t
I need open a Binary EXE, it can be using "rb" mode and convert
it to Hexadecimal for me make some changes and save as "rb"
again. How can I make it? Thank you.
On Saturday, 2 May 2020 at 22:26:20 UTC, wolframw wrote:
On Saturday, 2 May 2020 at 21:05:32 UTC, Baby Beaker wrote:
save as "rb" again.
This will not work. To be able to write to a binary file, you
will have to use "wb".
sure!
How can I assign a variable in “if” condition in Dlang?
15 matches
Mail list logo