On Friday, 18 March 2016 at 10:38:00 UTC, Nafees wrote:
On Friday, 18 March 2016 at 10:25:06 UTC, Mathias Lang wrote:
On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote:
On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote:
I tried to create a separate module for storing classes in,
On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote:
On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote:
I tried to create a separate module for storing classes in,
this is the new module
module qlib.classes;
[...]
Plus, the code works if the class is in the same module, and I
did
On Friday, 18 March 2016 at 10:25:06 UTC, Mathias Lang wrote:
On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote:
On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote:
I tried to create a separate module for storing classes in,
this is the new module
module qlib.classes;
[...]
Plus,
On Friday, 18 March 2016 at 10:38:00 UTC, Nafees wrote:
Now I created a folder in the usr/include/dmd named qlib and
placed the module there, yet it won't work.
You have a fundamental misunderstanding here. Imported modules
are not automatically compiled when you add them to the import
path
On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote:
I tried to create a separate module for storing classes in,
this is the new module
module qlib.classes;
[...]
Plus, the code works if the class is in the same module, and I
did add the path to the QLib.classes module in the compiler.
I tried to create a separate module for storing classes in, this
is the new module
module qlib.classes;
//QLib.Classes
class tstrlist{
private:
string[] list;
uint taken;
public:
string read(uint index){
return list[index];
}
void