In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
This is OS dependant information, no standard C nor C++ functions is going to help with that.
What OS/Compiler are you using?
: I'm coding a program that will need to keep track of...
There's no standard ANSI C or C++ to do that.
However, most compilers have a getch function in conio.h, give it a try, something like:
Pre: I've got VC++ 6 SP5 under Win2000, so exactly the same as you...
I suppose your problem is basically the one I've found with the old C getchar(): it doesn't return until you press return, so...
Maybe redesign your functions to do their jobs in slices, checking for abortion every now and then.
It's the same idea as providing the user with a status bar, for example, lets say your job...
This message was edited by the kje11 at 2002-5-22 22:25:59
: Hi there all.
: I am currently learning c in college. So i downloaded c/c++ builder 6 enterprise trial, its 60 days but that should...
thnx , it worked ........
: Hi all ,
: : well i want to do know how i can use the Shift+right arrow key at the same time , for example the Shift key have to be pressed all the time and...
: Hi all ,
: well i want to do know how i can use the Shift+right arrow key at the same time , for example the Shift key have to be pressed all the time and u can press an arrow key . plz help...
Hi all ,
well i want to do know how i can use the Shift+right arrow key at the same time , for example the Shift key have to be pressed all the time and u can press an arrow key . plz help me :)...
: hello all,
: I was wondering how to set my dos window, so that it does not just flash on real quick when executing program?
: I know about just putting a scanf
: or using...
: i've been trying to figure out this code for some time now but i keep getting an error on the maths bit :-( (calc()) at the end i'm unsure how to solve this. i presume to calculate the...
i've been trying to figure out this code for some time now but i keep getting an error on the maths bit :-( (calc()) at the end i'm unsure how to solve this. i presume to calculate the volume...
: Yeah, basically... but it returns the state of all keys at the same time B-)
: An example (untested):
: BYTE state;
: #define KEY_PRESSED(key) (state & 0x80)
: Hi guys. Does anyone know how to write multi-threading applications in MS-DOS environment using Turbo C? For example, I would like to load the mouse function to the thread, so that it could perform...
: : Could someone tell me how to pause until the user hits a key after a printf statement? And how to wipe the screen after a key is hit? Any help would be greatly appreciated.
i don't know...
I am trying to find a C command (using DOS, graphics mode) that will check to see if any key is being pressed, and return a false value if no keys are being pressed.
I have been trying to...
: Sorry for bother you again, but I don't understand the code, I actually is a newbie, can you give me example. Thank you.
I recently had to do something similar in a program im working on. I...
i tried the program but it only output:
and when i tried to press the enter key it only goes back to C?
many thanks for your help... :)
: I know how u feel .. :)
: try this:
I want to write vb login screen and it will run a dos command.
for example :
login ID : a
password : b
c is a fix value
after press ok button will be process a dos command X+a+b+c
How can i create a c program that will read keyboard input but it will echo back * when user presses a key.
I'm currently on a unix box.
1. How to connect db in Access 97 to Delphi?
What are the components needed?
2. Just say, my db contains a patient's details. So what I want is when a patients press a...