Yea I just realized it follows the directory structure and not some
arbitrary system I made up.
Thanks for the .config info, I was just putting one together of
similar structure, this'll absolutely help.
Much appreciated
chris wrote:
Alright so I'm not too familiar with building D or having to build
multiple files from the command line (Java usually takes care of
that). Basically I have a small game I put together as a test
project. Here's the structure:
clo/clo.d
clo/Main.d
clo/common/GameState.d
clo is in mo
0.5868409 I Want To Look In Here ... 0.3492606
0.8899633 Now Visit http://www.clicklinknow.com/dating/ 0.1743141
BCS schrieb:
Hello Sergey,
but this doesn't:
template Tuple(T...)
{
alias T Tuple;
}
void foo()
{
foreach (a; Tuple!("a", "b", "c"))
pragma(msg, a);
}
$ dmd -c test.d
test.d(8): Error: string expected for message, not 'a'
test.d(8): Error: string expected for message, not 'a'
test.d(8): Error:
chris schrieb:
The file clo.d is in module clo; while GameState is in module
slo.common;
you probably mean it is in package clo.
Also thanks for the link, I was going to ask about .conf files.
>
You're welcome.
The file clo.d is in module clo; while GameState is in module
slo.common;
I just import clo; and import clo.common; when using stuff in either
of those files, I hope that's correct.
Also thanks for the link, I was going to ask about .conf files.
BCS wrote:
> Hello BCS,
>
>> I have a program that runs an "easily" parallelizable loop. When I run
>> it as a single thread it only takes about 10% longer than 2 threads
>> (on a dual-core). I'm trying to track down the lossed time and am
>> wondering if turning on -profile is even worth looking
Le Sat, 28 Mar 2009 17:52:54 +0100, TSalm a écrit:
Le Sat, 28 Mar 2009 12:21:52 +0100, Jarrett Billingsley
a écrit:
On Sat, Mar 28, 2009 at 6:12 AM, TSalm wrote:
Hello,
Is there a way to specifie a constant argument ( I would say an
argument for
which his value is evaluate at compile
How do you import the modules?
You must specify the correct name, i.e. import clo.clo;
Oh and you should get familiar with the dsss.conf file.
This is the way you normally build your project.
http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers
On 29.03.2009 17:04, chris wrote:
Alright so I'm not too familiar with building D or having to build
multiple files from the command line (Java usually takes care of
that). Basically I have a small game I put together as a test
project. Here's the structure:
clo/clo.d
clo/Main.d
clo/common/Game
Alright so I'm not too familiar with building D or having to build
multiple files from the command line (Java usually takes care of
that). Basically I have a small game I put together as a test
project. Here's the structure:
clo/clo.d
clo/Main.d
clo/common/GameState.d
clo is in module clo , whil
11 matches
Mail list logo