Something finally clicked. I was working to death on a program and then I was like "ok now I get it". I erased all my code and proceeded to write all the code for my problem in half an hour and it fired right up. So now I am a happy camper.
Ahhh Fortran... We had a course in college called "Numerical methods in Fortran" but luckily for us our teacher didn't care much for fortran so he called the course "Numerical methods and Fortran". So we learned Fortran, and then we learned numerical methods using C++
I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-)
I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-)
And you can bet it will be that crucial library that just isn't available for the Mac
I did. In fact the reason I delved into F77 was because this researcher wanted to port his Fortran app from Windows to Mac. So I had double the fun. Can you imagine Fortran on a Mac? :-)
And you can bet it will be that crucial library that just isn't available for the Mac
Heh.. right. Although we didnt have any major system level hiccups... or so I remember. Must have been my lucky days.
Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :(
Fortran always made perfect sense to me, but then had to move from VAX VMS to Unix.
Bought a copy of Kernighan and Richie with the intention of DIY C but discovered that I was just too old to start learning a new code even though I had some basic Pascal so swapped the book for a copy of Roark lol
Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :(
Errrr I did...lol, then we went all hi tech and got a tape punching machine
MATLAB, I see let someone else do the hard work for you eh
I had to do write a tic tac toe program for a project once. What I did was after every move, I generate a tree of all possible outcomes. From there on it is easy to work back from the branches of the tree and determine which next move can not possibly result in a loss. It is a bit of a brute force solution, but for a game such as tic tac toe which only has so many possible moves in a game, it isn't a computational nightmare.
A solution like this does however require a working knowledge of data structures such as trees, so I doubt whether it would be a plausible solution for somebody that is new to programming.
Good to see a few old timers here :-) Yeah... I punched a few cards in uni but that was the dark age now :-) Used Fortran77 also but my fav would have to be either LISP or APL but both are pretty ancient now days as well... and a tad specialised :-) Coding is not what it used to be (fortunately and unfortunately) :-/
Fortran???? I'm surprised you guys weren't punching holes in computer cards. I've heard that's how REAL programmers do it :P Fortunately, i've never had the pleasure of using either.
I like Java and C++, but my favorite ever is MATLAB, which I don't think counts. Of course, I haven't had a chance to program in awhile, it's all requirements documents and test plans for me lately :(
Errrr I did...lol, then we went all hi tech and got a tape punching machine
MATLAB, I see let someone else do the hard work for you eh
LOL shhhhh, don't tell anyone!
I could've said LabView, which apparently is now shipped with Lego Mindstorms.
LOL shhhhh, don't tell anyone!
I could've said LabView, which apparently is now shipped with Lego Mindstorms.
So if you use MATLAB I guess you must have an engineering role so have you used any real engineering stuff such as NASTRAN eh eh eh lol
We don't do any FEA around here, but a quick search for nastran made me lol. They just make me review a bunch of documents all the time, which is why i have time to post to the forum ;)
I'm afraid this is has gotten terribly off topic? Correct me if i'm wrong, is tic-tac-toe a perfect play type game where the first person to move can always win if they make the proper next move? i think connect four is like that.
I learned COBOL and Fortran on punch cards, Pascal and Basic via terminal. You learned quickly to draw a diagnonal line across the top of your deck, just in case..
My last year of college, we opened an Apple lab, running Apple II's with dual floppy drives and an CP/M card. Oh the days!