| View previous topic :: View next topic |
| Author |
Message |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Wed Feb 06, 2008 4:25 pm Post subject: language vs. compiler |
|
|
I am currently learning c++. some of the things i want to do are simple programs, but i'd like to add gui's. i know people say you can use winapi or something, but i honestly don't know what it is. visual c++ is a compiler i found and the word visual leads me to think that its you can apply gui's. Basically, i'd like to find a compiler, that allows you to code c++, but have features like an object- orientated program (vb) to apply buttons, boxes. am i just wrong and its a totally different language, or am i right and something is off.
~ty for your help. ~
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Feb 06, 2008 4:32 pm Post subject: |
|
|
http://www.microsoft.com/express/download/
Download Visual C++ Express Edition 2008
For GUI's using .NET (object oriented)
Create Project -> CLR -> Windows Forms Application.
Although this is C++, If you want to learn GUI's using .NET id go with C# but its your choice
Once your ready for something more challenging then .NET and still want drag and drop Object oriented GUI's you can move onto C++ using Dialogs ( resource files ). You get the advantage of drag and drop but also learn functional programming.
_________________
|
|
| Back to top |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Wed Feb 06, 2008 4:34 pm Post subject: |
|
|
ive seen people use lik
button.()
or somethin but if u entered code like that in simple c++ to in like a DOS window , would a button form? When u say .NET is that similar to vb and your given a 'grid' and allowed to put things together. or do you program something and then it allows you to apply GUI. ty~
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Feb 06, 2008 4:44 pm Post subject: |
|
|
| MegaForum wrote: | ive seen people use lik
button.()
or somethin but if u entered code like that in simple c++ to in like a DOS window , would a button form? When u say .NET is that similar to vb and your given a 'grid' and allowed to put things together. or do you program something and then it allows you to apply GUI. ty~ |
button()?? no.. a button doesnt appear by saying that in a simple c++ dos window. the only way you would get a button or form out of that would be if u made a function named "button" then in that function you created your form using Win32 APIs ( WNDCLASSEX struct, CreateWindowEx, etc. ) or dialogs and then you called "button" somewhere in your dos application.
.NET:
Yes, it gives u a full out window of ur GUI and a toolbox full of things to drop into it. (Menus, buttons, etc.) it also gives you properties and events to choose from.
_________________
Last edited by lurc on Wed Feb 06, 2008 4:45 pm; edited 1 time in total |
|
| Back to top |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Wed Feb 06, 2008 4:45 pm Post subject: |
|
|
| lurc wrote: | | MegaForum wrote: | ive seen people use lik
button.()
or somethin but if u entered code like that in simple c++ to in like a DOS window , would a button form? When u say .NET is that similar to vb and your given a 'grid' and allowed to put things together. or do you program something and then it allows you to apply GUI. ty~ |
button()?? no.. a button doesnt appear by saying that in a simple c++ dos window. the only way you would get a button or form out of that would be if u made a function named "button" then in that function you created your form using Win32 APIs ( WNDCLASSEX struct, CreateWindowEx, etc. ) or dialogs
.NET:
Yes, it gives u a full out window of ur GUI and a toolbox full of things to drop into it. (Menus, buttons, etc.) it also gives you properties and events to choose from. |
Ok, thank-you for helping.
+rep.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
|
| Back to top |
|
 |
MegaForum Grandmaster Cheater
Reputation: 0
Joined: 20 Aug 2007 Posts: 558
|
Posted: Thu Feb 07, 2008 2:00 pm Post subject: |
|
|
ty
|
|
| Back to top |
|
 |
|