digitalmars.D.learn - (char* str) is not callable using argument types (string)
- Zaheer Ahmed (7/7) Jul 17 2017 I am Developing an Operating System in D Language and when want
- rikki cattermole (7/14) Jul 17 2017 string == array
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 C++ I built this 2 times but D is giving this.
Jul 17 2017
On 17/07/2017 2:47 PM, Zaheer Ahmed wrote: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 C++ I built this 2 times but D is giving this.string == array array/slice = length + pointer [0] size_t length [1] [char|wchar|dchar] ptr char* pointer; string str = pointer[0 .. length];
Jul 17 2017