0

how to add buttons to the console in C ++. can this button be pressed on the run result?

I see someone's job to create a program like this, on the console he can put a button that can be pressed using the mouse for C ++ using the Codeblocks application.

14th Apr 2021, 4:30 PM
Puspa Sari
Puspa Sari - avatar
7 Antworten
+ 1
Button on console? This is new to me, if there was buttons on consoles it wouldn't be called Command line. However, answering your question, you have to check Qt library, if I recall correctly it was called `QPushButton`. Though, don't start with Qt unless you cover all C++ basics & getting comfortable with OOP. Knowledge in XML will later help too.
14th Apr 2021, 5:16 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 1
A.S. I'm studying C ++, this makes a program which in my assignment is called a 'standalone program'. in making a simulation game who wants to be a millionaire. :)
15th Apr 2021, 1:47 PM
Puspa Sari
Puspa Sari - avatar
0
Thanks you Maher Al Dayekh , i'll try it.
15th Apr 2021, 9:34 AM
Puspa Sari
Puspa Sari - avatar
0
Why i think u learning html and here u mentioned cpp
15th Apr 2021, 1:45 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Puspa Sari so which ide u using show your assignment Question
15th Apr 2021, 1:50 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
A.S. I haven't found a way.
15th Apr 2021, 2:03 PM
Puspa Sari
Puspa Sari - avatar
0
Puspa Sari so u gave to use graphics or something else
15th Apr 2021, 2:05 PM
A S Raghuvanshi
A S Raghuvanshi - avatar