Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Do you want to copy the data, or just 'make pointers'? Commented Oct 25, 2011 at 5:03
  • I think more correctly pipes[j] and io_pipes[j][i] are both of type const int[2][2], which means you cannot assign to pipes[j]. Commented Oct 25, 2011 at 5:08
  • I went with the struct version, which allows me to do exactly what I wanted rather than the memcpy version below, and makes better sense overall. Commented Oct 26, 2011 at 20:58