Home > Back-end >  About C Builder arrays and javascript
About C Builder arrays and javascript

Time:10-02

On c + + Builder contrast arrays and javascript

In the javascript array can pay plus variables and arbitrary and word string

Var Stre [" DSF + id]="name";//in the javascript array can add variables and pay any word string

alert (Stre [" DSF + 1] ");//output

The can't be in c + + Builder like javascript arrays can be "plus variables and arbitrary and pay a string"

CodePudding user response:

C + + subscript as long as the final results to the natural

CodePudding user response:

Javascript it is not in a ratio

CodePudding user response:

Reply: ksrsoft

What "this cannot be on a piece of"
Unclear what you mean

CodePudding user response:

 
Typedef map Myarray on;
Typedef map Jsarray;

Myarray on Myarray on;
Jsarray Jsarray;

Myarray on [" DSF "]=1;
Jsarray [myarray on]="name";

CodePudding user response:

 

Typedef map Myarray on;
Typedef map Jsarray;

Myarray on Myarray on;
Jsarray Jsarray;

Myarray on [" DSF "]=1;
Jsarray [myarray on]="name";


There is a slip of pen

CodePudding user response:

Javascript can be defined through assignment data type, C must first define types, and then to the assignment
  • Related