From 217f2c859fc0b2b4a224c009e9cd374989da050e Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 2 Jul 2013 13:24:00 +0530 Subject: clean C and Cpp --- testapp/c_cpp_files/sample.c | 20 -------------------- testapp/c_cpp_files/sample.cpp | 7 ------- 2 files changed, 27 deletions(-) delete mode 100755 testapp/c_cpp_files/sample.c delete mode 100755 testapp/c_cpp_files/sample.cpp (limited to 'testapp/c_cpp_files') 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 - -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 -#include -int main(int argc, char* argv[]) -{ - std::cout << atoi(argv[1])+atoi(argv[2]) << std::endl; - return 0; -} -- cgit