+ 2

Does c++ has Gui functions??

8th Dec 2016, 6:26 AM
Ahmed Essa
Ahmed Essa - avatar
2 Answers
0
if you're talking about turboc++ gui then yeah there is you can make programs using graphics.h headefile contains the drivers bgi files and functions to create gui on screen but if you wantvreal graphics go for Visual c++
8th Dec 2016, 7:04 AM
Vipul Walia
Vipul Walia - avatar
0
I wrote this piece somewhere else but. Python has an inbuilt GUI module called TKINTER. C++ on the other hand has no inbuilt GUI, what you may regard as the GUI OF both is the black output screens of both. That's just a console that allows you to interact with python or c++ and see your output as well as give your input. But showing you what i mean i used pythons inbuilt GUI module/class/functions to make this below :: import tkinter #this is the python module responsible for gui development new_Window = tkinter.Tk() #call creates a new window frame = tkinter.Frame(window) frame.pack() button = tkinter.Button(frame, text = 'Hello-ClickMe') button.pack label = tkinter.Label(frame, textvariable = 'hello My name is JENN') label.pack() #start the machinery! new_Window.mainloop() The standard C++ library has no provision for GUI.
8th Dec 2016, 7:05 AM
JENN
JENN - avatar