Re: Could you anybody using DerelictSDL2 on Android?

2018-08-12 Thread zhani via Digitalmars-d-learn
On Sunday, 12 August 2018 at 03:42:34 UTC, Mike Parker wrote: On Saturday, 11 August 2018 at 14:36:59 UTC, zhani wrote: On Saturday, 11 August 2018 at 08:47:59 UTC, Mike Parker wrote: On Tuesday, 7 August 2018 at 12:05:33 UTC, zhani wrote: [...] I don't do any sort of Android development,

Re: Could you anybody using DerelictSDL2 on Android?

2018-08-11 Thread zhani via Digitalmars-d-learn
On Saturday, 11 August 2018 at 14:03:21 UTC, tide wrote: On Tuesday, 7 August 2018 at 12:05:33 UTC, zhani wrote: howdy :-) can anybody use sdl2 on android? first, i got a ldc2 for android. i just followed here on windows: https://wiki.dlang.org/Build_D_for_Android#Windows so i could

Re: Could you anybody using DerelictSDL2 on Android?

2018-08-11 Thread zhani via Digitalmars-d-learn
On Saturday, 11 August 2018 at 08:47:59 UTC, Mike Parker wrote: On Tuesday, 7 August 2018 at 12:05:33 UTC, zhani wrote: [...] I don't do any sort of Android development, so I've never tested any Derelict packages on the platform. A few years back someone did some work with the DerelictGLES

Could you anybody using DerelictSDL2 on Android?

2018-08-07 Thread zhani via Digitalmars-d-learn
howdy :-) can anybody use sdl2 on android? first, i got a ldc2 for android. i just followed here on windows: https://wiki.dlang.org/Build_D_for_Android#Windows so i could compile a sieve.d but didnt run it on android yet. then next? wut can i try for using DerelictSDL2 on android? and this

Re: CJK problem when using console outputs

2018-07-17 Thread zhani via Digitalmars-d-learn
On Monday, 16 July 2018 at 18:16:45 UTC, ag0aep6g wrote: On 07/16/2018 11:30 AM, zhani wrote: [...] Try this: import std.stdio: writeln; import std.exception: enforce; import core.sys.windows.windows: CP_UTF8, SetConsoleOutputCP; void main() { SetConsoleOutputCP(CP_UTF8).enforce;

Re: CJK problem when using console outputs

2018-07-16 Thread zhani via Digitalmars-d-learn
On Monday, 16 July 2018 at 09:30:22 UTC, zhani wrote: howdy :-) i got some problem about using CJK in windows10 console. [...] oh, sorry for my mistake. here: -- writeln("你好"); // C writeln("こんにちは"); // J

CJK problem when using console outputs

2018-07-16 Thread zhani via Digitalmars-d-learn
howdy :-) i got some problem about using CJK in windows10 console. here my code(a code file encoded the utf-8): -- import std.stdio; /* static this(){ core.stdc.wchar_.fwide(core.stdc.stdio.stdout, 1); setlocale(0,