Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Good c++ application?

Options
  • 04-09-2008 8:32pm
    #1
    Registered Users Posts: 6,557 ✭✭✭


    Hi. Using borland c++ in college, it seems okish.

    Can anyone recommend anything better, or where I can download it?

    I'm sure there's plenty of compilers that are free?


    Cheers


«1

Comments

  • Closed Accounts Posts: 580 ✭✭✭karlr42


    The GNU gcc compiler? Easy to get hold of on Linux or Unix


  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    Cheers, running windows though!


  • Closed Accounts Posts: 580 ✭✭✭karlr42


    GrumPy wrote: »
    Cheers, running windows though!
    No problem!
    And you'll get cygwin, really handy


  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    karlr42 wrote: »
    No problem!
    And you'll get cygwin, really handy


    Thank you kind sir, I shall give it a whirl!


  • Closed Accounts Posts: 891 ✭✭✭conceited


    Gcc has nothing on intels or microsofts compilers.

    http://www.intel.com/cd/software/products/asmo-na/eng/compilers/284132.htm

    http://msdn.microsoft.com/en-us/visualc/default.aspx
    I still use gcc though !

    But not free :D.


  • Advertisement
  • Registered Users Posts: 1,512 ✭✭✭stevire


    We had Borland in college too, but found Dev-C++ to be much better... (and its free!!) If using it in college you can install it on your shared drive or a usb key.

    Link: http://www.bloodshed.net/devcpp.html


  • Closed Accounts Posts: 225 ✭✭marktsang


    bloodhound devC++ is what i use, im only a beginner but its easy to setup and fast to use from what i can tell.

    it uses the GCC (GNU Compiler Collection) as its compiler

    mark


  • Closed Accounts Posts: 13 Deserved


    Try Microsoft Visual C++ 2008 Enterprise edition, it's completly free and IMHO the best.


  • Closed Accounts Posts: 5 unpure


    Best option by far.


  • Closed Accounts Posts: 46 FDuff


    Deserved wrote: »
    Try Microsoft Visual C++ 2008 Enterprise edition, it's completly free and IMHO the best.

    you surely mean the Express edition, that one is free :) and you can get quite a lot done with it. Check out the M$ website for the differences in versions.


  • Advertisement
  • Registered Users Posts: 2,191 ✭✭✭Feelgood


    Yep Bloodshed or Dev C++ is the sh1t alright....


  • Hosted Moderators Posts: 7,486 ✭✭✭Red Alert


    Bloodshed's the best, but I've had some hassle using it on some 64-bit machines.

    Eclipse will also do C/C++ but I think you may have to install the command line GNU compiler separately, not sure on that one.


  • Closed Accounts Posts: 5 unpure


    Red Alert wrote: »
    Bloodshed's the best, but I've had some hassle using it on some 64-bit machines.

    Eclipse will also do C/C++ but I think you may have to install the command line GNU compiler separately, not sure on that one.


    Really?
    I'm on 64-bit and it compiles and runs fine...
    What version are you running?
    (If you want I can give you mai config. of something...)

    [I have V. 4.9.9.2...]


  • Closed Accounts Posts: 23 se51


    I recommend:

    Code:Blocks
    http://www.codeblocks.org/


  • Registered Users Posts: 467 ✭✭askU


    Feelgood wrote: »
    Yep Bloodshed or Dev C++ is the sh1t alright....

    Bloodshed is best- I agree!!


  • Closed Accounts Posts: 13 Deserved


    Try to run this on Bloodshed:

    void main()
    {
    cout << "Hi";
    }


    Why it's not working?


  • Registered Users Posts: 467 ✭✭askU


    cout is nor=t a valid comand for bloodshed

    try:

    #include <stdio.h>
    int main(void)
    {
    printf("Hi");
    getchar(); getchar();

    return 0;
    }


  • Closed Accounts Posts: 13 Deserved


    It's a valid command:

    #include <iostream>
    using namespace std;
    int main()
    {
    cout << "Hellow world";
    return 0;
    }

    But not for:

    #include <iostream>
    using namespace std;
    void main()
    {
    cout << "Hellow world";
    }


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Deserved wrote: »
    It's a valid command:

    #include <iostream>
    using namespace std;
    int main()
    {
    cout << "Hellow world";
    return 0;
    }

    But not for:

    #include <iostream>
    using namespace std;
    void main()
    {
    cout << "Hellow world";
    }
    Well in C anyways having a void main function is strictly in correct as it should return some return value back out to the console. Thats what I like with Dev Cpp, doesn't allow you to do stuff that shouldn't be allowed.

    Some C compilers allow it. Now I'd put my money that C++ has the same - do not use Void mains!

    FYI: http://www.eskimo.com/~scs/readings/voidmain.960823.html
    askU wrote:
    try:

    #include <stdio.h>
    int main(void)
    {
    printf("Hi");
    getchar(); getchar();

    return 0;
    }

    We're talking C++ here, not C :)


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    Webmonkey wrote: »
    Well in C anyways having a void main function is strictly in correct as it should return some return value back out to the console. Thats what I like with Dev Cpp, doesn't allow you to do stuff that shouldn't be allowed.

    We're talking C++ here, not C :)

    Yeah you're right, see here:

    http://www.research.att.com/~bs/bs_faq2.html#void-main


  • Advertisement
  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    Have bloodshed thingy installed. Seems nice in terms of GUI, but it wont run any successfully compiled program. I am running vista btw. I have linux on dual boot, and I cant seem to get any compiler working :o

    (It's not my bad coding if that's what your thinking) :D


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    GrumPy wrote: »
    Have bloodshed thingy installed. Seems nice in terms of GUI, but it wont run any successfully compiled program. I am running vista btw. I have linux on dual boot, and I cant seem to get any compiler working :o

    (It's not my bad coding if that's what your thinking) :D
    What's happening that it won't compile? - Also what is gcc saying in linux? - Strange neither work


  • Closed Accounts Posts: 1,567 ✭✭✭Martyr


    pelles C is good too


  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    Well I never got any to work in either ubuntu or windows vista!

    But that's not the worst part, my laptop died. So I am using an acer netbook with "Linpus Linux Lite v1.0.7.E"

    Anyone got advice howto get a c/c++ compiler working on this?!


  • Moderators, Technology & Internet Moderators Posts: 11,016 Mod ✭✭✭✭yoyo


    If your in DIT just zip the BCC55 folder up (Type C: in the my computer in lab), send to your email, download when you get home, extract BCC55 folder to C:\ drive, create shortcut to the .bat (startBC.bat) file in the folder on desktrop and you have the same ide as used in college, if you like I'll throw it on rapidshare*

    *Perfectly legal, DIT seem to use the free Borland Compiler and the open source Scntilla? editor, just the BAT file makes it possible to compile within Scntilla

    Nick


  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    yoyo wrote: »
    If your in DIT just zip the BCC55 folder up (Type C: in the my computer in lab), send to your email, download when you get home, extract BCC55 folder to C:\ drive, create shortcut to the .bat (startBC.bat) file in the folder on desktrop and you have the same ide as used in college, if you like I'll throw it on rapidshare*

    *Perfectly legal, DIT seem to use the free Borland Compiler and the open source Scntilla? editor, just the BAT file makes it possible to compile within Scntilla

    Nick



    Nice one. Do that if ya can! But will it work on my new "Linpus Linux Lite OS"?


  • Moderators, Technology & Internet Moderators Posts: 11,016 Mod ✭✭✭✭yoyo


    GrumPy wrote: »
    Nice one. Do that if ya can! But will it work on my new "Linpus Linux Lite OS"?
    Not sure but it will work on windows xp/vista :)

    http://rapidshare.com/files/146943678/borlandc__.rar

    ^^ Link to Borland C++ compiler, To install:
    Download winrar (I guess you know this)
    Extract the BCC55 folder to C:\ drive (Directory could be changed, but make sure changes are specified in the startbc.cmd file)
    Create desktop shortcut to StartBC.cmd
    Test it :)

    Nick


  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    GrumPy wrote: »
    But that's not the worst part, my laptop died. So I am using an acer netbook with "Linpus Linux Lite v1.0.7.E"

    Anyone got advice howto get a c/c++ compiler working on this?!


    Anyone?


  • Closed Accounts Posts: 580 ✭✭✭karlr42


    If it's linux it should have gcc installed or available. Type gcc into a terminal and see what you get


  • Advertisement
  • Registered Users Posts: 6,557 ✭✭✭GrumPy


    karlr42 wrote: »
    If it's linux it should have gcc installed or available. Type gcc into a terminal and see what you get

    Thanks. But how do I pull up terminal? Sorry, I am new to Linux.


Advertisement