html fixes
This commit is contained in:
parent
85145302be
commit
72c78591df
1 changed files with 10 additions and 20 deletions
|
|
@ -453,8 +453,7 @@ int divide(int n, int d, int q*, int *r) {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> [ret, q, r] = divide(20, 6)
|
||||
|
|
@ -727,8 +726,7 @@ The <tt>%scilabconst()</tt> feature is also available for enumerations:
|
|||
typedef enum { RED, BLUE, GREEN } color;
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> exec loader.sce;
|
||||
|
|
@ -916,8 +914,7 @@ typedef struct {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> b = new_Bar();
|
||||
|
|
@ -1216,8 +1213,7 @@ private:
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> c1 = new_Complex(3, 7);
|
||||
|
|
@ -1328,8 +1324,7 @@ void throw_exception() throw(char const *) {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
-->throw_exception()
|
||||
|
|
@ -1376,8 +1371,7 @@ void throw_stl_invalid_arg(int i) throw(std::invalid_argument) {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> throw_int();
|
||||
|
|
@ -1500,8 +1494,7 @@ void printArray(int values[], int len) {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> printArray([0 1 2 3], 4)
|
||||
|
|
@ -1665,8 +1658,7 @@ void absolute(int *matrix, int matrixNbRow, int matrixNbCol,
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> absolute([-0 1 -2; 3 4 -5])
|
||||
|
|
@ -1781,8 +1773,7 @@ double average(std::vector<int> v) {
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> example_Init();
|
||||
|
|
@ -1851,8 +1842,7 @@ std::set<PersonPtr> findPersonsByAge(std::set<PersonPtr> persons, in
|
|||
%}
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
--> example_Init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue