Want this question answered?
You can't integrate C++ source code directly into Visual Basic code. In order to make use of code written in another language, including C++, you must compile that source to produce a DLL. You can then link to that DLL via Visual Basic. The only caveat is that you must replace the C++ data types in the function declarations with the equivalent Visual Basic data types, such as 'Byte' for a C++ unsigned char, or 'Single' for a C++ float.
49
49
(b/2)^2= 64
64
Sometimes, it is. Some implementations compile C++ code into C code, and then compile the C code.
-12
You can find the roots with the quadratic equation (a = 1, b = 3, c = -5).
Here is an intuitive method for working this polynomial problem, which can be solved as easily as adding apples to apples and oranges to oranges. Think of the same-named variables and variable pairs as different "things." In this example, each polynomial contains none or one or more of these three different things: "ax", "by", and "c". So all we need to do is add (or subtract) up the "ax"s, then the "by"s, and then the "c"s and write it down. ax: 1 in the first polynomial + 2 in the second + none (0) in the third = 3 "ax"s. by: 1 in the first polynomial - 3 in the second +1 in the third = -1 "by"s. c: 1 in the first polynomial + 1 in the second - 1 in the third = 1 "c". The answer is the polynomial made up of the three results above: 3ax - 1by + 1c = 3ax - by + c
It is used to distinguish between the C or C++
All C++ source code is is a text file with the .cpp extension. So if you save your code as *****.cpp then it is automatically C++ source code.
The Express edition of C++ does not require a serial code. It is free.