how to recognize a key

CodeLite installation/troubleshooting forum
Andros
CodeLite Curious
Posts: 1
Joined: Sun Dec 25, 2011 10:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

how to recognize a key

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: how to recognize a key

Post 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
Make sure you have read the HOW TO POST thread
Post Reply