Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hoseja
on June 10, 2020
|
parent
|
context
|
favorite
| on:
Unsupervised translation of programming languages
I'd say the C++ was wrong/unclear. If you want all the ints in your array to be a certain number, use std::fill. If you want all their bits to be 1, use something like ~0 in the memset.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: