HOW to make GUI in C++
-
hello every body: i made some java courses last years , i found that i can make a GUI by includeing some library , like import " javax.swing " anyway this is just in java, i want to ask is there anything like that in C++ , as java is close to C++, if there is i want to tell me how to do something like that i visual studio ,and if you know some resource i will be happy if you share it , thanks
-
hello every body: i made some java courses last years , i found that i can make a GUI by includeing some library , like import " javax.swing " anyway this is just in java, i want to ask is there anything like that in C++ , as java is close to C++, if there is i want to tell me how to do something like that i visual studio ,and if you know some resource i will be happy if you share it , thanks
OmarSH wrote:
...as java is close to C++...
They are similar in syntax only, nothing else.
OmarSH wrote:
if there is i want to tell me how to do something like that i visual studio
If you have VS installed, just click the Create button. In the "New Project" dialog, select something under Visual C++ like MFC or Win32.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
hello every body: i made some java courses last years , i found that i can make a GUI by includeing some library , like import " javax.swing " anyway this is just in java, i want to ask is there anything like that in C++ , as java is close to C++, if there is i want to tell me how to do something like that i visual studio ,and if you know some resource i will be happy if you share it , thanks
Pure C++ does not support creating GUIs. C++ is meant for creating optimized, reusable libraries. However, you can use some frameworks or libraries that are based on C++ like MFC as David mentioned. This would, however, be OS dependent. Some libraries like QT[^] provide source code compatibility between OSs where you write code once and build the same code on different environments.
«_Superman_» _I love work. It gives me something to do between weekends.
-
Pure C++ does not support creating GUIs. C++ is meant for creating optimized, reusable libraries. However, you can use some frameworks or libraries that are based on C++ like MFC as David mentioned. This would, however, be OS dependent. Some libraries like QT[^] provide source code compatibility between OSs where you write code once and build the same code on different environments.
«_Superman_» _I love work. It gives me something to do between weekends.
-
«_Superman_» wrote:
Pure C++ does not support creating GUIs.
C++ is meant for creating optimized, reusable libraries.Really? I wonder how I've neen doing it all these years then?
Use the best guess
Richard MacCutchan wrote:
Really? I wonder how I've neen doing it all these years then?
might be late!!... you might be writing executable in disguise of library :-)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You