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 <iostream> | |
#include <locale.h> | |
#include <cstring> | |
int soma(int num1,int num2); | |
int subtra(int num1,int num2); | |
int multi(int num1,int num2); | |
int divisao(int num1,int num2); |
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
//Bibliotecas | |
#include <iostream> | |
#include <cstring> | |
#include <stdlib.h> | |
#include <locale.h> | |
#include <conio.h> | |
#include <windows.h> | |
//Variaveis constantes |
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 <iostream> | |
#include <time.h> | |
#include <locale.h> | |
#include <cstdlib> | |
#include <string> | |
#include <conio.h> | |
#include <windows.h> | |
int ponto_cpu = 0; |
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 <iostream> | |
#include <locale.h> | |
#include <string.h> | |
class Shape{ | |
public: | |
void setWidth(int w){ | |
width = w; | |
} | |
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 <iostream> | |
#include <locale.h> | |
#include <string.h> | |
class Carro{ | |
public: | |
std::string marca; | |
int roda; | |
int porta; | |
std::string cor; |
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 <iostream> | |
#include <locale.h> | |
#include <string.h> | |
#include <cstdlib> | |
int espaco(); | |
int main(int argc, char** argv){ | |
//Declaração de variaveis e PT-BR | |
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 <locale.h> | |
#include <iostream> | |
using namespace std; | |
int espaco(); | |
int main(){ | |
setlocale(LC_ALL,"Portuguese"); | |
int num1; | |
int num2; |
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 <locale.h> | |
#include <math.h> | |
#include <stdlib.h> | |
#include <conio.h> | |
#include <time.h> | |
#include <string.h> | |
int jokenpo(); | |
int info(); |
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> | |
#include <conio.h> | |
#include <time.h> | |
#include <math.h> | |
int ponto_jogador = 0; | |
int ponto_cpu = 0; | |
int ponto_empate = 0; |
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 <locale.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <conio.h> | |
int linha(); | |
long fatorial(int); | |
int main(){ | |
int i , c , n; |