conio Questions
6
Solved
3
I've been looking at using colours in a DOS program I'm writing in C. I was told that conio.h has the textcolor() function, but when I use it in my code, the compiler/linker throws errors at me say...
12
In TurboC++, I can use the getch() function from conio.h. But in Linux, gcc doesn't provide conio.h. How can I get the functionality of getch()?
3
for (;;)
{
cout << "You are playing for:" << playtime << "seconds." << endl;
cout << "You have " << bytes << " bytes." << endl;
cout << "Yo...
2
Solved
5
Solved
I am using gcc in ubuntu.so, I compile and execute in terminal. But In a online programming contest, they require the output as shown in diagram.
For that, if I use TURBOC I can get it using con...
Novick asked 24/8, 2011 at 3:10
2
I usually use VS but trying cygwin for the first time. I am using windows 7 but on compiling hello world program using gcc, it says "fatal error: conio.h: no such file or directory".
I am using W...
1
#include <conio.h>
int main (void)
{
for (;;)
{
unsigned char ch = getch();
printf ("0x%02X\n", ch);
}
}
I want to get the scan code.
Here is the description from Wikipedia:
Reads ...
Abuttal asked 10/1, 2014 at 12:35
1
Solved
I am making a small Haskell game in Windows, where I would like to respond each time the user presses a key. Because getChar behaves strangely on Windows, I use FFI to get access to getch in conio....
1
Solved
1
While running a simple c program I receive an
Unresolved inclusion: <conio.h>
What am I missing? I am using eclipse on fedora 13. Please help me resolve this problem. If I am missing any...
Beekman asked 17/9, 2010 at 7:40
1
© 2022 - 2024 — McMap. All rights reserved.