Search:

Type: Posts; User: Madhavi

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    5,690

    Hi anduril, I am still stuck, Please help....

    Hi anduril,

    I am still stuck, Please help.
    the data00 file has :
    :testing:testing.c:2481:

    My updated code is :


    FILE *fp=fopen("data00","r");
  2. Replies
    8
    Views
    5,690

    Thanks, I tried using %[^:] instead of %a[^:]...

    Thanks,

    I tried using %[^:] instead of %a[^:] which gives me this error now:

    warning: format '%[^:' expects argument of type 'char *', but argument 3 has type 'char **' [-Wformat=]
    int...
  3. Replies
    8
    Views
    5,690

    Compiler warning

    insert

    FILE *fp=fopen("data00","r");
    if( ! fp )
    {
    printf("unable to open name of data00 file\n");
    }


    char *sName=NULL;
Results 1 to 3 of 3