Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
17

How to change font and background color for C++

WoahJamalChill
WoahJamalChill

in this post i will show you how to change the font or background color in c++, there is a lot of questions around the internet asking how to change it, and I have a solution. This is a very simple solution and you can pick how to change it however you want, but the colors are limited

2 years ago
You are viewing a single comment. View All
2
1
KarterBeaver
KarterBeaver

@Bookie0
if you look at the code.. you can use those colors for background to

2 years ago
1
Bookie0
Bookie0

@KarterBeaver
oh so background color of the text I thought you meant the background of the console lol

2 years ago
1
KarterBeaver
KarterBeaver

@Bookie0
yea... sorry should have made it more clear... im trying to figure out background console color

2 years ago
1
Bookie0
Bookie0

cool!

for the background console color, I guess you could spam the character of the space () with a background color lol :)

@KarterBeaver

2 years ago
1
KarterBeaver
KarterBeaver

@Bookie0
oh btw im the one who posted ut... the
@beavekar000
is my alt...

2 years ago
1
KarterBeaver
KarterBeaver

@Bookie0
question... how good is you knowledge with c++?

2 years ago
1
Bookie0
Bookie0

@KarterBeaver
its ok, I've made a basics tutorial with someone

2 years ago
1
KarterBeaver
KarterBeaver

@Bookie0
would you happen to kbow why -1 to leave on one of my games i made wont work? I have it set if(color= -1)
{
Goto play;
}
So this is for the shop... i made a shop to buy things but i have it set for 7 to leve bc there is 6 things currently you can buy... 1-6 so i just made 7 leave... but when i tried switching it to -1 to leave it says not enough coins try again... but i have no idea why its saying that... i already made a post about it but no one answered

2 years ago
1
Bookie0
Bookie0

@KarterBeaver
uh can you specify your question a bit..?

2 years ago
1
KarterBeaver
KarterBeaver

@Bookie0
yea, let me send the code

2 years ago