Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. /*
  2. Name: Shaheen G
  3. Class: Comp2401 A4- Part #2
  4. singlePrime
  5. */
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <unistd.h>
  9. #include <string.h>
  10.  
  11. int main(int argc, char**argv){
  12. if (argc < 2){
  13. // no arguements where passed in
  14. Printf("You need to plug singlePrime with a number, do that next time!\n");
  15. return 0;
  16. }
  17. if ((isdigit(argv[1])) == 1){
  18. //integer passed in
  19.  
  20. }else{
  21. //other type passed in
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement