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 using OS X Lion, using C++. I've set the dialect to C++11, and the standard library to libc++. In Visual C++, I've heard about the windows.h library and the operations that can be performed with it (such as popping up windows), and was wondering if there were any similar libraries for Mac, and where I can learn about them. I have searched quite a bit, but to no avail.
You're probably looking either at Carbon (which is now obsolete) or Cocoa, which is a modern Objective-C API. You're best off using a combination of C++ and Objective-C to make a graphical app for OS X so you can use the Cocoa library.
Take a look at this related question for more information.
You can use Cocoa Objective-C api or you can use cross-platform c++ solutions, such as Qt or wxWidgets
Related
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 a cross platform gui library that emulate metro style look ?
if not, i wonder if you guys can provide me with a cross platform gui library that is customizable.
i tried SFGUI, its good but still in development and very bugy.
If you don't mind switching to another language, I suggest the C# and WPF that allows such customizations.
If you want to stick to C++ try the ones by Embarcadero C++Builder and their Firemonkey API(Its cross platform too) or my favorite Qt from Nokia
My other suggestion would be to use a Webkit control and build the metro style UI in HTML/CSS/Javascript instead.
There are many ways to do what you want to achieve.
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.
In Windows API there are a big set of methods for manipulating of paths and URLs at Shell Path Handling Functions. The functions include helpers like PathAddBackslash, PathCanonicalize, PathCombine, and PathIsDirectory.
The question is: are there any Posix provided functionality or Linux-based library that gives analogous functionality? That is, simplifies paths combination, canonicalization, parsing, as well as URLs parsing?
I know that it is possible to write such functions with C++ (not small but not complex job), but my question is: are there any ready "official" libraries on Linux that already have similar functionality?
I am quite happy with boost_filesystem. Best part of it is that it is cross-platform, so it also works on Windows.
Another possibility is leveraging the capabilities of Qt or GLIB (GTK+).
Finally, most path-mangling operations are already in the POSIX standard and available out-of-the-box. For an example see the manpage of basename(3), dirname(3):
http://www.kernel.org/doc/man-pages/online/pages/man3/dirname.3.html
You could also use POCO C++ libraries, take a look here:
http://pocoproject.org/features.html
And here you could find more on filesystem api:
http://pocoproject.org/slides/080-Files.pdf
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.
So, I have started C++ (I already know java) but now I'm ready for windowed applications. I'm guessing win32 is what I what to start with, but my problem is, where to start learning this or is win32 not what I want to use.
There are many GUI libraries for C++ which supports windows:
Gtkmm (Gtk+ bindings for C++)
SmartWin++
V C++ GUI
FLTK
QT
These are the ones taken from stroustrup faq (Why doesn't C++ have a GUI?) and there is also wxWidgets. just pick the one you like.
If you want to do windowing, QT is your best choice in C++. win32 is just too low level these days.
Microsoft actually wants everyone to write touchscreen Windows 8/WinRT apps using the latest tools.
Check out the code gallery at http://code.msdn.microsoft.com/windowsapps/
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.
For Java there is Swing and Eclipse + Window Builder. Is there anything similar for C++ ? Any suggestions of tools or starting points ? Thanks.
UPDATE: I use Mac OS X but any suggestions are welcome
Take a look here. Qt is a C++ cross-platform library. I think that you will find it suitable for your needs. In the given link, you can find many other suggestions (like using Mono), GTK# (those are using C#), but in general, for C++, people usually suggest Qt or GTK (take a look at all posts and comments there).
Microsoft Visual Studio is not bad. It has an interface builder, with all the run-of-the-mill buttons and things like that. Here it is: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
Under the Windows platform, you can use Microsoft Visual Studio.
QT is a cross-platform, under Windows and Linux.
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 9 years ago.
I want to use Intel Threading Building Blocks (TBB) in Linux. Can anyone suggest a good IDE for that and possibly any steps to integrate TBB with that IDE?
Thanks,
Rakesh.
As long as I know TBB is a set of C++ libraries which purpose to handle task of parallelization of code. So there is no need in any integration(exactly as you using STL) and you can use whatever IDE you wish, e.i. Eclipse, KDevelop and more.
TBB is just a library, you can use it along with any C++ IDE. All you need to do is to set the include directory for the TBB installation.