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)
       {}
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.