On Friday, 22 November 2019 at 04:45:21 UTC, Mike Parker wrote:
On Friday, 22 November 2019 at 04:22:07 UTC,
FireController#1847 wrote:
Right, but readln will only wait until the user presses the
delimiter (by default Enter/Return). I want it to wait until
ANY key is pressed, not a specific
On Friday, 22 November 2019 at 04:22:07 UTC, FireController#1847
wrote:
Right, but readln will only wait until the user presses the
delimiter (by default Enter/Return). I want it to wait until
ANY key is pressed, not a specific key
The documentation for std.stdio.File shows two functions
On Friday, 22 November 2019 at 04:41:30 UTC, mipri wrote:
~this() { reset(); }
Oh, if you don't ever call raw() this will break your terminal.
I just copied some code from a toy program and adapted it, and
didn't notice that until I posted.
On Friday, 22 November 2019 at 04:22:07 UTC, FireController#1847
wrote:
Right, but readln will only wait until the user presses the
delimiter (by default Enter/Return). I want it to wait until
ANY key is pressed, not a specific key
If curses is available you can use it, at the cost of
On Friday, 22 November 2019 at 04:19:40 UTC, mipri wrote:
On Friday, 22 November 2019 at 04:10:23 UTC,
FireController#1847 wrote:
I'm an extreme beginner to DLang (just started using it.. oh,
an hour ago?), and I already can't figure out a, what I'd
consider, fairly simplistic thing.
This is
On Friday, 22 November 2019 at 04:10:23 UTC, FireController#1847
wrote:
I'm an extreme beginner to DLang (just started using it.. oh,
an hour ago?), and I already can't figure out a, what I'd
consider, fairly simplistic thing.
This is my current code:
module DTestApp1;
import std.stdio;
I'm an extreme beginner to DLang (just started using it.. oh, an
hour ago?), and I already can't figure out a, what I'd consider,
fairly simplistic thing.
This is my current code:
module DTestApp1;
import std.stdio;
int main() {
write("Press any key to continue...");
stdin.read();
Adam D. Ruppe wrote:
On Friday, 22 November 2019 at 03:42:26 UTC, dokutoku wrote:
Is there a difference in the execution speed and stability when
executing the program by rewriting the parameter of the function
argument like this?
the generated code the processor sees is generally
On Friday, 22 November 2019 at 03:42:26 UTC, dokutoku wrote:
Is there a difference in the execution speed and stability when
executing the program by rewriting the parameter of the
function argument like this?
the generated code the processor sees is generally identical, but
the `ref`
On Friday, 22 November 2019 at 03:42:26 UTC, dokutoku wrote:
Is there a difference in the execution speed and stability when
executing the program by rewriting the parameter of the
function argument like this?
```d
void test1 (int * X)
{
// some processing
}
void test2 (ref int X)
{
Is there a difference in the execution speed and stability when
executing the program by rewriting the parameter of the function
argument like this?
```d
void test1 (int * X)
{
// some processing
}
void test2 (ref int X)
{
// some processing
}
```
On Thursday, 21 November 2019 at 22:11:59 UTC, Alex wrote:
On Thursday, 21 November 2019 at 21:36:08 UTC, Taylor R
Hillegeist wrote:
I was looking through the standard library for a good way to
split a range into several ranges based on value changes in
the stream:
AAABB
would be
On Thursday, 21 November 2019 at 21:36:08 UTC, Taylor R
Hillegeist wrote:
I was looking through the standard library for a good way to
split a range into several ranges based on value changes in the
stream:
AAABB
would be split on the AB transition into:
AAA BB
I just
I was looking through the standard library for a good way to
split a range into several ranges based on value changes in the
stream:
AAABB
would be split on the AB transition into:
AAA BB
I just couldn't figure out an elegant way to do it? Any ideas?
On Thursday, 21 November 2019 at 20:45:16 UTC, Steven
Schveighoffer wrote:
To clarify, I need the compile time string that will match
typeid(instance).name, so I can match the derived type.
You have to make sure that the derived type is passed to your
register function, but then
On 11/21/19 3:44 PM, Steven Schveighoffer wrote:
I thought I could do typeid(Class).name to get the class name that will
be returned at runtime if you did typeid(instance).name. But it's not
accessible at compile-time.
What compile-time string should I use for instance in a constructed
I thought I could do typeid(Class).name to get the class name that will
be returned at runtime if you did typeid(instance).name. But it's not
accessible at compile-time.
What compile-time string should I use for instance in a constructed
switch statement? I'm trying to implement serialization
On Thursday, 21 November 2019 at 09:26:39 UTC, zoujiaqing wrote:
On Thursday, 21 November 2019 at 08:42:39 UTC, Seb wrote:
Note this line:
Running .\myproject.exe
Program exited with code -1073741515
Your compiled program is crashing. Could you run the compiled
binary manually and obtain
On Thursday, 21 November 2019 at 08:42:39 UTC, Seb wrote:
Note this line:
Running .\myproject.exe
Program exited with code -1073741515
Your compiled program is crashing. Could you run the compiled
binary manually and obtain a stack trace?
Install msvcr100.dll for x64 the question is
On Thursday, 21 November 2019 at 08:42:39 UTC, Seb wrote:
Note this line:
Running .\myproject.exe
Program exited with code -1073741515
Your compiled program is crashing. Could you run the compiled
binary manually and obtain a stack trace?
x86 is OK, but x64 bad.
PS
On Thursday, 21 November 2019 at 08:42:39 UTC, Seb wrote:
On Thursday, 21 November 2019 at 08:30:33 UTC, zoujiaqing wrote:
1. Download dmd.2.088.1.windows.7z
2. Unzip it to D:\Develop\dmd2
3. Add ENV D:\Develop\dmd2\windows\bin to System Path
4. Run `dub --version` and `dmd --version` in
On Thursday, 21 November 2019 at 08:30:33 UTC, zoujiaqing wrote:
1. Download dmd.2.088.1.windows.7z
2. Unzip it to D:\Develop\dmd2
3. Add ENV D:\Develop\dmd2\windows\bin to System Path
4. Run `dub --version` and `dmd --version` in powershell is OK
5. dub ini myproject (no dependency)
6. Run `cd
1. Download dmd.2.088.1.windows.7z
2. Unzip it to D:\Develop\dmd2
3. Add ENV D:\Develop\dmd2\windows\bin to System Path
4. Run `dub --version` and `dmd --version` in powershell is OK
5. dub ini myproject (no dependency)
6. Run `cd myproject` and `dub run` is error...
Error Logging infomation:
On Wednesday, 20 November 2019 at 22:26:17 UTC, Adam D. Ruppe
wrote:
On Wednesday, 20 November 2019 at 20:57:56 UTC, Matheus wrote:
This is a different way of designing things, do people use
this often?
This is really only useful sometimes.
It is important to notice that if you do
class C :
24 matches
Mail list logo