Search:

Type: Posts; User: CommonTater

Search: Search took 0.06 seconds.

  1. Replies
    5
    Views
    7,341

    #include #define TYPES...

    #include <string.h>
    #define TYPES ".txt.ini.bak.asc"

    int IsApprovedType(char *str)
    { if (strstr(str,TYPES))
    return 1;
    return 0; }
  2. Replies
    5
    Views
    7,341

    Then you have to write a function to test if the...

    Then you have to write a function to test if the file extension entered by the user is part of a list of acceptable extensions... and depending on the return value of the function either open the...
Results 1 to 2 of 2