FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
Forum Index
Author Message
  Topic: How to initialize associative arrays?
dcoder

Replies: 1
Views: 10947

PostForum: General   Posted: Thu Jun 10, 2010 11:27 am   Subject: How to initialize associative arrays?
Hello. Still going through the tutorials.

The following program does not work:


import std.stdio;
import std.string;

static string greetings[string] =
[ "Klaus"&# ...
  Topic: How to initialize associative arrays?
dcoder

Replies: 0
Views: 8519

PostForum: General   Posted: Thu Jun 10, 2010 11:26 am   Subject: How to initialize associative arrays?
Hello. Still going through the tutorials.

The following program does not work:


import std.stdio;
import std.string;

static string greetings[string] =
[ "Klaus"&# ...
  Topic: Suggestion for D, or where do I put my suggestion.
dcoder

Replies: 0
Views: 8646

PostForum: General   Posted: Tue May 25, 2010 2:07 pm   Subject: Suggestion for D, or where do I put my suggestion.
Okay, maybe my suggestion goes into the garbage can, but it be nice to see something like this:

rc = func();

if( rc == (value1,value2,value3))
do_something();

x = func();
if( 0 <= x ...
  Topic: Working through the tutorial.
dcoder

Replies: 2
Views: 11600

PostForum: General   Posted: Mon May 24, 2010 4:28 pm   Subject: Working through the tutorial.
Thanks for the reply. Sorry for the late follow up, busy. Sad

Anyways, you are right, it works I am using Windows XP, and when I run it from a dos prompt, it works. I get the prompts asking for a ...
  Topic: Working through the tutorial.
dcoder

Replies: 2
Views: 11600

PostForum: General   Posted: Fri May 07, 2010 1:44 pm   Subject: Working through the tutorial.
Hello. First time poster to dsource.org and I hope to learn this pretty cool language. Anyways,

I am working through the 'Fundamental Section' of the dsource.org tutorial.

I compiled the quadr ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group