Search:

Type: Posts; User: adoosa

Search: Search took 0.01 seconds.

  1. Check if string is a floating point number or not !!! Please Help

    Hello ,
    I'm a newbie in C and have been programming this for a while now .
    Task: Read a csv file and look for floating point numbers . If you see a floating point number, then change the...
  2. Replies
    20
    Views
    41,772

    Thanks for the help and I do the same kind of...

    Thanks for the help and I do the same kind of testing too, soo even I have data like that but mine is even worst , so I need to look into each character carefully .

    Thanks
  3. Replies
    20
    Views
    41,772

    can you please explain me or be more clear about...

    can you please explain me or be more clear about how to go through for character by character . My file has 100s of lines of data and there are commas and strings, integers, decimal numbers, binary....
  4. Replies
    20
    Views
    41,772

    Ok thank you

    Ok thank you
  5. Replies
    20
    Views
    41,772

    So , finally after going through a it a bit more,...

    So , finally after going through a it a bit more, I totally changed my code and started by first creating a new file and copying data into it. Therefore I did compile and its working fine.
    Now the...
  6. Replies
    20
    Views
    41,772

    we can use built in functions, doesn't have to be...

    we can use built in functions, doesn't have to be manual. We can use atof and I still cant understand what your trying to say.
    And only the decimal numbers are the ones that need to be rounded off...
  7. Replies
    20
    Views
    41,772

    Thank you , so coming to my new code the build is...

    Thank you , so coming to my new code the build is fine but when I debug , it gives me a run time error and nothing else , the program just freezes , it doesn't go through the code I guess. As far...
  8. Replies
    20
    Views
    41,772

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    #include <string.h>

    /* data analysis for TI to sort out data by Integers, Floating Points,
    Binary numbers, strings, fields */
    ...
  9. Replies
    20
    Views
    41,772

    To be more specific , I can make bullet points...

    To be more specific , I can make bullet points which is more clear:

    The commas, integers, binary numbers, whole numbers should all be copied the same way as they are in the file.
    Only when the...
  10. Replies
    20
    Views
    41,772

    Parsing a text file using C program

    Hi All,

    I am a newbie in C programming. I was facing a problem with reading a text file and writing it as it is but i need to round some of the floating numbers to six decimal digits. I am posting...
Results 1 to 10 of 11