I dont know what to say in the title, because i dont know what to explain
i am using microsoft visual.
i need to color the cmd window that i know how to do.
the thing is that i need to create a box in cmd window like the background
is one color and the box inside should have different color also the box can contain words and input.
i cant find any websites that cann show me how to do this.
i dont know how to explain but if i can post a picture that would help me to explain much better.
Make sure to start a Console Application project.
Make sure to #include <windows.h> at the top of your code.
Use GetStdHandle() to get the console output handle.
Use SetConsoleTextAttribute() to change the color.
Use SetConsoleCursorPosition() to place the cursor at a specific location on the screen.