Posted: 5/12/2012 11:21:31 PM EDT
|
I just downloaded the Gnu Compiler Collection and have been coding some Fortran 90 in notepad and running in the command prompt window.
1.) What's the easiest to use text-editor out there that still has a lot of function? 2.) I can't find a way to clear the terminal screen in a DO loop (after the user inputs a number) If anyone's interested in my code, I just wrote a 90 line gaussian elimination code to solve linear systems of equations. Right now I have it producing a matrix in RREF as output. My biggest problem has been that we use programming so infrequently in my classes that I forget and re-learn the language every time it's needed. That's why I'm tinkering with it now. I've identified computing as my weak spot, so that's where I've resolved to learn |
|
Quoted:
what operating system are you using? For a text editor, I like vi, but I'm a barbarian. vi's a great editor, and you can't beat it for sysadmin duties. For developing code, I usually prefer an IDE of some sort, either Eclipse or Netbeans are the quick and easy ones that are mostly cross-platform. |
|
Quoted:
I just downloaded the Gnu Compiler Collection and have been coding some Fortran 90 in notepad and running in the command prompt window. 1.) What's the easiest to use text-editor out there that still has a lot of function? 2.) I can't find a way to clear the terminal screen in a DO loop (after the user inputs a number) If anyone's interested in my code, I just wrote a 90 line gaussian elimination code to solve linear systems of equations. Right now I have it producing a matrix in RREF as output. My biggest problem has been that we use programming so infrequently in my classes that I forget and re-learn the language every time it's needed. That's why I'm tinkering with it now. I've identified computing as my weak spot, so that's where I've resolved to learn 1 –– I really like TextWrangler for OSX as a simple text editor. I don't use Windows, so kind of hard to make a recommendation. 2 –– You should be able to use some form of System("cls"), though I don't know the exact Fortran system call. My last work with Fortran was CS150 at SMSU in 1988 –– and it was Fortran 77. I did find this link that might help |
|
updates!
I downloaded an editor called Notepad ++, and it seems to be adequate for my needs. Also, as far as clearing the screen goes, I found that I must use the same clearing command that is used in the command prompt window, "cls." so the command looks like: call system('cls') |