Hi There,
Is it possible to have a matrix that holds character values?
I can manage a 3x3 matrix easily with the following command.
Integer :: matrix(3,3)
and I can for example, get an output like this:
3 6 1
6 2 1
9 5 2
Can a matrix hold characters too? I want, for example:
a b f
a a l
w i...
Thanks for that. ofcourse, i overlooked the real issue :p
Just a note though, everytime I run the program, it keeps generating the same sequence of random numbers.
So in fact, I'm not acutally getting a random sequence each time I run the program.
Any ways to solve this?
By the way, are...
Thanks mikrom, haven't had much luck with GUI creating software. They mostly talk about VB environments. Seems too complicated. Need something simpler.
As for problem 2, your explanation help me quite a lot :) I've got it working now .
Thanks once again ! :)
Hi Guys,
Just needed a bit of help writing a program that gives a number between 0 and 1.
I have so far written:
===============================
Program Main
Implicit None
Integer :: i, count, j=1
write(*,*) "how many times do you want to generate?"
read(*,*) count
call random_seed(1)...
Hi Everyone.
I'm new here so I'll introduce myself.
I am a new Fortran user and have some experience in programming from the past.
I wanted your help on the following 2 questions:
QUESTION 1)
======================
I am using an ancient Fortran compiler to write the code. Is there a Object...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.