How do i make for example an x move using your arrows in a console application?

Recommended Answers

All 4 Replies

You can't really. The console isn't meant for that sort of shennanigans. You could make something horribly ugly (with a lot of effort) I suppose...

lol, just throw a bunch of \t and \n if your really desperate for the functionality your seeking.

Ok fine.
What if i have this REALLY simple OpenGL program that only draws a red triangle.
How do i make the arrows on my keyboard move it ?

Bump!
Any help appreciateeeed...

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.