How to change font and background color for C++
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
you said background color, there's only colors of the text here..
Also there are more colors here ;)
@Bookie0 if you look at the code.. you can use those colors for background to
@KarterBeaver oh so background color of the text I thought you meant the background of the console lol
@Bookie0 yea... sorry should have made it more clear... im trying to figure out background console color
cool!
for the background console color, I guess you could spam the character of the space (
) with a background color lol :) @KarterBeaver
@Bookie0 oh btw im the one who posted ut... the @beavekar000 is my alt...
ok? @KarterBeaver
@Bookie0 question... how good is you knowledge with c++?
@KarterBeaver its ok, I've made a basics tutorial with someone
@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
@KarterBeaver uh can you specify your question a bit..?
@Bookie0 yea, let me send the code