Ask coding questions

← Back to all posts
How do you use windows.h in Replit?
GatorGirl (17)

I have used #include<windows.h> in Visual Studio before without any problem, but now it isn't working when I copy and past the code to change the text color. Are there extra steps involved to use windows.h?

Comments
hotnewtop
GatorGirl (17)

Nevermind. I found another way. :-)

roan180 (10)

What was the other way? @GatorGirl

lmaodev (3)

Hey! This is great and all but, you should probably put the whole thing in a while loop, so people don't have to run the program every time they want to do another question. Other than that it's great!