07-24-2023, 04:05 AM
I have a large array in **C** (not **C++** if that makes a difference). I want to initialize all members of the same value.
I could swear I once knew a simple way to do this. I could use `memset()` in my case, but isn't there a way to do this that is built right into the C syntax?
I could swear I once knew a simple way to do this. I could use `memset()` in my case, but isn't there a way to do this that is built right into the C syntax?