exProgLinkedC.cpp (296B)
1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #include <pkg1/exLibC/exLibC.hpp> 5 6 int main(int argc, char *argv[]) { 7 printf("Hello world!\n"); 8 if (argc < 2) { 9 printf("Too few parameters passed!\n"); 10 } else { 11 int val=atoi(argv[1]); 12 printf("Result is: %d\n",check_smaller(val)); 13 } 14 15 return 0; 16 }