Visual C++ vs C++: Understanding the Difference

Click For Summary

Discussion Overview

The discussion centers around the differences between Visual C++ and standard C++, particularly in the context of GUI programming and the implications of using Visual C++ as an Integrated Development Environment (IDE). Participants explore the compatibility of Visual C++ with various programming paradigms and libraries.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether Visual C++ is significantly different from standard C++, noting that the templates and code structure appear different.
  • Another participant clarifies that using Visual C++ typically implies working with the Win32 API, suggesting that there are alternative GUI development toolkits like GTK and Qt.
  • Some participants mention using both Visual C++ and gcc for console applications, emphasizing the use of conditional macros for compatibility between compilers.
  • There is a suggestion that Visual C++ adds unnecessary complexity to development, and a recommendation to use a simpler text editor instead.
  • One participant states that Visual C++ is not multi-platform due to its reliance on Windows API calls, contrasting it with the broader applicability of C++ as a language.
  • Another participant humorously suggests using Delphi for rapid application development (RAD) unless extreme flexibility or low-level programming is required.

Areas of Agreement / Disagreement

Participants express differing views on the implications of using Visual C++ versus standard C++. There is no consensus on whether Visual C++ is fundamentally different or merely a specialized IDE for C++ development.

Contextual Notes

Some limitations in the discussion include the lack of clarity on specific libraries and frameworks used in Visual C++, as well as the varying definitions of what constitutes "standard" C++. The discussion also reflects differing levels of comfort with command-line versus GUI programming.

Who May Find This Useful

This discussion may be useful for programmers considering the use of Visual C++ for GUI development, as well as those interested in understanding the distinctions between different C++ environments and IDEs.

ermines
Messages
45
Reaction score
0
Umm guys, is visual c++ a very different programming language than c++. I mean, I installed a copy of visual c++ and looked at the pre-made template of hello world but saw that it is very different from the normal source code for c++.

I have this code made from devcpp, the calculator if you remember, and I want to implement some GUI and buttons but it seems that I need to do additional studying of visual c++ just to do this..is this right?
 
Technology news on Phys.org
Visual C++ is a term coined by Microsoft. Why you say you're using Visual C++ you're implying your using Win32 API. There are many other GUI development toolkits. GTk and QT are other options.

Unless you're confortable with command-line programming I don't suggest doing GUI programming. It gets complicated pretty quickly.
 
dduardo said:
Visual C++ is a term coined by Microsoft. Why you say you're using Visual C++ you're implying your using Win32 API.

I use Visual C++ and gcc to write console non-Win32-API C++ code. I use conditional macros to allow me to compile with either compiler.
 
robphy said:
I use Visual C++ and gcc to write console non-Win32-API C++ code. I use conditional macros to allow me to compile with either compiler.

do yourself a favor and get a programmer's text editor rather than adding all the cruft the VC++ adds to development.
 
C++ is a multi-platform languge. Visual C++ is microsoft's version of C++, and most of its libaries depend upon Windows API calls. Hence, it is no longer multi-platform.

In any event, Visual C++ is a IDE developed by Microsoft, but it indeed, has the same syntax as any other type of C++ IDE (such as Borland's). :-p

Take my advice and use Delphi for your RAD needs, unless you need extream flexibity or you need to get low level (and even delphi has an inline assembler)
 

Similar threads

Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
86
Views
4K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 19 ·
Replies
19
Views
7K