|
-
May 25th, 2012, 02:40 PM
#16
Re: Want to do C++ GUI.
Register, doesn't that cost money?
Also, every time I try to get the toolbox that has all the components that I can add, it shows up for only 1 second, or less, and then hides. It's very irking. How do I make it stay put?
-
May 25th, 2012, 03:04 PM
#17
Re: Want to do C++ GUI.
What's the difference between "Managed C++" and native C++?
I'm not sure how to do the editor with drag and drop like I can for forms.
How do I register the thing so that it won't expire?
What's the command/keyword
gcnew
do? I'm not familiar with that one.
Last edited by jedipenguin; May 25th, 2012 at 03:07 PM.
-
May 25th, 2012, 04:04 PM
#18
Re: Want to do C++ GUI.
 Originally Posted by jedipenguin
The terrible thing I guess is that it seems to not have a GUI API, or I can't find it.
You want to know something else? C++ doesn't even define a keyboard, mouse, let alone a GUI.
C++ is meant to be a general purpose language. You should read up on why C++ is the way it is. It can be used for any purpose and it went out of its way to not focus on GUI programming. If you want GUI programming, then you have the option of using the many toolkits out there.
Also, it's in part because my school now has an easier introdcutory course to C++ that they didn't have and I was forced to like learn the whole language in like 4-5 weeks
The C++ language cannot be learned in 4 or 5 weeks. How about 4 or 5 years, and even that amount of time may not make someone know the "whole language". There are authors who have written well-reviewed C++ books who do not use (and in some cases, know) the entire language.
I am aware that many things are written in C++, maybe that explains all the glitches in Windows.
I don't know what you mean by that. Bugs can appear in any program written in any language.
Also, Java can work on all kinds of platforms, whereas if I sent a C++ .exe to my Grandma, who has an Apple, and I use Visual C++, then it won't work on her computer.
You can create an executable with any language in Windows. This has nothing to do with C++, since you could create an exe with VB, C#, Delphi, FoxPro, and scores of other languages, and yes, even Java (there are EXE compilers for Java), and it won't work on your Grandma's computer.
What Java has is something called the JVM -- that is what makes it work on various operating systems. Guess what language many JVM's are written in? It's the terrible C++. That's why you can't take the JVM meant for Windows and use it on your Grandma's Apple machine, just like you can't take the EXE created in Windows and use it on Apple.
Regards,
Paul McKenzie
Last edited by Paul McKenzie; May 25th, 2012 at 04:13 PM.
-
May 25th, 2012, 04:11 PM
#19
Re: Want to do C++ GUI.
 Originally Posted by jedipenguin
What's the difference between "Managed C++" and native C++?
1) Managed C++ is a Microsoft invention, C++ is a general purpose programming language not owned by any company. C++ is defined by a committee that develops the rules and officially sets out a document describing the language to ANSI every 8-10 years or so.
2) Managed C++ takes advantage of the .NET architecture, C++ is a general purpose language so it doesn't focus on what architecture it runs on.
3) Managed C++ uses extended syntax that does not exist in native C++.
Regards,
Paul McKenzie
-
May 25th, 2012, 06:30 PM
#20
Re: Want to do C++ GUI.
I would go for Qt. Qt Creator (an IDE that comes with Qt) is actually a pretty nice IDE. In addition, there is a bunch of documentation for Qt. Just my $0.02.
-
May 26th, 2012, 08:21 AM
#21
Re: Want to do C++ GUI.
No it doesn't cost any money to register. Just select Help/Register and follow the instructions.
The toolboxes can be pinned to stay if yo want that but it's not necessary. Click to select a compent and then click again in your form to place it.
gcnew is a managed C++ keyword http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|