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> | |
#include <time.h> | |
void preparar(int baralho[][13]); | |
void distribuir(int baralho[][13], const char *naipes[], | |
const char *valores[]); | |
int main(void){ |
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 decToBin(unsigned int x, char * vect); | |
unsigned int binToDec(unsigned int r, char * vect); | |
unsigned int powerof(unsigned int n, int xp); | |
int main(void){ | |
unsigned int x, y, i, r; | |
char binx[33] = {'\0'}, biny[33] = {'\0'}, binr[33] = {'\0'}; |
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 <iostream> | |
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <stdlib.h> | |
using namespace std; | |
int main() | |
{ |