Skip to main content
10 events
when toggle format what by license comment
Jan 31, 2020 at 20:53 history edited justyy CC BY-SA 4.0
added 167 characters in body
Dec 24, 2019 at 18:37 comment added Daniel R. Collins One downside: The memory used is not one contiguous block. (stackoverflow.com/questions/10898007/…) So some low-level operations might be a bit more complex, like writing to a file or stream, or setting all the memory cells to a particular value.
Nov 14, 2018 at 21:00 history edited justyy CC BY-SA 4.0
added 148 characters in body
Oct 24, 2018 at 21:40 comment added Michael Chourdakis Also you do not need to have spaces between >s.
Sep 30, 2018 at 0:23 comment added Dronz @LeviMorrison Oh! That actually makes intuitive sense to me in this case, thanks! (I was thinking it was related to how many modern graphics coordinates use X and Y.)
Sep 29, 2018 at 19:20 comment added Levi Morrison @Dronz It's because that's the C++ memory model -- the columns are contiguous in memory, not the rows. In Fortran it's the other way.
May 15, 2018 at 3:29 comment added Dronz What I don't understand is why so many people think of the first index as the rows, and the second as the columns. Rebellion against XY coordinate diagrams in math class?
Mar 21, 2018 at 18:51 comment added Zar Shardan @katta most nontrivial C++ programs do use STL anyway, so this is a good solution, just not for some minor number of cases including yours.
Apr 19, 2017 at 16:01 comment added katta This is not a good solution if I don't want to load STL because of memory constrains.
Jun 6, 2016 at 14:10 history answered justyy CC BY-SA 3.0