i mean keyboard button and im just using plain c++
There is no "plain" C++. You're always using something. In this case, you are outputting text to a text console that Microsoft Windows creates for you.
Using the standard C++ library, you can't get keyboard presses or mouse movement. However, you can use Window-specific functions from Window's APIs to get keypresses.
But it'd probably be better to continue to try to get SFML to work.