Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What I'm looking for is an IDE that will run on Linux, that has support for C++ and x86 assembly syntax highlighting. I've already tried Code::Blocks, but that won't let me run the program as I need to, so that didn't work well.
My needs:
Able to compile programs by issuing a "make all" in a certain directory
Able to run programs by issuing a custom command instead of running a certain executable
Graphical (not vim/emacs/etc) and will run in GNOME/Fedora 14
What would be very helpful:
Git integration
Autoversioning (like Code::Blocks does)
Eclipse doesn't work for me, as it no matter what I set it tries to do an auto-build/error check of the entire program, using the wrong toolchain, and errors out everything, even if I disable CDT.
Assembly syntax highlighting is not a requirement but would be useful. It does, however, have to have C++ syntax highlighting.
EDIT: By "Graphical" I mean that I already tried vim/emacs some time ago, and found them too challenging to learn how to use in a short amount of time without loosing my sanity.
EDIT 2: The given editor should also store project files in just one file, as I don't want to have to "git add" a whole new directory each time the editor silently adds some file there.
What do you think about KDevelop?
Vim
Be sure to look at
C++ Omni Completion
ctags and TagList
I use ctags --exclude=packagedir -R --c++-kinds=+p --fields=+iaS --extra=+q .
cscope (here and here)
Simply the best editor and will work anywhere - including in your remote terminal under screen :)
Eclipse CDT
Eclipse can import existing makefile projects and will not clobber the makefile :)
Eclipses intellisense is nice
I use Eclipse HELIOS on linux. It supports
profiling,
memchecking with valgrind
GDB debugging, remote debugging
call graph visualization, comprehensive symbol XRef (the usual eclipse shortcuts apply), simple refactorings
coverage GCov
oprofile
...
It should be portable so I expect most of this to work on windows.
If you are willing to go the commercial route there is SlickEdit, which works on multiple platforms and with multiple languages (including the two you have mentioned).
http://www.slickedit.com/products/slickedit/
Today, the best IDE for assembler on LINUX is SASM. Official site of SASM
I think emacs is the best multi-language editor.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
A little background: for a while I've been using a free IDE for my C++ projects named CodeBlocks. Recently I've got a licence for Microsoft Visual Studio 2013 and I've got to say it's a completely different experience. The auto-complete is better, sensitive and accurate error checking as you're typing, a visual resource manager for MFC applications. And while these things you can get in pretty much any text editor with the right plugins, what I found especially appealing about MS Visual Studio is its very nice and visually appealing debugger (way easier to use and provides more information than the one in CodeBlocks).
I've been thinking for a while to switch over to a linux-based system since, to me at least, it seems to provide better tools for general purpose programming. However, I just can't bring myself to losing the MS VS debugger and going back to something like the one in CodeBlocks. I've been searching for various debuggers for linux but I can't really find one similar to the one in MSVS2013. Can anybody help me with this? What is a good debugger that I can use?
Functionality that I'm looking for:
an "Auto" watch tab/window which tracks variables that have been used recently or that are likely to be used, including a "this" pointer when inside class methods;
a "Locals" watch tab/window which tracks strictly local variables (without having to input them manually)
highlighting of variables that have changed when stepping from one instruction to another
being able to set multiple Watch windows/tabs and easily switch between them
being able to expand objects being watched in order to see their members' values
being able to easily see the values stored at addresses which watched pointers are pointing to
Well, you aren't short of options.
The classic Linux debugger - gdb - has a command-line gui based on ncurses which is activated by launching with the -tui argument. Admittedly it's a little bit basic compared to IDE integration, but it's incredibly powerful.
A stand-alone GUI for gdb called ddd is popular in certain circles. The interface isn't particularly modern, but it supports the full range of gdb capabilities.
If you're looking for an integrated development environment, then Jetbrains CLion is a relative newcomer but features reasonable gdb integration. If you're looking for a free alternative then Eclipse CDT is fairly well integrated.
My personal favourite option is a commercial plugin called VisualGDB which integrates VisualStudio with GDB, allowing you to compile and debug without leaving VisualStudio. It's quite flexible, and is actively supported and developed.
I used and loved DDD debugger (a GUI on top of the standard gdb) which felt very native and easy-to-learn coming from many years of MS VisualStudio environment.
You can do all those "standard" debugging tasks like drilling down into data structures with a mouse, setting breakpoints, inspecting variables, etc.
It is called Data Display Debugger and you can find more info on it at the GNU website which also includes screenshots so you can quickly judge if this tool is right for you:
http://www.gnu.org/software/ddd/
2017 edit:
The new MS Visual Studio 2017 (all editions, including the free one) now has a built-in Linux support which includes debugging Linux programs remotely with the MS VC's built-in debugger. That even includes the edit-and-continue support(!)
Here's a video that demonstrates this
You might use the GNU emacs editor to type -and even compile- your C++ code.
It can run the gdb debugger, the GCC compiler (for your C++ code you could invoke it as g++ -Wall -Wextra -g to get warnings and debug information), the GNU make build automation tool, the git version control tool, etc etc...
If you need a graphical interface for gdb outside of emacs consider xgdb or ddd.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Taking my first C++ class in college. I need to download C++ and my teacher gave us a direct link to download it, but it only works on Windows. Is there a way I can format it to work on my Mac or is there a Mac-friendly version I can download?
A compiler for C++ is already built into Mac (try g++ main.cpp in terminal). If you mean an IDE for C++, use Xcode 5, available in app store.
It's developed by Apple, has git integration too if that's useful to you. Also has templates and such available to entice you to work on OS X/iOS projects, which might be a nice way in for you (I'm just starting out too, and I think that could be good).
For command-line projects though, I find it best to write in Xcode, then compile and run from the terminal. It's easier for file I/O and passing arguments to stdin IMO.
You can utilize something called Xcode IDE to write your programs on C++, I have been using that for a quite a while now, and it's definitely fun. You can find the app from free on APP store or just by clicking the link below. This is one of the many things I like about MAC.
click here to get XCODE
On Mac, since you are just starting out, use XCode. Its a pretty neat IDE with built in C++ compiler so you can write C++, compile with a click and run.
I think you kinda have the wrong idea of c++.
C++ is a programming language and what you are asking about is a development environment.
For example Xcode is such an environment. Since I also have my favorite I would use Eclipse since it is useful for many other purposes too.
Eclipse C++ Download
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed last year.
Improve this question
is there any c++ compiler i can put on a usb or external harddrive and use it on any other computer? the school computjers in my library dont have an ide... or a compiler installed...
P.S the school computers are very tight on securty. i cant even download things from the internet, no websites like facebook, so can i install it on one of the computers? or can i just run it as the actual executable file and run it straight from my usb?
there are several computers with windows 7, and 3 imacs
I'd try Eclipse. And if it doesn't work straight away, try one of those USB-stick program-hosting softwares like U3 (it comes on some Sandisk thumb drives).
Code::Blocks can easily be made portable by setting custom environment variables, described here
At the back-end, C::B can use mingw, which doesn't require any specific install information other than a few environment variables. (namely PATH). These can be set temporarily using SET PATH=%PATH%;./mingw/, which should be possible without elevated privileges.
You might try some of the tools at portableapps.com. They're a group that modifies open source software to run off of USB sticks. I've used their versions of Notepad++, Gimp, and Filezilla for years.
In particular, maybe look at they're development tools: http://portableapps.com/apps/development
It looks like they even have some programs to make other apps portable as well, which you might try with Eclipse, as John suggested. (I think Eclipse may also just run off a USB stick without any modification.)
Dev-C++ might be a good choice if you only use Windows.
If you want an IDE that works in both Windows and Mac, you can choose Emacs, which is a very powerful text editor and is a part of the GNU project. But as it's only a text editor, you will need to download the C++ compiler yourself. MinGW might be a good choice in Windows. Since I have never used a Mac, I cannot give you more suggestion for the Mac environment. But as it's a Unix based system, I guess it has a C++ compiler itself.
What you're looking for is a portable c++ ide. Google gave me the following:
devcpp-portable
Netbeans portable config
But go through google to find more
There is portable code blocks.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
List all methods in a class, preferably with options to enable/disable methods from superclasses.
Option for a "go to source" once you select a variable.
I'm trying to use CGAL and I can't make sense of a whole lot from the documentation or the compiler errors, despite using as many flags as possible in GCC, so I downloaded the source code to take a look at it to try to see if I can find the methods I need. These two options would make things a lot easier.
When I used netbeans for Java it had both options, so maybe it'd have for C++ as well? Or am I expecting too much out of it? Or maybe another IDE would work better? I have no idea. Normally I just use gedit with make.
I recommend Eclipse CDT.
You can also try Code Blocks or Code Lite.
Every seems too lazy to post the KDevelop answer, so here it is.
None as good as Visual Studio. Options you may try: Eclipse with CDT, Anjuta, KDevelop, vim+ctags.
I usually use Eclipse with CDT plugin. I'm not sure it has all the features you ask for but you get most of Eclipse's power, for free, in c++
I personally dislike Eclipse with the CDT plugin. I would either use QtCreator or Netbeans. Both of these have the functionality you are looking for.
Netbeans and Eclipse both have poor C++ support, IMO. QtCreator is my personal favorite for Linux IDEs. (Well, after emacs ;) )
I think Codeblocks, Netbeans or Eclipse will do the job.
I would go for Codeblocks. It supports the features that you need and it is also extensible via plugins.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Should I use Visual C++ Express to write and compile or should I write in Notepad++ and compile it? I like using Notepad++ because of its clean interface and speedy start-up as compared to Visual which is a considerably heavier program.
If I do write in Notepad++ how do I compile it using Visual?
Can just compile via the command-line.
Visual Studio has intellisense, which makes coding a LOT easier. I mean, there's really no comparison.
For successful developing in C++, you need much more than just compiling:
linking
"solution" management(to a project usually belongs more than 1 file)
resource management (for icons, bmp menu etc..)
debugging
easy jumping into functions/classes
intellisense (autocompletion for method/classes)
You will make more errors, produce worse code and will learn slower, if you use a simple texteditor.
Do yourself a favor and start with visual studio (or any other IDE).
Later you can easily switch back to the basics (I doubt you will do that).
While it is possible to do all your work from the command line, it is easier to use Visual Studio's UI. It provide intellisense, easy configuration, integrated source debugging, searching, etc. Unless you are already an expert, I wouldn't recommend it.
If you are and you really want to use Notepad++, I would suggest using the Windows Platform SDK for a build environment (compiler + linker), and WinDbg for your debugger.
You can open up visual studio command prompt and run the command 'cl filename.c' to compile your program. However, this will help you only compile your program. If you want to debug it, you will have to open up a project under Visual Studio.
Notepad++ has less sophisticated tools management than some other text editors. For freely available alternatives, consider PSPad or ConTEXT. For paid alternatives, UltraEdit and EditPad Pro are nice.
All of them allow you to easily configure multiple external tools for compiling, building, etc.
If you really want to you can use both: you can let any solution item open in Npp: select 'Open With', then select to open the file with Npp and set this as default. This way, you'd use Npp for your editing needs, and still let VS manage the compiling/linking/.. No command line fiddling required.
That said, I use Npp as well, but apart from it's speed it's capabilities are nowhere near what VS offers, nor it's as customizable, and you can easily have VS look as clean as Npp.