Can you use VC++ to write Windows Apps

I'm really confused, I have tried to look everywhere to see if you can write Windows applications in C++ in the Visual Studio IDE. So can you use VSC++ to write Windows forms like in visual basic.

I'm still learning C++ in the console, I know its easier to learn in the console but for future ref. can you write C++ programs for Windows? If so, what books do you recommend?

Thanks!
Yeah you can use WinForms with VC++. Which version of Visual Studio are you using? There should be an option like "New Windows Forms application". You can use other libraries like Qt, wxWidgets or GTK+ with VC++/C++ to write GUI apps too that work on Windows.
Last edited on
Hi Stormboy, I am using Visual Studio ultimate 2012?
Could you tell me how to start a winforms in C++?
Sorry for the late reply. The reason you can't make WinForms project is because you are using the 2012 version. Microsoft has removed it in v2012. To enable and use WinForms with C++ in VS2012 follow this: http://www.t-hart.org/vs2012/

Cheers!
Last edited on
Thanks so much!!! It worked.
Just a few questions, why would MS do such a thing? and would you be able to lead me to a few tuts.?

Thanks again!
Eh, I don't understand the reasons for the things MS does. They have their own reasons and ways of doing things. And sorry, I don't know of any good tutorials for WinForms with C++.
Because no one uses c++/cli these days, except beginners which does not really know what they are doing.

You want WinForms, use C#, want to program in C++ use normal WinAPI (or libraries like Qt, wxWidgets, etc)

Do not lie yourself and understand that WinForms and C++ language has NOTHING in common.
Last edited on
No worries Stormboy.

modoran - So are you saying that C++ is dead? and is it a waste of time me learning C++. I am still a beginner...
modoran - So are you saying that C++ is dead? and is it a waste of time me learning C++. I am still a beginner...


No, I did NOT said that. I said that what Stormboy told you to do and what you are asking is not C++ programming language and NO C++ compiler except Visual Studio will compile resulting code.

You seem to be confused and wrongly assume that this is C++, but it is only a Microsoft language which nobody uses these days.


If you want to program in C++ use New project -> Win32 -> Win32 Project template in Visual Studio, not that one on this link:
http://www.t-hart.org/vs2012/
closed account (iAk3T05o)
Use qt. It uses c++
Alright, thanks modoran - I'm still all quite new to this.
Topic archived. No new replies allowed.