Search:

Type: Posts; User: Raghavan

Search: Search took 0.01 seconds.

  1. Thread: FILE problem

    by Raghavan
    Replies
    3
    Views
    1,080

    FILE problem

    Hi
    in this statement
    FILE *f1;
    f1=fopen("123456789.txt","w");

    here the pgm should open the named file if it exists or should create a new one right, but it just creates a file with...
  2. Replies
    4
    Views
    1,231

    Tracking null pointer assgn

    Hi
    I have declared this line in my pgm.
    char *a=NULL,*b=NULL;
    then i used
    scanf("%s",a); even i tried gets(a);
    its giving null pointer assignment error but pgm...
  3. Replies
    1
    Views
    2,575

    Null pointer assignment

    Hi
    I wrote a c program where my input is a file and i store output also in a file. Everything works fine. But in my command prompt it shows null pointer assignment. but my output is not affected....
  4. Replies
    1
    Views
    1,193

    Problem in compiling in linux

    ptr=strrchr(path,'\\');

    strncpy(path1,path,ptr-path);

    path1[ptr-path]='\0';

    strcat(path1,"\\file.txt");

    output_file=fopen(path1,"w");
    here path is some path of an input...
  5. Replies
    2
    Views
    1,126

    String manipulation

    Hi
    I give my input through a file. so in my program i get the path of the file from user and manipulate the data in it. i want to place the output also in a file in the same place as my input...
  6. Thread: Getting input

    by Raghavan
    Replies
    4
    Views
    1,122

    Windows xp. Am using Borlandc

    Windows xp. Am using Borlandc
  7. Thread: Getting input

    by Raghavan
    Replies
    4
    Views
    1,122

    Getting input

    I was not able to enter more than 128 characters in the output screen without hitting enter button. i want to enter number of lines without hitting enter.
  8. Thread: Input

    by Raghavan
    Replies
    3
    Views
    1,254

    Input

    Hi
    I am trying a thing. in that i want to get lines of text which has special chars,numbers and chars and i dont want to allocate memory at the beginning. i want to allocate memory exactly needed...
Results 1 to 8 of 8