Recent content by ctaini
-
C
How to read 2 different file in loop
thanks for your respond -data from one.txt and two.txt is actually just a example. -the real data come from output from ls prepost. -but the arrangement at each file are almost same. -i give example because output from ls prepost contain a thousand line -my situation right know is how to...- ctaini
- Post #10
- Forum: Programming and Computer Science
-
C
How to read 2 different file in loop
thanks for your response jarednjames -i already try separately..and its work. **but the problem show when i combine the program.. // the program only read 1st line of file"one.txt" (1004 4567) // then proceed to file "two.txt". if found 4567, program will print 1004 4567 563 //...- ctaini
- Post #8
- Forum: Programming and Computer Science
-
C
How to read 2 different file in loop
file "one.txt" aaaaaaaaa bbbbbbbbb ccccc cccc dd dd dd dd DATA_ONE 1004 4567 1015 4567 1027 4567 1038 7890 1049 7890 1055 7890 1066 7890 1074 4567 1081 4567 1092 7890 1103 7890 END file "two.txt" example ssssssss ddddddd blackf DATA_TWO 440 1056 aaa...- ctaini
- Post #6
- Forum: Programming and Computer Science
-
C
How to read 2 different file in loop
thank you for your comment..;> program baca implicit none integer a1,b1,c1,b2,status,i integer a1_Data,b1_Data,c1_Data character (len =20) string1 dimension a1_Data(100) dimension b1_Data (100) dimension c1_Data(100) open (unit = 1, file = "one.txt", form = "formatted") open (unit =...- ctaini
- Post #5
- Forum: Programming and Computer Science
-
C
How to change scale for fringe levels at ls prepost
how to change the fringe scale?..- ctaini
- Post #2
- Forum: Mechanical Engineering
-
C
How to read 2 different file in loop
thanks for your response.. kindly refer my example for file one.txt,two.txt and program file "one.txt" aaaaaaaaa bbbbbbbbb ccccc cccc dd dd dd dd DATA_ONE 1004 4567 1015 4567 1027 4567 1038 7890 1049 7890 1055 7890 1066 7890 1074 4567 1081 4567 1092 7890 1103...- ctaini
- Post #3
- Forum: Programming and Computer Science
-
C
How to change scale for fringe levels at ls prepost
hi all.. i facing problem to get a good contour..because the scale at fringe levels so big. for example: level 8 = 1.224e+037 level 9 = 6.122e+036 level 10 = 0 i have 4500 element that the value from 0 to 6.122e+37..so the result that i got all in blue color because have a big difference...- ctaini
- Thread
- Change Fringe Levels Scale
- Replies: 1
- Forum: Mechanical Engineering
-
C
How to read 2 different file in loop
hi... program below just for example integer i,j do j=1,100 do i=55,78 if(i==j)then print*,i,j end if end do end do end if base on do loop theory,outer do will read 1st line of j then proceed to inner loop,then find if i==j,if true the program will print result and...- ctaini
- Thread
- File Loop
- Replies: 10
- Forum: Programming and Computer Science