Thanks for the help guys. :)
Type: Posts; User: Accident Prone
Thanks for the help guys. :)
Thanks for the help guys. Both of Salem's struct and memcpy methods worked (memcpy was one I had in mind to try...the struct one was new to me), and I think I'll end up using memcpy because it seems...
I'm wondering if there is a way to do something like this:
const int constArray[3][3] = {0, 1, 0, 1, 1, 1, 0, 1, 0};
int myArray[3][3];
...
myArray = constArray;
...
C++ has STL, Java has the JDK...is there a standard library of data structures for C? Things like HashMaps, Lists, Trees, Queues, etc...its an exercise in tedium implementing them myself, especially...
While that solution would work (barring the missing closed quotation on the printf, seems you hit colon instead), it doesn't actually involve any variable passing. Instead you are declaring a global...