Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio2.h>
- #include<string.h>
- #include<stdlib.h>
- #include <time.h>
- #define TF 30
- struct TP_Tok
- { const char pontos[8]= {'.', ',', ';', ':', '!', '-', '"'};
- const char Operadores[30]= {'=', '>', '<', '>=', '<=', '<>', '+', '-', '*', '/', '%', '?'};
- //'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q','r', 's', 't', 'u', 'v', 'x', 'y', 'z',
- const char idents [4]={'([ ]','{ }', '( )'};
- int cor;
- };
- void Information(void)
- {
- }
- void resetarCores();
- int main (void)
- {
- struct TP_Tok Tokens;
- resetarCores();
- Information();
- printf("Cor:");
- scanf("%d", &Tokens.cor);
- textcolor(Tokens.cor);
- puts(Tokens.idents);
- return 0;
- }
- void resetarCores() {
- textbackground(WHITE);
- clrscr();
- textcolor(BLACK);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement