D4n1sD 0 Light Poster

Thats the code I am trying to do, what I try to do is a loop, that only breaks if the user press enter.
any other ideas?

while(GetAsyncKeyState(VK_RETURN)==0)
       {}