Search:

Type: Posts; User: rajabadsha

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,346

    short cut of floating point values

    Hi need to know that if I have the following code:
    float j;
    j=.000004
    instead of writing .000004 is there a short cut like Fortran 1.0e-6?
  2. Replies
    6
    Views
    12,058

    Sorry I meant int a, b, c, d, e....

    Sorry I meant
    int a, b, c, d, e....
  3. Replies
    6
    Views
    12,058

    a-h are actually variable identifiers. I know...

    a-h are actually variable identifiers. I know declaring
    char a,b,c,d,e,f.....;
    but shouldn't there be a short cut, i mean think of it just a-h
  4. Replies
    6
    Views
    12,058

    Declaring multiple character variable.

    I need to convert a certain fortran program in C.
    The fortran has a statement as follows:
    implicit real*8 (a-h,o-z)
    In the above statement a series of character variable a-h and o-z is declared in...
  5. How to add a string from the top of the file

    I need to know if a file has some data and I need to add a new value from the top. How can I do that?
  6. Replies
    5
    Views
    3,354

    Removing end of line marker

    I am reading some data from file. One of the data is stored in a character array. The file has some end of line delimeter. As a result I the character array is also getting the end of line dilimeter...
  7. Replies
    6
    Views
    1,829

    I don't know how can someone "smell" a homework....

    I don't know how can someone "smell" a homework. If you do not know the answer please say so instead of showing off to other people how good you are. I have done programming in C++ and Visual in span...
  8. Replies
    3
    Views
    1,942

    format in Fortran

    I need to know is there any equivalent of the "format" statement used in Fortran77 in C. For example what would be the equivalent of the following statement in C (How is format used in the line with...
  9. Replies
    3
    Views
    6,367

    No I am trying to understand the difference...

    No I am trying to understand the difference between access a file sequentially and randomly. How is it done in C? For example if I have 1000 files numbered 1 to 1000 and I want to access file number...
  10. Replies
    3
    Views
    6,367

    sequential vs random

    What is the difference between sequential access file and random access file
  11. Replies
    6
    Views
    1,829

    reading lines sequentially from a file

    Hi,
    I have a file "a.txt". I want to read the contents of the file line by line and output them. a.txt has the following input:

    a.txt:
    Text
    file
    1
    2
    3
Results 1 to 11 of 11