array function

Namal via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 31 05:12:58 PDT 2015


On Monday, 31 August 2015 at 12:00:26 UTC, bearophile wrote:
> Namal:
>
>> std::vector<int> foo(int N){
>>
>> 	std::vector<int> V(N);
>> 	int some_array[N];
>
> VLAs are not present in D.
>
> Bye,
> bearophile

Yah, I guess I have been damaged with them when I started to 
learn programming in C++ >(


More information about the Digitalmars-d-learn mailing list