As for OS X Fortran compilers, you're sort of stuck with with stuff that works with XCode (which I have yet to get working and I've messed with it for over a year). I don't remember where I got it,...
Type: Posts; User: xtacocorex; Keyword(s):
As for OS X Fortran compilers, you're sort of stuck with with stuff that works with XCode (which I have yet to get working and I've messed with it for over a year). I don't remember where I got it,...
You'll have to use numerical methods for this, I suggest Newton-Raphson (http://en.wikipedia.org/wiki/Newton's_method)
Pretty much what happens is you know n and you provide a guess for x and the...
I added a double major in Computer Science when I was in school and at the time, the intro to programming class was C++ and after that first year you delved into algorithms and didn't do much coding...
There have been many debates on whether build-essential should be installed by default, but it is included on the live-cd, just not installed, so if you do have an issue where you don't have internet...
sudo apt-get install build-essential
So I mistyped, I had been messing with C++ code all morning and my brain was shot when I answered the OP's question.
For starters, take out the system ("PAUSE"); You don't need them.
Your program stucture should be like:
#include <includes>
int main()
{
// CODE HERE
FORTRAN can do OOP, not as elegant as C++ yet, but it is possible.
I thought LAPACK abd BLAS have C++ bindings.
Now that I think about it, LaRoza has a good point. Maybe that's what I was originally thinking of and my brain put down the wrong words (that happens from time to time).
Just a suggestion, but if the mods are going to move regular discussions in the Programming Talk Subforum to the Recurring Discussion subforum (i.e. Gnome Development shouldn't be in C and the other...
I've been told to never to recursion to find factorials in my Numerical Methods classes, wastes too much time and there are easier methods for it, which I can't find the code I where I needed...
I don't think I've never had to link using C++ if I've included math.h, but that could be C++. I take it with C you have to.
But I can agree on learning the command line options; I finally was...
I know it's along shot, but if you can't get the cosine function to work, you could always write your own algorithm using a Taylor series expansion. http://www.mathreference.com/ca,tfn.html
Objective-C is not dead, it is used widely for OS X application development, mainly due to it's roots in NeXTStep which Job's helped create.
The GNU C/C++ compiler will compile Objective-C code, I...
Think of this as something similar to a Sherlock plugin for OS X. I actually just discovered that program on my Macbook yesterday and found it very useful. I think if SeanHodges can get the niche...
Just define all your functions before you call:
if __name__ == "__main__":
and you shouldn't have ay problems
I do am on a Mac and I do all my Python from the terminal window and occasionally IDLE. I do all my visual editing in Smultron and for quick changes in the terminal, VI.
Smultron does have the...
There is a plugin for GEdit: http://live.gnome.org/Gedit/Plugins
This may seem like an out there proposition, but Fluxbox and Openbox have a menuing system that displays on a mouse click on the desktop. I'd look at their code and see how you can improve it and...
I would use 2D SDL and would send you the link to the ubuntu game programming wiki, but have forgotten it. There are tutorials on 2D and 3D rendering.
I wouldn't say that all global variables are bad, in certain circumstances, they can be handy. In all my FORTRAN programs I make filenames and PI global variables just so they can be referenced from...
I don't think that any of the 5 fit my development style Wybiral. Mainly I just want to get something working because my programs usually are meant to solve a single problem. Guess that's what I...
Instead of waiting for someone to write it, learn Python and do it yourself. There are libraries that will talk to blogs, just need to learn how to use them.
Or you can help out on an existing...
You could use the ncurses library.
You are incorrect about OS X not having Tkinter. That is the main reason why I moved my GTK+ UI over to TKinter for my Airfoil Generator. I wanted a UI that was cross platform without having my...