View Single Post
Old 06-13-2006, 06:54 PM   #3 (permalink)
FloydianOne
Crazy
 
See the problem is that this is an assignment and the teacher sent a template, that we are to finish. And well she hard codes the definition of the array to just be a 2d array and not a array of pointers.

Since we havent learned anything about malloc or memcopy, and she says we cant change the template... Im assuming the only way I can do this is hardcoding saying element 0 = element 3 etc. etc. I plan on going to get help from the class TA tomorrow.

Thanks for your help though.... even though I havent figured out exactly how to do it, ive learned alot about pointers etc.
__________________
Fight apathy! ..... or dont.
FloydianOne is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73