events in c++

hello i would like to use something like events in c++ such as when an user presses a key.
is that possible in a console application and if so could you give me a link to documentation on it please so i can learn about it? I don't wanna use library's
Last edited on
Topic archived. No new replies allowed.