My code crashes upon running.. It is build via PRJ and run through commandn prompt. Any ideas what is the problem?
My code crashes upon running.. It is build via PRJ and run through commandn prompt. Any ideas what is the problem?
Here are the attachments part 2
Attachments part3
** all image files are to be put into folder called 'img'
Attachments part4
Attachments part5
throw in some couts and find the part where the program stops
╔╗╔══╦╗
║║║╔╗║║
║╚╣╚╝║╚╗
╚═╩══╩═╝
The program crashes as soon as it begins to run...
then start looking for errors in your header files
╔╗╔══╦╗
║║║╔╗║║
║╚╣╚╝║╚╗
╚═╩══╩═╝
rubiks is an uninitialized pointer. There is no Rubiks instance which the rest of the code expects to manipulate.
Code:int main(int argc, char *argv[]) { Rubiks *rubiks; int n, rubikc; char choice, mode; rubikdesign(rubiks, argv);
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
I got two problems after I fixed the previous problem (thanks).
1) When I go to auto mode from manual mode, the string does not keep what i have done in manual into the string in the auto mode.
2) The counter for auto mode seems to added 3 from the supposed counter value. What could be the cause if when I start the program the counter is initialized as 0?