Page 1 of 1

how to recognize a key

Posted: Sun Dec 25, 2011 11:08 pm
by Andros
I want the program to show a printf line, but only if i press a specific key
how do i write it?
for example, if i press "x" it shows "landscape" text

can anyone gimme how to code a noteblock, besides
i want to make executables, but i only know the option of "save as..."
and it creates an archive with no extension, but an executable

Re: how to recognize a key

Posted: Mon Dec 26, 2011 1:20 am
by eranif
Start here

http://www.codelite.org/LiteEditor/HelloWorld

Also, you should search online for good c/c++ tutorial - this forum is intended for teaching c/c++

NOTE: Moved the post to the "Help" forum

Eran