conio.h C++
Why #include <conio.h> is not working? And how can I make it work?
That is not a portable header. In fact it is not part of the standard. Try to avoid conio.h.
@Giothecoder ok, but i need it to use getch();
@PasAdam hm.. not necessarily. There was someone a while back who actually did manage unbuffered input in c++, if you give me a bit I can probably find it. It was called dungeon crawl or something like that?
@PasAdam found something better I think, https://repl.it/talk/share/NON-BLOCKING-UNBUFFERED-CONSOLE-INPUT-in-C/17428
Edit: if you go to input.hpp, literally the first thing there is an implementation of getch();
thank you @Giothecoder, I will try to do something with it
@Giothecoder it works!!!!! 👍https://repl.it/@PasAdam/Drawing-pro
@PasAdam awesome :)
@Giothecoder
this is the first time i am using replit so can u tell where i can find input.hpp or how i can go to that
Can you please leave a link to your code?
@mat1 https://repl.it/@PasAdam/Drawing-pro