Ask coding questions

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

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?

GatorGirl (19)

Nevermind. I found another way. :-)

roan180 (11)

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!