help looking for some programs

Posted:
in Mac Software edited January 2014
I just got my macbook pro yesterday and I need some help looking for some programs



C++ (universal program)

Java (universal program)



Aim or something like it iChat is very weird to me with the apperance and the aim install for OS X crashes alot. Guess its not a universal.



A bittorent client i used to uses azureus on my windows machine something similar to that.



Is there a universal version of firefox?



and any other fun programs you guys suggest

Comments

  • Reply 1 of 20
    Xcode, Adium X, Camino, Azureus, Growl, Quicksilver, Acquisition, coconutBattery...Thats all I can think of now.
  • Reply 2 of 20
    thank you that was really fast. I can catch up with all my backed up homework now. Im stuck in bed with a busted leg and a MBP so it kind of cancles eachother out. The suckiness of the busted leg and the awsomeness of the macbook pro.
  • Reply 3 of 20
    is xcode similar to borland, i have been using borland for c++ and eclipse for java. I need something simple cause im just learning c++.
  • Reply 4 of 20
    I'm not sure.
  • Reply 5 of 20
    pbg4 dudepbg4 dude Posts: 1,611member
    Will eclipse run on your MBP?
  • Reply 6 of 20
    is xcode for java or c++ kind of got confused on the reading it said just for making programs for Mac OS X
  • Reply 7 of 20
    not sure i havnt tried eclipse yet, im reading about xcode and it says it does everything on wikipedia.



    http://en.wikipedia.org/wiki/Xcode
  • Reply 8 of 20
    sorry i forgot to ask this one, i need a program that will play all video files including wma and divx.
  • Reply 9 of 20
    mr. memr. me Posts: 3,219member
    Quote:

    Originally posted by Andrew266

    is xcode for java or c++ kind of got confused on the reading it said just for making programs for Mac OS X



    Xcode allows you to program in any number of languages, including AppleScript, Objective-C, C++, and Java out of the box.
  • Reply 10 of 20
    Quote:

    Originally posted by Andrew266

    sorry i forgot to ask this one, i need a program that will play all video files including wma and divx.



    VLC
  • Reply 11 of 20
    Sorry about the leg- I wore a cast on my leg for 6 weeks when I was 13 (knee injury) and all I got was half a gallon of ice cream. Since that was in 1957 the only notebooks available were made of paper.



    Since the MPB will be the center of your world there is a site you might check out (http://osx.hyperjeff.net/Apps/) which has close to 15,000 OS X apps and notes the ones that are Universal. Everything from free ware to full commercial apps. You leg will be healed by the time you get through the full list.
  • Reply 12 of 20
    thats an awsome list. Any suggestions on a simple C++ program. Xcode seems very good but is a little much for me at my level.
  • Reply 13 of 20
    mr. memr. me Posts: 3,219member
    Quote:

    Originally posted by Andrew266

    thats an awsome list. Any suggestions on a simple C++ program. Xcode seems very good but is a little much for me at my level.



    CPP Edit
  • Reply 14 of 20
    Quote:

    Originally posted by Andrew266

    thats an awsome list. Any suggestions on a simple C++ program. Xcode seems very good but is a little much for me at my level.



    If you're starting with Xcode, try creating a new project with the C++ Tool template. That'll make a standard command line app, which is what most C++ tutorials start out on.



    After a week or so playing with that, I'd recommend switching over to Objective-C, which is only about ten billion times better than C++, and far quicker to get started for GUI apps. There's two really good sites for Objective-C:



    http://cocoadevcentral.com/ has excellent tutorials

    http://cocoadev.com/ is a wiki that's more of a reference / checking out quirky bugs in Cocoa



    (Cocoa, by the way, is the API, or library, that Objective-C apps use).



    edit: If you don't have one, I'd get a book on C or C++. You won't need a book for Objective-C, with the exception of some finer details, Objective-C is very self explanatory once you have some C basics.



    Also, make sure you learn about pointers, which is probably the most difficult C concept for beginners yet are used almost exclusively in Cocoa.
  • Reply 15 of 20
    I got a book by lafore but when i code like the book i get alot of errors for cout statments and using endl not to sure why. I included iostream.h and conio.h anything else is needed? Also i have been thaught to use main as a void and it seems not to like that
  • Reply 16 of 20
    Quote:

    Originally posted by Andrew266

    I got a book by lafore but when i code like the book i get alot of errors for cout statments and using endl not to sure why. I included iostream.h and conio.h anything else is needed? Also i have been thaught to use main as a void and it seems not to like that



    Crap, I know thats wrong, but I forget exactly whats right. You need to use just iostream. After that, you put "using namespace std;" if i'm not mistaken.
  • Reply 17 of 20
    pbg4 dudepbg4 dude Posts: 1,611member
    You can either use the "using namespace std;" line, or code your cin/cout/endl like so:



    std::cin

    std::cout

    std::endl



    You can also type



    using std::cin;

    using std::cout;

    using std::endl;



    Then you'll only have to type in cin/cout/endl in your code, but the "using namespace std;" is probably cleaner although it will allow the rest of the std namespace functions to be called without a global scope identifier.
  • Reply 18 of 20
    i got the cin and cout functions to work without a hitch. Im just learning inhertince in c++ and its a bit weird to me. I have a fraction calculator made up for a project and im supposed to add 2 classes that inhert from the fraction class. It inhertis fine but it wont allow me to edit the orginal numerator and denominator. it keeps saying they are private even though the inhertance is public. ill attach my source. I ahve to have an invert fraction in NF1 class and a square fracticon in NF2. Also a welcome command with a change in a heading depending in what class you are in. Youll see what it all means in the source. It will be a great help if you guys can help me with this.



    The main reason i came here is to talk about Dreamweaver and Photosohp under Roseta.



    Photoshop runs pretty good under Roseta with a 1gb of ram i have no problem with it. Indesign takes a lot longer to load than photosohop. Im going to upgrade to 2gb of ram soon so i believe that should be fine after that.



    Dreamweaver runs pretty sluggish with 1gb of ram. the menus are slow but the actual runs fine under code and design view. Hopefully should be better with 2gb of ram.
  • Reply 19 of 20
    //************************************************** ********//

    // Program Name:Fraction Calculator **//

    // Functionis: Fractions Using Classes\t\t\t\t\t **//

    // Input:User inputs 2 fractions and an operator **//

    // Output:Answer to Equation and Simplified fraction **//

    //************************************************** ********//

    // Compiler Directives

    #include <iostream.h>

    //#include <conio.h>





    class Fraction

    { private:

    double numerator;

    double denominator;



    public:

    Fraction();

    Fraction(int num, int den);

    Fraction add(Fraction f1);

    Fraction sub(Fraction f1);

    Fraction mult(Fraction f1);

    Fraction div(Fraction f1);

    int gcd(int num1, int num2);

    void simplify();

    void display() const;

    //----------------------------------------------------------------------------//

    // Over Loaded Operators //

    //----------------------------------------------------------------------------//



    \t\t\t\t\tFraction Fraction:: operator +(Fraction f1);

    \t\t\t\t\tFraction Fraction:: operator -(Fraction f1);

    \t\t\t\t\tFraction Fraction:: operator *(Fraction f1);

    \t\t\t\t\tFraction Fraction:: operator /(Fraction f1);

    \t\t\t\t\tFraction Fraction::operator ++(int); //postfix

    \t\t\t\t\tFraction Fraction::operator ++(); //prefix

    \t\t\t\t\tFraction Fraction::operator --(int); //postfix

    \t\t\t\t\tFraction Fraction::operator --(); //prefix

    \t\t\t\t\tbool Fraction::operator ==(Fraction f1);

    \t\t\t\t\tbool Fraction::operator <(Fraction f1);

    \t\t\t\t\tbool Fraction::operator >(Fraction f1);

    \t\t\t\t\tbool Fraction::operator <=(Fraction f1);

    \t\t\t\t\tbool Fraction::operator >=(Fraction f1);

    \t\t\t\t\tbool Fraction::operator !=(Fraction f1);

    \t\t\t\t\tFraction::operator float();



    //----------------------------------------------------------------------------//



    //----------------------------------------------------------------------------//



    void heading();

    void welcome();



    };



    class NF1: public Fraction {



    public:

    void heading();

    void invert();

    };



    class NF2: public Fraction {



    public:

    void heading();

    void square();

    };



    int main(){ // start main

    int op, op1;

    bool ans;

    Fraction test1(1,2);

    Fraction test2(1,4);

    Fraction test3=test1;

    NF1 test4;

    NF2 test5;



    test4.display();



    cout << "1) Normal Fracition program" << endl << "2)New Fraction Program 1" << endl

    << "2) New Fraction Program 2" << endl << "Please Enter the number of the program you would like to execute: ";

    cin >> op1;







    switch(op1){

    case 1:

    test1.welcome();

    cout << "1) Use the ' + ' operation " << endl

    << "2) Use the ' - ' operation " << endl

    << "3) Use the ' * ' operation " << endl

    << "4) Use the ' / ' operation " << endl

    << "5) Use the ' ++ Postfix ' operation " << endl

    << "6) Use the ' ++ Prefix ' operation " << endl

    << "7) Use the ' -- Postfix ' operation " << endl

    << "8) Use the ' -- Prefix ' operation " << endl

    << "9) Use the ' == ' operation " << endl

    << "10) Use the ' < ' operation " << endl

    << "11) Use the ' > ' operation " << endl

    << "12) Use the ' <= ' operation " << endl

    << "13) Use the ' >= ' operation " << endl;



    cout << "Enter a value for your choice: ";

    cin >> op;



    switch(op)

    {



    case 1:

    test3 = test1 + test2;

    test3.simplify();

    break;



    case 2:

    test3= (test1 - test2);

    test3.simplify();

    break;



    case 3:

    test3 = (test1 * test2);

    test3.simplify();

    break;



    case 4:

    test3= (test1 / test2);

    test3.simplify();

    break;



    case 5:

    test3= test1++;

    test3.simplify();



    break;



    case 6:

    test3= ++test1;

    test3.simplify();

    break;



    case 7:

    test3 = test1--;

    test3.simplify();

    break;



    case 8:

    test3= --test1;

    test3.simplify();

    break;



    case 9:

    if (test1 == test2)

    ans = true;

    cout << ans;

    break;



    case 10:

    if (test1 < test2)

    ans = true;

    cout << ans;

    break;



    case 11:

    if (test1 > test2)

    ans = true;

    cout << ans;

    break;



    case 12:

    if (test1 <= test2)

    ans = true;

    cout << ans;

    break;



    case 13:

    if (test1 >= test2)

    ans = true;

    cout << ans;

    break;



    case 14:

    if (test1 != test2)

    ans = true;

    cout << ans;

    break;



    default:

    \tcout << " Thank you for using this fraction program" << endl;

    }

    break;



    case 2:

    test4.welcome();

    test4.invert();

    break;



    case 3:

    test5.welcome();

    test5.square();

    break;

    default:

    cout <<" Goodbye ";

    }



    return(0);

    // getch();



    } // end main



    \tFraction::Fraction()

    { numerator = 1.0;

    denominator = 2.0;

    }



    \tFraction::Fraction(int num, int den)

    { numerator = num;

    denominator = den;

    }



    \tFraction Fraction::add(Fraction f1) {

    Fraction temp;

    temp.numerator = (numerator * f1.denominator + denominator * f1.numerator);

    temp.denominator = denominator * f1.denominator;

    return temp;

    }



    \tFraction Fraction::sub(Fraction f1) {

    Fraction temp;

    temp.numerator = (numerator * f1.denominator - denominator * f1.numerator);

    temp.denominator = denominator * f1.denominator;

    \treturn temp;

    }



    \tFraction Fraction::mult(Fraction f1) {

    Fraction temp;

    temp.numerator = numerator * f1.numerator;

    temp.denominator = denominator * f1.denominator;

    return temp;

    }



    \tFraction Fraction::div(Fraction f1) {

    Fraction temp;

    temp.numerator = numerator * f1.denominator;

    temp.denominator = denominator * f1.numerator;

    return temp;

    }



    \tint Fraction::gcd(int num1, int num2) { // Find the greatest common divisior using Euclid's Algorithim

    int temp;

    while (num2 != 0) {

    temp = num2;

    \t num2 = num1 % num2;

    \tnum1 = temp;

    \t }



    \t return num1;

    \t}



    \tvoid Fraction::simplify(){

    int num = numerator;

    int den = denominator;

    int div;

    div = gcd(num,den);



    if (div==1)

    \tcout << endl << "Your fraction can not be simplified any further" << endl;

    else{

    \t numerator = numerator /div;

    \t denominator = denominator / div;

    \t cout << endl << "Your simplified fraction is ";

    display();}

    }



    \tvoid Fraction::display() const{

    cout << numerator << " / " << denominator;

    }



    //----------------------------------------------------------------------------//

    // Over Loaded Operators //

    //----------------------------------------------------------------------------//



    Fraction Fraction:: operator +(Fraction f1){



    int num = (numerator * f1.denominator + denominator * f1.numerator);

    int den = denominator * f1.denominator;

    return Fraction(num,den);}



    Fraction Fraction:: operator -(Fraction f1){



    int num = (numerator * f1.denominator - denominator * f1.numerator);

    int den = denominator * f1.denominator;

    \treturn Fraction(num,den);}



    Fraction Fraction:: operator *(Fraction f1){



    int num = numerator * f1.numerator;

    int den = denominator * f1.denominator;

    return Fraction(num,den);}



    Fraction Fraction:: operator /(Fraction f1){



    int num = numerator * f1.denominator;

    int den = denominator * f1.numerator;

    return Fraction(num,den);}



    Fraction Fraction::operator ++(int){



    Fraction temp(numerator,denominator);

    numerator = (2 * denominator + 2 * numerator);

    denominator = 2 * denominator;

    return temp;

    } //postfix





    Fraction Fraction::operator ++(){



    numerator = (2 * denominator + 2 * numerator);

    denominator = 2 * denominator;

    Fraction temp(numerator,denominator);

    return temp;

    } //postfix







    Fraction Fraction::operator --(int){



    Fraction temp(numerator,denominator);

    numerator = (1 * denominator - 2 * numerator);

    denominator = 2 * denominator;

    \treturn temp;} //postfix





    Fraction Fraction::operator --(){



    numerator = (1 * denominator - 2 * numerator);

    denominator = 2 * denominator;

    Fraction temp(numerator,denominator);

    \treturn temp;} //prefix





    bool Fraction::operator ==(Fraction f1){

    \tif(numerator == f1.numerator && denominator == f1.denominator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    bool Fraction::operator <(Fraction f1){

    \tif(numerator < f1.numerator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    bool Fraction::operator >(Fraction f1){

    \tif(numerator > f1.numerator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    bool Fraction::operator <=(Fraction f1){

    \tif(numerator <= f1.numerator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    bool Fraction::operator >=(Fraction f1){

    \tif(numerator >= f1.numerator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    bool Fraction::operator !=(Fraction f1){

    \tif(numerator != f1.numerator){

    \t\treturn true;// 1 is true

    }

    else{

    \treturn false;// 0 is false

    }

    }



    Fraction::operator float(){

    float ds;

    ds = (static_cast<float>(numerator)/(static_cast<float>(denominator)));

    return ds;

    }



    //----------------------------------------------------------------------------//



    //----------------------------------------------------------------------------//



    void Fraction::heading(){

    cout << "This is the Original Fraction Calculator" << endl;

    }



    void Fraction::welcome(){

    cout << "Welcome to the Fraction Calculator" << endl;

    heading();

    }



    void NF1::heading(){

    cout<<"This is New Fraction Calculatro 1" << endl;

    }



    void NF1::invert(){

    double temp;



    temp = numerator;

    numerator = denominator;

    denominator =temp;

    }



    void NF2::heading(){

    cout <<"This is New Fraction Calculator 2" << endl;

    }



    void NF2::square(){

    numerator = numerator * numerator;

    denominator = denominator * denominator;

    }
  • Reply 20 of 20
    http://www.macupdate.com for pretty much everything that will run on Macs of any flavour.



    Transmission rather than Azureus if you prefer speed to bells and whistles.
Sign In or Register to comment.