diff options
author | Ankit Raj | 2017-06-21 11:00:07 +0530 |
---|---|---|
committer | Ankit Raj | 2017-06-21 11:00:07 +0530 |
commit | efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 (patch) | |
tree | 65444449ab64db280008c59b08204ee775db26df /SCI2CTmpResultsReports/lengthfinder/main_pass2.c | |
parent | b33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff) | |
download | Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.gz Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.bz2 Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.zip |
Functions added - string related and signal processing
Diffstat (limited to 'SCI2CTmpResultsReports/lengthfinder/main_pass2.c')
-rw-r--r-- | SCI2CTmpResultsReports/lengthfinder/main_pass2.c | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/SCI2CTmpResultsReports/lengthfinder/main_pass2.c b/SCI2CTmpResultsReports/lengthfinder/main_pass2.c new file mode 100644 index 0000000..a7eef15 --- /dev/null +++ b/SCI2CTmpResultsReports/lengthfinder/main_pass2.c @@ -0,0 +1,70 @@ +/* +** ------------------------------------- +** --- 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); + +} + |