Re: Problem while copy Array Element to variable

2017-07-25 Thread Zaheer Ahmed via Digitalmars-d
On Tuesday, 25 July 2017 at 17:11:37 UTC, Ali Çehreli wrote: On 07/25/2017 09:14 AM, Zaheer Ahmed wrote: > My Dynamic array completely work good but when assign it's one index to > a variable, it's saves ASCII of that index. > writeln(myarray); // output 24 > var = myarray[0]; // it assign 50 to

Problem while copy Array Element to variable

2017-07-25 Thread Zaheer Ahmed via Digitalmars-d
My Dynamic array completely work good but when assign it's one index to a variable, it's saves ASCII of that index. writeln(myarray); // output 24 var = myarray[0]; // it assign 50 to var Why changed to ASCII and how to get rid of.

auto conversion to ascii

2017-07-25 Thread Zaheer Ahmed via Digitalmars-d
My Dynamic array complete show is good but when assign it's one index to a variable, it's saves ASCII of that index. writeln(myarray); // output 24 var = myarray[0]; // it assign 50 to var Why changed to ASCII and how to get rid of please...

Re: Error: -o no longer supported, use -of or -od

2017-07-17 Thread Zaheer Ahmed via Digitalmars-d
On Monday, 17 July 2017 at 17:10:51 UTC, Jonathan Marler wrote: On Monday, 17 July 2017 at 16:08:30 UTC, Zaheer Ahmed wrote: When Compiling kernel.d with makefile I get Error: -o no longer supported, use -of or -od and my Makefile Commands to do this is following. DMDPARAMS = -m32 //...some

Error: -o no longer supported, use -of or -od

2017-07-17 Thread Zaheer Ahmed via Digitalmars-d
When Compiling kernel.d with makefile I get Error: -o no longer supported, use -of or -od and my Makefile Commands to do this is following. DMDPARAMS = -m32 //...some objects %.o: %.d dmd $(DMDPARAMS) -o $@ -c $<

Re: (char* str) is not callable using argument types (string)

2017-07-17 Thread Zaheer Ahmed via Digitalmars-d
On Monday, 17 July 2017 at 14:10:39 UTC, Adam D. Ruppe wrote: On Monday, 17 July 2017 at 13:56:24 UTC, Zaheer Ahmed wrote: I Developed OS in C and C++ but first time stuck in types. A lot of C and C++ knowledge will carry over to D, but it isn't exactly the same. D's strings are of type

(char* str) is not callable using argument types (string)

2017-07-17 Thread Zaheer Ahmed via Digitalmars-d
I am Developing and Operation System in D and when writing writeln("Zaheer"); function, I got an ERROR. Error: function kernel.dwriteln (char* str) is not callable using argument types (string) I also tried Casting. I Developed OS in C and C++ but first time stuck in types.

(char* str) is not callable using argument types (string)

2017-07-17 Thread Zaheer Ahmed via Digitalmars-d-learn
I am Developing an Operating System in D Language and when want to Develop my writeln("Zaheer"); function, I pass String "Zaheer" and when receive, it says Error Error: function kernel.dwriteln (char* str) is not callable using argument types (string) I Tried to cast but still stuck. In C and