English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If I compile a C++ sorce code (resorces and all the works) whit a free , compiler , would I get the same result as using the fancy Visual Basic C++ to compile it ? . Look , I know it's easyer to use the Visual Basic , but stick to the question , ok . Would the end result be the same ?

2006-09-02 00:35:22 · 3 answers · asked by d13 666 2 in Computers & Internet Programming & Design

It's Visual Basic C++ 8.0

2006-09-02 01:08:56 · update #1

3 answers

The end result may be the same (your code runs), but it may compile differently. Meaning, in VC++ it may be more efficient, or you may use different libraries, and have more options to write your code more efficiently. The benefits of VC++ over the freebee compiler is more flexibility, and the ability to write more complex code (using the libraries) than with the freebee.

To answer your question with one word though, I would say yes.

I just noticed you said visual basic, but I think you meant visual C++ since you are asking about C++. Visual Basic is another language, so no you cant compile C++ code with a visual basic compiler.

2006-09-02 02:15:55 · answer #1 · answered by justme 7 · 1 0

I don't think that you can compile a C++ project in Visual Basic. You can do it in Visual C++, Borland C++ (old environment) or like you said in a free compiler that understands the C++ language. Also I think that you could use Visual C++ .NET but there you might get a different result because it uses the .NET technology. In the other environments you should get the same result since the C++ compilers must follow the same rules for compiling C++ source code. Also depending on the project you might or you might not use some compilers.

2006-09-02 00:57:16 · answer #2 · answered by Cristian B 1 · 0 0

No, VB compiles into something that calls its own runtime for stuff that you would otherwise write yourself in C++

2006-09-02 00:45:30 · answer #3 · answered by Andy T 7 · 0 0

fedest.com, questions and answers