Home > Back-end >  Perform a piece of data
Perform a piece of data

Time:09-30

I get a piece of code from the server then how to implement this code?
Char * a="sleep (100); If (b=1)
"Just like this then I want to carry out this code



CodePudding user response:

This seems to be no good, your code is compiled good run directly after, you receive this code doesn't compile
Unless you write a compiler to compile
For example, the instruction first, then according to the instruction function

CodePudding user response:

: if you know what each other is language like Java, lua, then throw it to the corresponding execution can be interpreter,
If you don't know, and the other very little code type, then write a little interpreter,

CodePudding user response:


This is belong to the script, the virtual machine language, I know you can c + + can be embedded lua, PHP

CodePudding user response:

Don't only send some important parameters of the function,,,
  • Related