This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

From a library I've been told to to support

Hello good and kind people.

I have been told to put some code into Keil MDK ARM. I have been told it works. Here is an extract.

#define loop }

long ratishmy(char **IPtab)
{
     char mystring[10];
     int temp1;
     char temp2;
     char temp3;
     long ans;

     temp1 = 2496
     temp2 = 0

     while ( temp2 < 76 )
     {
            mystring = IPtab(temp2);
            temp3 = 1;
            while ( temp3 < 11 )
            {
                CONFIG(temp1) = mystring[temp2][temp3];
                temp3 = temp3 + 1;
                temp1 = temp1 + 1;
            loop
            temp2 = temp2 + 1;
     loop
}

What is your opinion of it? I want to either rip it up and start again or if they won't let me do that I might run away from it.

Parents
  • No. As I thought I explained, I have been given this code by my manager and told to put it into a new project using Keil MDK ARM. I am not a dumb-nut student! If you were told to do what I've been told to do, would you do it, try to persuade them to let you improve it or run away?

Reply
  • No. As I thought I explained, I have been given this code by my manager and told to put it into a new project using Keil MDK ARM. I am not a dumb-nut student! If you were told to do what I've been told to do, would you do it, try to persuade them to let you improve it or run away?

Children