Hi, I want to ask you, how can I do a program, which will be read characters from a keyboard in random time. I mean it, that if I write some characters on a keyboard in every time, when I come to the PC, it save it to txt and I wont have to start this program frequently, because it will be started with start of the PC. The keyboard is connected to the PC by an USB port. Thanks for advices.

This doesn't really seem like a c++ question to me.

Dave

This doesn't really seem like a c++ question to me.

Dave

And do you know some solution? If yes, than you write me it please.

And do you know some solution? If yes, than you write me it please.

no, we're not going to do your work for you. Read the rules, kid.
Anyway, your own writings seem pretty random so just keep sitting behind that keyboard and hammer away at it.

It sounded like the OP wanted to write a key-logger.
"It starts with the PC and it saves to a text file (paraphrased)"

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.