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?
Type: Posts; User: rajabadsha
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?
Sorry I meant
int a, b, c, d, e....
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
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...
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?
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...
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...
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...
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...
What is the difference between sequential access file and random access 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