typedef struct

Hello! I kindly ask for some help. I just had my first lab class of C language and I had this homework. I don't know what's wrong about it, since it has errors. Thank you :)
#include<studio.h>
#include <stdlib.h>
#include <math.h>
typedef struct
{

int Coef;
unsigned int Exponent;
}TMonom;
int main()
{

typedef TMonom[50] TPolinom;

int x;
int n;
scanf("x=%d/n",x);
scanf("n=%d/n",n);

lecture(TPolinom);
ecriture(TPolinom,n);
addition(TPolinom,x);
return 0;

}
void ecriture(TMonom v)
{
int i=0;
while(v[i].Coef==0)
{
i++;

}
printf("%d%s",v[i].coef,x^,v[i].Exponent);
for(int i=i+1;i<=strlen(v);i++)
if(v[i].Coef!=0)
{
printf("%c%d%s",+,v[i].coef,x^,v[i].Exponent);
}
printf("%s",'=0');


}
void lecture(TMonom v, int n)
{ int i;
while(n)
{

scanf("Donez le exponent=%d/n",i);
v[i].Exponent=i;
scanf("Donez le coeficient=%d/n",v[i].Coef);
n--;
}
}
void addition(TMonom v,int x)
{
int S=0;
for(int i=0;i<=(strlen(v));i++)
{
int p=pow(x,v[i].Coef)
S=S+(v[i].Coef)*p;

}
printf("Suma este%d/n",S);
}


I don't know what's wrong about it, since it has errors.

What are the errors?

Please use code tags when posting code.
Topic archived. No new replies allowed.