Live data from Hacker News

Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

codeblocks.org

31–40 of 48 posts

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#31

This is my second IDE after Dev-C++ [1] when I was taking basic programming course in my university. I prefer Code Blocks to Dev-C++ because it have good features, like code completion and syntax highlighter. The source code is easier to view in Code Blocks. [1]: http://www.bloodshed.net/devcpp.html

Add the fact that Dev-C++ is no longer maintained is also good reason to use Code Blocks.

<--- former Dev-C++ contributor

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#32
post #24

This is a very well maintained and mature open source project. But allow me to say that I absolutely loathe Code::Blocks. I am still at university and they make us use this for C++ editing. I have made it a point to not use it and instead have been doing all my university C++ lab work on gedit because I find it much less frustrating than Code::Blocks and also because I don't have the rights to install Emacs. The debu…

If you are using Linux, you can install emacs in your home folder using the --prefix=$HOME/EMACS option. If the system does not have the necessary headers/libs for the GUI version, you can build a terminal version using the --without-x option.

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#33
post #29

I'm not a C/C++ dev, so forgive my ignorance. Is Visual Studio [Community] not the standard anymore?

Not if you intent your code to be portable.

The devs here use VS to write C++ targeted to an embedded device running VxWorks. Their code may or may not be "portable," but it's not targeted to Windows.

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#34
I just installed it from my linux distro's package manager.

I started it from the command line, as I like to do with a new program. I was surprised to see not one windowing error, just administrative messages associated with the first run, and general setup. Sad to say that's unusual.

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#35
post #24

This is a very well maintained and mature open source project. But allow me to say that I absolutely loathe Code::Blocks. I am still at university and they make us use this for C++ editing. I have made it a point to not use it and instead have been doing all my university C++ lab work on gedit because I find it much less frustrating than Code::Blocks and also because I don't have the rights to install Emacs. The debu…

You don't have to be an admin to run emacs on Windows: To install Emacs, simply unpack the binary package into a directory of your choice. To complete the installation process, you can optionally run the program addpm.exe in the bin subdirectory. ... For instance, you can now run Emacs directly from a CD or USB flash drive without copying or installing anything on the machine itself. I used Code::Blocks maybe 6 years…

Installing Emacs is not the problem. Although I am on Ubuntu in my University, I can build from source. Its is setting everything up to my liking for a computer that I will only use a total of a dozen times that I don't want to do. Maybe I am too lazy :)

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#36
post #24

This is a very well maintained and mature open source project. But allow me to say that I absolutely loathe Code::Blocks. I am still at university and they make us use this for C++ editing. I have made it a point to not use it and instead have been doing all my university C++ lab work on gedit because I find it much less frustrating than Code::Blocks and also because I don't have the rights to install Emacs. The debu…

If you are using Linux, you can install emacs in your home folder using the --prefix=$HOME/EMACS option. If the system does not have the necessary headers/libs for the GUI version, you can build a terminal version using the --without-x option.

I know. See my reply to versteegen. I am just too lazy to do it as they erase everything after each semester.

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#37
post #35

Earlier quoted context omitted.

You don't have to be an admin to run emacs on Windows: To install Emacs, simply unpack the binary package into a directory of your choice. To complete the installation process, you can optionally run the program addpm.exe in the bin subdirectory. ... For instance, you can now run Emacs directly from a CD or USB flash drive without copying or installing anything on the machine itself. I used Code::Blocks maybe 6 years…

Installing Emacs is not the problem. Although I am on Ubuntu in my University, I can build from source. Its is setting everything up to my liking for a computer that I will only use a total of a dozen times that I don't want to do. Maybe I am too lazy :)

[deleted]

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#39
post #35

Earlier quoted context omitted.

You don't have to be an admin to run emacs on Windows: To install Emacs, simply unpack the binary package into a directory of your choice. To complete the installation process, you can optionally run the program addpm.exe in the bin subdirectory. ... For instance, you can now run Emacs directly from a CD or USB flash drive without copying or installing anything on the machine itself. I used Code::Blocks maybe 6 years…

Installing Emacs is not the problem. Although I am on Ubuntu in my University, I can build from source. Its is setting everything up to my liking for a computer that I will only use a total of a dozen times that I don't want to do. Maybe I am too lazy :)

Hmm, not sure why I assumed Windows. Probably because at the time I switched away from Windows to the liberation of the Unix commandline I never even thought of checking whether Code::Blocks or Dev-C++ ran under GNU/Linux.

I have a custom .emacs file (predicated to work on Windows/Linux/Mac and several emacs versions and including a function to install all the custom packages I need) and other config files like .bashrc in a git repo fr quick setup. Having to compile emacs yourself would be hugely frustrating though. I've never gone that far. I use TRAMP instead :)

Re: Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE

#40
post #36

Earlier quoted context omitted.

If you are using Linux, you can install emacs in your home folder using the --prefix=$HOME/EMACS option. If the system does not have the necessary headers/libs for the GUI version, you can build a terminal version using the --without-x option.

I know. See my reply to versteegen. I am just too lazy to do it as they erase everything after each semester.

> I am just too lazy to do it as they erase everything after each semester.

Write a script that does your reinstall. There's lazy-lazy and active lazy. As a programmer, it pays off to be actively lazy.

Or, you can make a Git archive of your home directory. So long as your university has good bandwidth, this means you often won't even have to reinstall.

Really, there's tons of things you can do.

Post reply on HN