Facebook
From Crimson Hedgehog, 5 Years ago, written in Plain Text.
This paste is a reply to Re: Untitled from Obese Lion - view diff
Embed
Download Paste or View Raw
Hits: 386
  1. #include <stdio.h>
  2. int main(int argc, char *argv[])
  3. {
  4.  int i = 0;
  5.  if(argc == 1) {
  6.  printf("You only have one argument. You suck.\n");
  7.  } else if(argc > 1 && argc < 4) {
  8.  printf("Here's your arguments:\n");
  9.  for(i = 0; i < argc; i++) {
  10.  printf("%s ", argv[i]);
  11.  }
  12.  printf("\n");
  13.  } else {
  14.  printf("You have too many arguments. You suck.\n");
  15.  }
  16.  return 0;
  17. }
  18.  

Replies to Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Untitled Bulky Motmot text 5 Years ago.