Search:

Type: Posts; User: madhu_d

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,918

    libcurl not giving output

    Hi,

    I am trying to retrieve information from a website http://www.uniprot.org/mapping and have written a C code as follows:

    #include <stdlib.h>#include <stdio.h>
    #include <string.h>
    #include...
  2. Thanks a lot for the clarification and the...

    Thanks a lot for the clarification and the patience in explaining the complicated stuff.. Though my program is not yet done but I think I better get some reading on textbooks on pointers before...
  3. Apologies for not pasting the compiler errors. ...

    Apologies for not pasting the compiler errors.

    I expect "172098" as the output of this program and I have considered it to be as a string. Initially, I had run the same program without the use of...
  4. unable to save a column element into dynamically memory allocated array

    I am trying to store each value of a column from a text file into an dynamically allocated array, which needs to be globally declared for further usage in the program.
    The input textfile contains...
  5. Thanks a lot for nice illustration! I am...

    Thanks a lot for nice illustration!
    I am working with databases, as you have guessed correctly. And the files are huge and I wanted to make it a generic program that will work for any number of...
  6. Thanks for explaining. I added this section:...

    Thanks for explaining.

    I added this section:


    while(fscanf(int_file1,"%[^\t]\t%[^\t]\t%[^\t]\t%[^\n]",first_col,sec_col,third_col,fourth_col) == 4)
    {
    printf("%s\t",first_col);...
  7. Yes there are actual tabs in the file. Please...

    Yes there are actual tabs in the file. Please clarify what is meant by "feof test is broken".. fscanf seems to be working fine as stated from the commented printf statement which gives correct...
  8. Unable to retrieve string as an array variable

    I am trying to read a tab delimited file containing 8 columns and store each element of the column as an 1-dimensional array. Though the program prints the strings correctly as in the commented...
  9. Can solve the present problem by reducing the...

    Can solve the present problem by reducing the variable sizes. But I want to generalize my program for a large text file as input. What should be my variable size??
  10. error while using struct in C code to read from file

    Hi all,

    I am very new to C programming and am trying to use struct to store variables from a text file and use them in the main program. I have first tried running the program without using struct...
Results 1 to 10 of 10