This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
void limpaQuadra(int npombo){ | |
if(npombo > 0){ | |
limpaQuadra(npombo -1); | |
} | |
printf ("Quantidade de pombos retirados : %d\n", npombo); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package saxdefaulthandlerxml; | |
/** | |
* | |
* @author tuxcuiabano Retirado do Livro Texto "Tecnologia de Dados para |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package saxhandlerxml; | |
/** | |
* | |
* @author tuxcuiabano Retirado do Livro Texto "Tecnologia de Dados para |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package parsersax; | |
/** | |
* | |
* @author tuxcuiabano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package manipulaxml; | |
/** | |
* | |
* @author tuxcuiabano Retirado do Livro Texto "Tecnologia de Dados para |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package carregaxml; | |
/** | |
* | |
* @author tuxcuiabano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package criaxml; | |
/** | |
* | |
* @author tuxcuiabano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int num1,num2,soma; //declaração de variáveis | |
printf("Digite o numero 1\n"); //printf para enviar mensagem na tela | |
scanf("%d", &num1); //scanf para associar o valor digitado à variável num1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void insertS(int *V, int N){ | |
int z,i,j,aux; | |
for(i=1;i<N;i++){ | |
aux= V[i]; | |
for(j=i;(j>0) && (aux<V[j-1]);j--) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// Prova | |
// | |
// Created by Pedro Clarindo da Silva Neto on 26/09/16. | |
// Copyright © 2016 Pedro Clarindo da Silva Neto. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> |