From efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 Mon Sep 17 00:00:00 2001 From: Ankit Raj Date: Wed, 21 Jun 2017 11:00:07 +0530 Subject: Functions added - string related and signal processing --- SCI2CTmpResultsReports/lengthfinder/main_pass2.c | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 SCI2CTmpResultsReports/lengthfinder/main_pass2.c (limited to 'SCI2CTmpResultsReports/lengthfinder/main_pass2.c') 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); + +} + -- cgit