Search:

Type: Posts; User: xtacocorex; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Question for Fortran 90 programmers: Which compiler is best?

    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,...
  2. Replies
    30
    Views
    1,969

    Re: Maths Question: Solving This Equation

    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...
  3. Re: Fodder for thought... the capabilities of programmers

    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...
  4. Replies
    5
    Views
    346

    Re: gcc troubles

    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...
  5. Replies
    5
    Views
    346

    Re: gcc troubles

    sudo apt-get install build-essential
  6. Replies
    53
    Views
    1,954

    Re: Help me with C++ anyone?

    So I mistyped, I had been messing with C++ code all morning and my brain was shot when I answered the OP's question.
  7. Replies
    53
    Views
    1,954

    Re: Help me with C++ anyone?

    For starters, take out the system ("PAUSE"); You don't need them.

    Your program stucture should be like:


    #include <includes>

    int main()
    {
    // CODE HERE
  8. Replies
    5
    Views
    1,903

    Re: c++ and linear algebra

    FORTRAN can do OOP, not as elegant as C++ yet, but it is possible.

    I thought LAPACK abd BLAS have C++ bindings.
  9. Replies
    4
    Views
    345

    Re: Programming Subforum Suggestion

    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).
  10. Replies
    4
    Views
    345

    Programming Subforum Suggestion

    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...
  11. Thread: Algorithms

    by xtacocorex
    Replies
    31
    Views
    1,536

    Re: Algorithms

    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...
  12. Re: can't compile math program with cosine algorithm in x64

    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...
  13. Re: can't compile math program with cosine algorithm in x64

    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
  14. Replies
    9
    Views
    13,903

    Re: Revive Objective C on Linux

    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...
  15. Re: Medes: New project for running Google Maps, etc as desktop applications

    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...
  16. Re: About adding a def to a class in Python.. how to?

    Just define all your functions before you call:

    if __name__ == "__main__":
    and you shouldn't have ay problems
  17. Replies
    10
    Views
    1,770

    Re: Run Python scripts from editor?

    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...
  18. Replies
    10
    Views
    1,770

    Re: Run Python scripts from editor?

    There is a plugin for GEdit: http://live.gnome.org/Gedit/Plugins
  19. Replies
    5
    Views
    366

    Re: Drawing around the mouse.

    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...
  20. Replies
    5
    Views
    9,271

    Re: Drawing a line in C++

    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.
  21. Re: I know that global variables are evil but ...

    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...
  22. Replies
    16
    Views
    633

    Poll: Re: What do you value the most?

    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...
  23. Replies
    20
    Views
    1,039

    Re: Creating a Blogging Software for Linux

    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...
  24. Replies
    2
    Views
    347

    Re: command line menu system

    You could use the ncurses library.
  25. Replies
    6
    Views
    2,802

    Re: Portable and easy GUI with Python

    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...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4