On Monday, 27 July 2015 at 15:40:56 UTC, Alex wrote:
The program quits after "writeln("Do you want to play again?
Y/N?");"
It ignores readln.
Furthermore: What I am actually trying to do is: If I type "Y",
the programm should just rerun from the beginning.
I am really new to programming and
On Monday, 27 July 2015 at 15:40:56 UTC, Alex wrote:
Hey guys!
I am super new to programming and still trying to learn the
very basics via a book that I bought.
[...]
This isn't the right place for this sort of question, please use
http://forum.dlang.org/group/learn, I'm sure someone will
Hey guys!
I am super new to programming and still trying to learn the very
basics via a book that I bought.
My problem is the following:
import std.stdio;
import std.string;
void main()
{
char[] yesno;
write("Roll the dice: Enter a number!");
int dieNumber;