I want to input numbers into a program from the command line.
$ ./myprogram
Please iput number:
The input number are unsigned 64-bit (uint64)
I tried the following:
let var = uint64(readling(stdin, input)
But I apparently have to convert a string
Hey thanks! That solved one set of problems.
What's the difference between have the : and not having it.
I've seen both cases in the docs and code.
I've been playing with Nim for about 4 weeks now. I've copied/run some small
programs (Rosetta Stone), and translated some small Ruby snippets that
compiled. Now I'm trying to do a direct translation of a bigger C++ program of
about 200 loc with about 5 separate functions.
Here's an example of
OK, thanks for the feedback on your problems downloading the paper.
Can you tell me what platform you are using, and what country you're accessing
from?
I see from my Scribd stats that the paper is being downloaded so it appears to
be working for others.
I'll look at putting the paper up on
The link I provided in my first post allows you to read/download it free from
my Scribd site. Here it is again.
[https://www.scribd.com/doc/228155369/The-Segmented-Sieve-of-Zakiya-SSoZ](https://www.scribd.com/doc/228155369/The-Segmented-Sieve-of-Zakiya-SSoZ)
I've tested it many times, and there
Thanks. I'm in the process of learning enough Nim to take on this effort.
However, I would do what you were thinking, and first try a comparable direct
C++ to Nim translation, just to get something to work. But it's going to be
some time (with my time/learning curve constraints) to create
Hi
I have programmed in a few languages extensively in my life, though now I
primarly use Ruby.
I just found out about Nim literlly 3 weeks ago now (mid July 2017) after
reading this article: **Nim for the discerning Rubyist**
101 - 107 of 107 matches
Mail list logo