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...
Type: Posts; User: adoosa
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...
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
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....
Ok thank you
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...
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...
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...
#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 */
...
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...
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...