Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct elementodos interpretar(char* element){
- struct elementodos separado;
- char** pontpont = (char**)malloc(200 * sizeof(char*));
- int i, a, cont, tem[100], cdd, dll, obs,conta,jubs, xevs;
- int mult[100];
- char* brasil = (char*)malloc(100 * sizeof(char));
- char* bahea = (char*)malloc(100 * sizeof(char));
- char** elemfim = (char**)malloc(100 * sizeof(char*));
- char* zoia = (char*)malloc(100 * sizeof(char));
- ...
- for (i=0;i<cont;i++){
- separado.multidor[i]=mult[i];
- separado.cadaum[i]=elemfim[i];
- }
- separado.numero=cont;
- return separado;
- }
- struct elementodos{
- int multidor[100];
- int numero;
- char** cadaum[100];
- };
- int main(){
- struct elementodos a;
- ...
- a= interpretar(b);
- return 0;
Add Comment
Please, Sign In to add comment