diff options
author | Ankit Raj | 2017-06-21 10:26:59 +0530 |
---|---|---|
committer | Ankit Raj | 2017-06-21 10:26:59 +0530 |
commit | 958577cac90a99124cd673fde1926781d966d91f (patch) | |
tree | 134d9fe7f5b97a647cb055bb7b4c21820a749f49 /main.c | |
download | scilab2c-958577cac90a99124cd673fde1926781d966d91f.tar.gz scilab2c-958577cac90a99124cd673fde1926781d966d91f.tar.bz2 scilab2c-958577cac90a99124cd673fde1926781d966d91f.zip |
Updated Scilab2C
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 97 |
1 files changed, 97 insertions, 0 deletions
@@ -0,0 +1,97 @@ +/* +** ************************************************ +** This file has been generated using +** Scilab2C (Version 2.3) +** +** Please visit following links for more informations: +** Atoms Module: http://atoms.scilab.org/toolboxes/scilab2c +** Scilab2C Forge: http://forge.scilab.org/index.php/p/scilab2c/ +** Scilab2C ML: http://forge.scilab.org/index.php/p/scilab2c/ +** ************************************************ +*/ + + +/* +** ----------------- +** --- Includes. --- +** ----------------- +*/ +#include "main.h" +/* +** --------------------- +** --- End Includes. --- +** --------------------- +*/ + + + +/* +** ------------------------------------- +** --- Global Variables Declaration. --- +** ------------------------------------- +*/ + + +/* +** ----------------------------------------- +** --- End Global Variables Declaration. --- +** ----------------------------------------- +*/ + +/* + SCI2C: ------------------------------------------------------------------ + SCI2C: function lengthfinder() + SCI2C: ------------------------------------------------------------------ +*/ +int main() +{ +/* +** ----------------------------- +** --- Variable Declaration. --- +** ----------------------------- +*/ + + double x[1 * 5]; + int __xSize[2] = {1, 5};; + + double y; + + double ans1; + + + + +/* +** --------------------------------- +** --- End Variable Declaration. --- +** --------------------------------- +*/ +/* +** --------------- +** --- C code. --- +** --------------- +*/ + + d0d0OpColond2(1,5,x); + + y = d2lengthd0(x, __xSize); + + d0disp(y); + + + + /* + ** --------------------- + ** --- Free Section. --- + ** --------------------- + */ + /* + ** ------------------------- + ** --- End Free Section. --- + ** ------------------------- + */ + + return(0); + +} + |