you just want to rotate an array right? why you make this so complicated? you can just you two arrays and save in the second the rotaded elements...!
Type: Posts; User: brack
you just want to rotate an array right? why you make this so complicated? you can just you two arrays and save in the second the rotaded elements...!
First of all your variable, named "degrees" is float(as i can see you declare this), but in your scanf you use %d which is for integers! You should use %f instead. Also when you compile you should...