This file contains hidden or 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
| void Cobra::movimenta(int d) | |
| { | |
| int x ; | |
| aux=CoX.at(tamanho-1); | |
| auy=CoY.at(tamanho-1); | |
| mgotoxy(CoX.at(tamanho-1),CoY.at(tamanho-1)); | |
| cout<<" "; |
This file contains hidden or 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<math.h> | |
| using namespace std; | |
| class pol { | |
| private : | |
| int a,b,c ; | |
| float x1,x2 ; | |
| public : | |
| //Métodos Getters e Setters | |
| void seta(int x){ | |
| a=x ; |
This file contains hidden or 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> | |
| #include <locale.h> | |
| int main() | |
| { | |
| int a[50],exp[50],derivada,novo=0,x,contador=0; | |
| char resposta; | |
| setlocale(LC_ALL, "Portuguese"); | |
| printf("Responda l para limite e d para derivada: \n"); |
NewerOlder