Good refactoring support for C++ [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
The Visual Studio refactoring support for C# is quite good nowadays (though not half as good as some Java IDE's I've seen already) but I'm really missing C++ support.
I have seen Refactor! and am currently trying it out, but maybe one of you guys know a better tool or plugin?
I've been working with Visual Assist X now for a week or two and got totally addicted. Thanks for the tip, I'll try to convince my boss to get me a license at work too.
I've been bughunting for a few days since Visual Assist X kept messing up my Visual Studio after a few specific refactorings, It took me (and customer support) a week to hunt down but let's say for now that Visual Assist X is not a good combination with ClipX.

Visual Assist X by Whole Tomato software is not free, but it's absolutely worth the money if you use Visual Studio for C++.
http://www.wholetomato.com/

I have tried Refactor!, as its features seemed promising, as did its testing with a simple testing project, but it failed to work with our real project at all - a lots of CPU activity, sometimes even frozen VS IDE, Refactoring UI not appearing at all for most of the code.
We are using Visual Assist X instead. While it does not offer than many refactorings and it seems to me somewhat more complicated to use, it works.

I didn't find this post and created another one. There is a great response about VS2010 there.
If you are like me, who wishes VS2010 comes with C++ refactoring support, please visit my Microsoft Connect ticket and vote for it. Hopefully with enough votes, MS may give it a higher priority.

Mozilla's Taras Glek worked the last year or two on C++ analysis and code rewriting tools. His blog is at http://blog.mozilla.com/tglek/, you can find links to the tools they created there. They are of course free and open-source. No GUI, but I thought I'd link it in case it's interesting to anybody.

If you like emacs then Xrefactory is a good choice.

I'm not familiar with the tools you mentioned but the refactoring support for C++ in Eclipse 3.4 is getting pretty useful and growing.

Related

C++ IDE with Best Hints, autocomplete or autofill [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm moving from MAC/XCode C++ developing to Windows platform (please stop asking why?)
I have been programing in XCode for a while and I noticed that it has an amazing hints and autocomplete assistant.
Now in Windows... I feel I'm back to the 80s, I already tried NetBeans, Visual Studio 2012, Dev++, Eclipse... all garbage, to say the least.
They can't even hint or autofill a local var or a local class method, I need to type again every single word, I miss so much real time parsing in XCode.. sniff.
Any "hint"? Or pluging that I may check out?
I also prefer QtCreator to Visual Studio, but if you add the Wholetomato Visual Assist plugin to Visual Studio then it becomes much better.
I'm comfortable with QtCreator, but it gives the best developing Qt specific code.
To be true, I worked a lot in Visual Studio, til 2010, and autocompletion etc worked, a bit slowly. If you consider it garbage, maybe you will dislike QtCreator as well.
I think you need to check more the Refactoring capabilities of Eclipse, Netbeans and Visual Studio, or you can edit Templates of new types .

Which compiler is best for someone who just started learning C++? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have started learning C++. Which compiler do I choose ? I am using Windows 7. Though i have been using Turbo C++, many people suggest that it is not a good compiler to use.
You may want to try clang. They focus a lot on expressive diagnostics, which may be especially useful to beginners. However, I am not sure how far along they are, and if any important feature are missing yet.
Visual Studio. Free editions are available as well. The compiler is integrated into an IDE, which is the most complete and intuitive around.
http://www.microsoft.com/germany/express/download/default.aspx
I would always recommend Visual Studio- it has the best debugger and you're gonna need a lot of said debugger.
If you are on linux, g++ (gcc) would be an good choice.
In windows I personally would prefer Visual Studio Express, but you could use g++ here too. Thats more an personal choice which IDE / compiler you prefer, as they all should fit your needs.

Good software for software planning? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there software that can help create flow charts, class diagrams etc to help software development planning.
Thanks
You can create all kinds of charts and diagrams with something like Microsoft Visio or the open-source Dia.
If you want to auto-generate things like this, take a look at using a UML-based tool. A list of some UML tools is available here.
As a open-source fan and contributor, I tried Dia on Ubuntu, but it was way too clumsy for what I needed to do. One thing I wanted to do was get raster or vector snapshots of fairly complex multi-page diagrams and put them in a wiki page, and Dia really couldn't cope with that - the fonts went all wonky and so on.
If you try Dia and find it doesn't work for you, and you have access to a Mac, try OmniGraffle. It's pretty slick.
I use Graphviz in conjunction with doxygen. Search for both on Stack Overflow, there are lots of tips,such as this page.
In particular, as a highly-iterative developer, I really like that the diagrams I create with Graphviz are stored in a simple textual fashion and so can be included in version control and diff nicely.
There's a very nice iPad/iPhone version of Graphviz called Instaviz which allows you to exchange diagrams with your desktop machine and tweak them on the pad.
We used Rational Rose in class to do that. It also does much more:
http://www-01.ibm.com/software/awdtools/developer/rose/
I use this Software Ideas Modeller, or rather, used to before everything was built into Visual Studio (Ultimate with the many plugins that are available for it).

C++ SQL database library comparison [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am starting development on a medium-scale C++ project that has to work with a Microsoft SQL Server database. I have done database work before using .NET technologies but I don't find using a .NET approach to be appropriate this time. I would like to get some feedback concerning the various free (as in GPL, LGPL, Boost) C/C++ SQL libraries available. I found MySQL++ and SOCI to be pretty interesting and I would like to know which one you guys prefer and why.
Also, although this project will primarily be run on Windows workstations, I prefer developing under Linux so cross-platform compatibility is an advantage.
I can highly recommend OTL.
Not only does it support all major DBs, it's also very STL-ish and is generally written according to to proper C++ methodology (IMO). It worked for me just fine on VC8 (I used the MySQL ODBC connector).
Moreover, it's a one-header library. So there's no linkage issues or anything. Just include the header and you're done. You're 3 lines of code away from querying a MySQL table.
I've used it over the past few months, and also had a good experience communicating with its developer, asking questions, etc.
I recommend SQLAPI++. It's shareware so you can try it for free and the support is excellent. Works for Windows and Linux.

C++ OpenSource project for beginner programmer? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I`m a beginner C++ programmer. And I want to pursue my career in system- and driver-programming.
Can you suggest me an opensource projects to I improve my skills in low-level development?
I am looking for a project with the following characteristic:
- on C\C++ language based
- a small project with a small amount of code, yet
- UNIX-based systems designed
Do you know that something like this?
Check the google summer of code projects page! These are all open source, and many of them are based on C/C++. Each project lists ideas that are aimed at outsiders / beginners.
Here is last year's page: http://code.google.com/soc/2008/ Google has not yet decided on which projects are participating this year, but this information will become available within the next couple of weeks (before the end of march 2009) along with a fresh list of ideas.
If you're a student in a College/University you can get lucky and even get mentoring through the GSOC project. But even if not, they will really value any contribution you can make.
Always work on open source projects that you actually use and care about. If you don't use the project yourself, why should you do good work on it?
What about Minix 3? It's a great way to learn about low level programming.
Start your own open source project.
Host it on Google Code
Make something does something great or makes something else easier to use
Use it and iterate it
Along the same lines as Sourceforge Help Wanted, there's a website called OpenHatch.org that lists bugs from open source projects that need attention as well as potential mentors. In particular, you can browse for bitesized bugs that might be a good place for a beginner to start.
Have you tried sourceforge's help wanted?
Edit: And as a personal suggestion, I'm not sure it fits your requirements, but the transmission bittorrent client needs an implementation of Kademlia DHT in C, which is pretty low level networking.