Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rajabadsha

    Exponents in fortran

    In the following Fortran statement: wgt(i) = exp(-(epow*(nwt-i))**2) Are exp and epow keywords in Fortran? Are there any C equivalent?
  2. rajabadsha

    rewind statement

    Hi, Sorry to bother you guys again. But can you please tell me what is the equivalent of rewind statement in C. You have been a great help to me. Thanks
  3. rajabadsha

    Go to in Fortran

    What would be the go to equivalent of Fortran into C?
  4. rajabadsha

    Difference between the two write statements

    Hi, Can you please tell me how do you interpret the write statement below ( in C) as opposed to the other write statement, write(29) ((um(i,k),k=1,ndz-nwt,2),i=nwt+1,ndx-nwt,2) as opposed to write(6,*) it," of ",nt," time steps",umax,esum
  5. rajabadsha

    meaning of a statement

    What would be its C equivalent?
  6. rajabadsha

    Need to know the difference

    Can anyone please tell me the difference between and the meaning of the following six statements: 1) parameter (ndsrc=100) 2) parameter (nndx=2000+2*nwtd,nndz=2000+nwtd) 3) real*4 ut(nndx,ntsrc) 4) dimension u1(nndx,nndz) 5) dimension xsrcin(ndsrc) 6) dimension ysrcin(ndsrc)
  7. rajabadsha

    meaning of a statement

    Hi, I need to know if anyone can help me deciphering the meaning of the following Fortran statement implicit*8 (a-h,o-z) and dimension src(*)
  8. rajabadsha

    Need to figure out the code

    I am trying to figure out the following code: do iw=1,nw irecl = irecl + 1 write(10,rec=irecl) (cplot(iw,ip),ip=1,np) enddo The output is written to a file called contour.dat. cplot is initiated to an array of 1000 * 1000. As a new programmer in...
  9. rajabadsha

    Meaning of write statement

    Hi, With reference to the following code, which I posted yesterday, I have few more questions if anyone can kindly reply. 1)How is pow_start, pow_end, and pow_step initiated? Are _start, _end and _step a keyword? 2)When I run this program the write statement "write(6,200) project_name" prints...
  10. rajabadsha

    reading multiple lines from a file

    If a file "a.txt" has the following lines Line1: 1 Line2: 2 Line3: 3 How would it read the input sequentially i.e. one line after another and output then sequentially?
  11. rajabadsha

    File operation question

    Hi, I am new in Fortran and trying to convert the following Fortran program in C: Program contbc parameter...

Part and Inventory Search

Back
Top