C++ escaping button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C++ escaping button

Please, guyse help me make escaping button , then I do not understand how to do this

1st Dec 2017, 1:47 PM
Александр Чертков
3 Answers
+ 1
Is your program visual, or command pompt? do you have code made already?
1st Dec 2017, 4:18 PM
Mooaholic
Mooaholic - avatar
+ 1
I'm sorry I don't know much about the visual side yet only console right now. but from what I read for C# if it's true is you put: this.Close(); in the event of the button or, Application.Exit(); in the event of the button I think the second closes the program and the first closes the form. Not sure the difference I have not started visual yet it's on my list of things to do. hopefully this helped some. if not sorry.
4th Dec 2017, 12:26 PM
Mooaholic
Mooaholic - avatar
0
I have the code on С#, and this button is a visual
4th Dec 2017, 10:53 AM
Александр Чертков