C/C++ Can I Use Borland C++ and Visual C++ for Different Types of Programming?

  • Thread starter Thread starter mtanti
  • Start date Start date
  • Tags Tags
    C++ Visual
Click For Summary
There are notable differences between Borland C++ and Microsoft Visual C++.NET, particularly in their syntax and libraries. While both can be used for Windows application development, Microsoft Visual C++.NET operates within a distinct runtime environment that includes its own libraries, separate from those used in traditional Windows applications. Compatibility between the two depends on the code's compiler and platform independence. For cross-platform development, it is essential to focus on common coding practices and libraries. Developers have found Microsoft Visual C++ easier to work with for third-party driver compatibility. If aiming for cross-platform applications, alternatives like Java may be more suitable due to differing library requirements across operating systems.
mtanti
Messages
172
Reaction score
0
I need to know if there is a difference between programming in borland c++ and microsoft visual c++.net. Are the two languages compatable or did microsoft introduce some new syntax?

Can I learn just the borland version without worrying about using the visual version later? Which versions are syntax compatible?

I need to know so that I can use visual c++ for windows applications whilst using borland c++ for OS independant programs. Does this make sense?
 
Technology news on Phys.org
depends on if you make your code compiler independent or platform independent. Figure out what code schemes are common between both and which are not.
 
At least for compatibility with 3rd party drivers, we've found the MSVC++ to be much easier to get to work with our software. I'm mostly a HW guy, so sorry that I can't offer anything more helpful than that. Kind of too bad too, since I work in Silicon Valley and watched Borland's rise (on top of the hill towards Santa Cruz).
 
first of all don't confuse msv c++ with msv c++.net. .net is a runtime environment with it's own set of libraries apart from the libraries you use when programming ms windows applications.

if you want to program a windows app, you may use ms visual studio or borland c++ (i'm not sure if you're referring to borland c++ builder which is a RAD IDE). There may be syntactical differences across IDEs but the library methods that you will use should be the same. Now when programming .net apps, you may use any .net compiler. Of course there's ms visual studio .net, borland delphi.net, etc.

Other OSes use different libraries, meaning you can use C++ (language), but you have to use a different set of libraries. If you want to develop cross platform apps, you can always us Java.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

Replies
86
Views
2K
Replies
69
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 86 ·
3
Replies
86
Views
12K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
81
Views
7K
  • · Replies 25 ·
Replies
25
Views
710
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 14 ·
Replies
14
Views
34K