Use to!int(args[1]) > I receive: > $ gdmd-4.6 factorial.d > factorial.d: In function ‘main’: > factorial.d:15:0: error: cannot cast expression of type string to int > > > Thanks in advance, > Xan.
- Re: Segment violation (was Re: W... Daniel Murphy
- Re: Segment violation (was Re: W... Artur Skawina
- Re: Segment violation (was Re: W... Timon Gehr
- Re: Segment violation (was Re: W... Artur Skawina
- Re: Segment violation (was Re: W... Timon Gehr
- Re: Segment violation (was Re: W... Artur Skawina
- Re: Segment violation (was Re: W... bearophile
- Re: Segment violation (was Re: W... xancorreu
- Re: Segment violation (was Re: Why I coul... Timon Gehr
- Re: Why I could not cast string to int? xancorreu
- Re: Why I could not cast string to int? Tobias Pankrath