title: argc argv problems
body: <p>Can someone please tell me why this code will not work? It does compile. When I type decrypt as the argv[1] argument in the command line, it still gives me the else output. i.e. argv[1] is not satisfied even though it should be. This is a work in progress so ignore the other code</p>
  
  <pre><code> if ((argv[1] == "decrypt"))
        { 
        printf("Decrypting...\n");
          c = getc(fp1);
          if (c != EOF)
            { 
            fread(inputbuffer, sizeof(char), 50 , fp1);   
              printf("%s", inputbuffer);
              /*while(inputbuffer[i]!=EOF)
              {
              fputc((inputbuffer[i] / 2) - 5, fp2);
              }*/
            } 
        }
  
        else {printf("argv not working");}
  </code></pre>