Hello, I am new to c++

I am trying to write a program that reads the keyboard input while running in the background. I am on Linux.

It is not easy for me because every example I find makes use of a library I do not have. When I google the library name and download someone else's it still doesn't work. I get many errors when I try to compile using gcc.

Where do c++ developers obtain their libraries?

Thanks,
Tony

>>Where do c++ developers obtain their libraries
learn to use google. It would seem to me that you may have to write a device driver or program that hooks into the keyboard device driver because normally keyboard input is normally routed to the foreground window.

> I am trying to write a program that reads the keyboard input while running in the background.
This seems to be a very non-trivial program for someone who is "new".

Are you sure of your specification?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.