+ 2
How to change the color of text in c++
I am using Android based compiler
8 Answers
+ 10
Martins suggestion: ^ ncurses is probably the best option if you want crossplatform support.
+ 6
Ben Ryves provides a good tutorial on using windows.h
link to his site is in the code example from his website
https://code.sololearn.com/c4JyOS6fwjiA/?ref=app
+ 4
no pc only
+ 4
yeah... no way.
+ 3
There aren't any libraries for the console that come with the standard libraries. You would have to link to graphics libraries like SDL, for example to do that. There might be some console API with the windows.h header that you would have to learn how to use. Just google windows.h and the first search result should be a microsoft website on how to use the library.
+ 3
If you're using CppDroid, you may not have access to ncurses, so you'll have to download it.
BTW the not cross-platform and just doing the thing Linux methods I shared in the question Martin posted do work in CppDroid and C4Droid...
+ 3
@jay
He mentioned Android Based Compiler, and so I got confused đ