Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags
c x 9

4 Posted Topics

Member Avatar for me_roy

Hi all, I am stuck here after several hours tried. Here the thing. I have txt file that contain float data (1 column and many row) such like this (4 float data): 0.799 0.851 0.926 1.000 Then i want to read it as array. My code is work until this …

Member Avatar for me_roy
0
316
Member Avatar for me_roy

Dear All, I got difficulties here related with extracting max and min value from every column in array. So far i just can extract max-min value at a time by changing column index, stupid approach..eeeh, but i do it just for testing that code could extract right max and min …

Member Avatar for WaltP
0
435
Member Avatar for me_roy

my problem is quiet similar, i used atof here my data and code: "square10.dat" 0.01 1:0.1 0.04 1:0.2 0.09 1:0.3 0.16 1:0.4 0.25 1:0.5 0.36 1:0.6 0.49 1:0.7 0.64 1:0.8 0.81 1:0.9 1.00 1:1.0 THE CODE: [code=c] #include <stdio.h> int main() { char c[10]; /* declare a char array */ …

Member Avatar for Major Major
0
119
Member Avatar for fatasscp

Seem my problem almost similar, but more complicated. what if my input.txt consist of many column, than for every element there we want to evaluate the value into new value? for exampe the input.txt look like this: 123.34 1.02 2.02 3.04 342.54 0.01 12.3 0.19 243.43 0.99 11.23 1.345 thank …

Member Avatar for me_roy
0
188

The End.