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
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I don't intend this to be an opinion question and I am deliberately avoiding the word "best" for that reason. To frame my question differently;
Is there a fully C++11 compatible Open Source and free (as in free speech, beer and lunch, not as in Express, Lite, Demo, etc.) IDE that provides stable syntax and error highlighting a la IntelliSense, that works out of the box with C++11, or at least with a minimal, easy to follow amount of work?
I am asking this question because I really like the VS2012 environment but have become frustrated with the lackluster degree of C++11 compatibility, and my license is due to expire anyway.
Have you tried the "Visual C++ Compiler November 2012 CTP" update? It adds support for several features (most notably variadic templates) to VC11. The library is not there, and this compiler update is not considered production-ready, but I've found it to be great for working on my projects and using C++11 code till the final product comes out.
Also, I have used Qt Creator (quite independent from the Qt toolkit) for GCC-based C++11 development and it's a great IDE.
First: it's not (mainly) the IDE that needs the C++11 Support, but the compiler. That being said - here are some options:
it is possible to integrate clang into VS2012 (check here: https://github.com/ishani/ClangVSx)
You can use any IDE that supports MINGW as compiler (Windows-GCC-Port) e.g. Eclipse CDT, QT Creator, Code::Blocks, DevCpp
You can use any IDE that supports Clang as compiler (e.g. Code::Blocks)
According to http://www.codelite.org/LiteEditor/ClangIntegration, you can configure codelite to use Clang for code completion vs. gcc. So depending on the IDE, the compiler might provide things like code completion.
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.
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.
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
I'm looking for free and easy GUI framework that let me create single exe
without dependency (like .Net framework) and to be not GPL
as a side note .. im using Qt and its great but i have to be LGPL to use it that means lots of fat dlls . is there any alternative?
p.s
how did the Dropbox client made of? i know its python but how did they build it? py2exe?
LGPL != GPL. You don't have to make your code LGPL or even make it open to use the library that is covered by this license. It is clarified in this post.
So if LGPL is suitable, then I recommend gtkmm.
AFAIK you can link statically with it.
Another options is wxWidgets which has slightly more liberal license.
As stated here you can create
"an .exe application that will run on any Windows platform with no external dependencies that need to be supplied by the developer" with it.
Also to let you know that from January 14, 2009, Qt version 4.5 is available under LGPL in addition to GPL and commercial license (see here).
What about Win32++?
http://win32-framework.sourceforge.net/index.htm
http://www.codeproject.com/KB/winsdk/framework.aspx
Or WTL?
I found another topic that might interest you
I'm looking for free and easy GUI framework that let me create single exe without dependency (like .Net framework) and to be not GPL
There is no such thing. Three most popular frameworks Qt, GTKmm, wxWidgets are LGPL.
However you can link statically and provide full source code that allows user to replace/update the LGPL part you can do this as it confirms to LGPL requirements
(I'm not a lawyer - don't see this as legal advice).
Now .Net - has lots of dependencies they are just pre-installed.
Now I used to distribute programs with Qt, it was very simple, you need very few dll's. In my case there were: QtCore4.dll, QtGUI4.dll and mingwm10.dll (that is just part of mingw and not Qt). It is not such big problem, so even it is not a single exe but it is simple enough.
Otherwise... Use Win32API -- good luck :-)!
Edit: as it was correctly commented by #vitaut you may even provide compiled objects letting user link the code and replace the Qt version to keep with LGPL requirements.
Or use
http://smartwin.sourceforge.net/
Not specifically C++, but:
AutoIt scripts can be compiled to self-contained executables.
Also consider Free Pascal and the Lazarus IDE which appears to offer the same end-goal.