Home > Back-end >  The small white ask: a software can be written by more than one language
The small white ask: a software can be written by more than one language

Time:09-19

This white high school students a , have learn c + +, c #, python,
Want to ask everybody bosses:
Can a software written by more than one language (is a part of language to write a final synthesis software)?
Simple if you can talk about ideas, had better not too deep ,
Commonly used software: vs2019
Troublesome everybody

CodePudding user response:

C + + and assembly

CodePudding user response:

reference 1st floor MianHou response:
c + + and assembly ok

Then how it calls by other language?

CodePudding user response:

reference 1st floor MianHou response:
c + + and assembly ok

Is that so???????
C # :
Void MS (string STR)
{
MessageBox.Show(str);
}
C + + call:
Try
{
.
}
Catch
{
MS ("... ");
}

CodePudding user response:


Can also be mixed or exe running entrance parameters, output console + pipe or exe running, or DLL export function, or process more services,
Or are providing services to the public interface HTTP interface, socket protocol interface, intermediate data exchange file, database exchange, exchange, memory mapping

CodePudding user response:

reference 4 floor smwhotjay response:

Can also be mixed or exe running entrance parameters, output console + pipe or exe running, or DLL export function, or process more services,
Or are providing services to the public interface HTTP interface, socket protocol interface, middle data exchange file, database exchange, exchange, memory mapping

Can you tell me about how to use the DLL in detail

CodePudding user response:

Ok, you can use the python to write good, then the c + + to call python scripts,

CodePudding user response:

C + + directly call the method? So to write:
1. The py:
Def pt (STR) :
Print (STR);

1. The CPP:
# include "1. Py
".
Void main ()
{
Pt (" Hello world!" );
}

CodePudding user response:

reference cocked his head to look at the world on the second floor response:
Quote: refer to 1st floor MianHou response:
c + + and assembly ok

Then how it calls by other language?

C + + write a dynamic libraries, and then by using the c # library
Knowledge about the dynamic library, please refer to the
"VS2015 dynamic library programming based article resource summary"
Wish I could help you!
  • Related