Ask coding questions

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

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?

Commentshotnewtop
GatorGirl (5)

Nevermind. I found another way. :-)

roan180 (0)

What was the other way? @GatorGirl

lmaodev (0)

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!