Re: sort with char’s

2023-08-12 Thread Steven Schveighoffer via Digitalmars-d-learn
On Saturday, 12 August 2023 at 06:47:50 UTC, Joel wrote: writeln(name[].each!(n => n.write)); // get "christensenyes" //, " <> ", name[].sort!"a>b".each!(n => n.write)); This writes each character individually, and then at the end writes the result of `each` with a newline. In this

Re: How to create an .exe without execute the terminal in Windows?

2023-08-12 Thread thePengüin via Digitalmars-d-learn
On Saturday, 12 August 2023 at 23:30:34 UTC, ryuukk_ wrote: On Saturday, 12 August 2023 at 23:22:20 UTC, thePengüin wrote: On Saturday, 12 August 2023 at 23:18:16 UTC, Adam D Ruppe wrote: [...] Where could I get more information? I can't find this link "import core.sys.windows.windows"

Re: How to create an .exe without execute the terminal in Windows?

2023-08-12 Thread ryuukk_ via Digitalmars-d-learn
On Saturday, 12 August 2023 at 23:22:20 UTC, thePengüin wrote: On Saturday, 12 August 2023 at 23:18:16 UTC, Adam D Ruppe wrote: On Saturday, 12 August 2023 at 23:13:39 UTC, thePengüin wrote: I would know how to make some this but in Dlang: best way is to use the linker switch. On Win32,

Re: How to create an .exe without execute the terminal in Windows?

2023-08-12 Thread thePengüin via Digitalmars-d-learn
On Saturday, 12 August 2023 at 23:18:16 UTC, Adam D Ruppe wrote: On Saturday, 12 August 2023 at 23:13:39 UTC, thePengüin wrote: I would know how to make some this but in Dlang: best way is to use the linker switch. On Win32, you can pass -L/subsystem:windows if you don't want a console

Re: How to create an .exe without execute the terminal in Windows?

2023-08-12 Thread Adam D Ruppe via Digitalmars-d-learn
On Saturday, 12 August 2023 at 23:13:39 UTC, thePengüin wrote: I would know how to make some this but in Dlang: best way is to use the linker switch. On Win32, you can pass -L/subsystem:windows if you don't want a console to be automatically allocated. Please note when compiling on