summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorprathamesh2013-07-02 13:24:00 +0530
committerprathamesh2013-07-02 13:24:00 +0530
commit217f2c859fc0b2b4a224c009e9cd374989da050e (patch)
treed2fe8128dfb5448a00c3baffab39d50e3e231aa1 /testapp
parent37625e5c91f2bf957c6739981f7698e0d880b6ed (diff)
downloadonline_test-217f2c859fc0b2b4a224c009e9cd374989da050e.tar.gz
online_test-217f2c859fc0b2b4a224c009e9cd374989da050e.tar.bz2
online_test-217f2c859fc0b2b4a224c009e9cd374989da050e.zip
clean C and Cpp
Diffstat (limited to 'testapp')
-rwxr-xr-xtestapp/c_cpp_files/sample.c20
-rwxr-xr-xtestapp/c_cpp_files/sample.cpp7
2 files changed, 0 insertions, 27 deletions
diff --git a/testapp/c_cpp_files/sample.c b/testapp/c_cpp_files/sample.c
deleted file mode 100755
index 660f862..0000000
--- a/testapp/c_cpp_files/sample.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include<stdio.h>
-
-void main(int argc , char * argv[])
-{
- int i,sum=0;
-
-/* if(argc!=3)
- {
- printf("you have forgot to type numbers.");
- exit(1);
- }
-*/
- printf("The sum is : ");
-
- for(i=1;i<argc;i++)
- sum = sum + atoi(argv[i]);
-
- printf("%d",sum);
-
-}
diff --git a/testapp/c_cpp_files/sample.cpp b/testapp/c_cpp_files/sample.cpp
deleted file mode 100755
index ab77b85..0000000
--- a/testapp/c_cpp_files/sample.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <iostream>
-#include<cstdlib>
-int main(int argc, char* argv[])
-{
- std::cout << atoi(argv[1])+atoi(argv[2]) << std::endl;
- return 0;
-}