Feeds
已回答
How can I set multiple variables to the same initial value efficiently?
I found the answer from a friend [a, b, c, d] = deal(5)
How can I set multiple variables to the same initial value efficiently?
I found the answer from a friend [a, b, c, d] = deal(5)
7 years 前 | 0
提问
How can I set multiple variables to the same initial value efficiently?
I hate using the following way of defining variables; a= 5, b=a, c=a, d=a, etc I have a lot of variable taking the same intial...
7 years 前 | 2 个回答 | 0
