Answers for "how to chage text color in c urban piguin"

C
0

how to chage text color in c urban piguin

#include <stdio.h>
void red () {
  printf("\033[1;31m");
}

void yellow {
  printf("\033[1;33m");
}

void reset () {
  printf("\033[0m");
}

int main () {
  red();
  printf("Hello ");
  yellow();
  printf("world\n");
  reset();
  return 0;
}
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Red \033[0;31m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Green \033[0;32m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Black \033[0;30m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Cyan \033[0;36m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Blue \033[0;34m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Cor Texto C
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

White \033[0;37m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Purple \033[0;35m
Posted by: Guest on April-06-2021
0

how to chage text color in c urban piguin

Yellow \033[0;33m
Posted by: Guest on April-06-2021

Code answers related to "how to chage text color in c urban piguin"

Code answers related to "C"

Browse Popular Code Answers by Language