|
Yep...examples include boost::filesystem (a version of which will become std::filesystem in C++ 17), or boost::thread (which developed into std::thread in C++ 11).
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
Quote: It's not unheard of for something to start out as boost library; and then, at a later point in time, serving as the foundation for what makes it into the C++ standard library.
That's because the original purpose of Boost was as a "proving ground" for features to be added to the Standard library.
Truth,
James
|
|
|
|
|
.jpg wrote: The closest framework I know is Qt, but then Qt isn't open source. Since when? Qt - Download Open Source[^]
Jeremy Falcon
|
|
|
|
|
lol
"On 20 May 1995 Troll Tech publicly release Qt 0.90 for X11/Linux with the source code under the FreeQt license."
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
|
It does rather depend what type of functionality you are looking for.
Aside from the usual suspects (Qt, WxWidgets etc.) there is no single "framework", but there are some amazing cross platform libraries. For example, in addition to the Standard library and Boost, I can recommend POCO[^], STLSoft[^] and Xerces[^].
The biggest challenge is building and deploying them as there's no unifying build/deployment mechanism for C++ libraries (we use a bunch of custom scripts). However, there are a few package managers (e.g. Conda[^], Conan[^] or Pacm[^]) which are trying to make this easier.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
What's wrong with just using C++/CLI to use .Net?
|
|
|
|
|
I think looking for a single comprehensive library for C++ misses the point of C++. In fact, that is what spawned Java in the first place which captured popularity by offering automatic garbage collection which was not baked into C++. C# was merely a "me too" programming language to take on Java. But as Bjarne Stroustrup says in one of his books, there are a dozen such garbage collection libraries to be had in C++. The same goes for GUI libraries (eg, I use BCGSoft's GUI lib and not Qt). I also have an encryption lib I subscribe to. And for other parts of the code, I write my own managers that tend to look like library pre-cursors. But the main reason I use C++ exclusively is, I'm not beholden to a single corporation's fickleness. C++ is internationally standardized which means there are 100 Computer Science professors at any one time making dead sure the language is relevant, fast and correct. Each chosen library vendor I work with is chosen out of deep respect for their company's longevity and integrity of their product. The pennies I pay for their libs would have cost me dollars to write my self assuming I could.
modified 25-Mar-16 8:27am.
|
|
|
|
|
Yeah. What he said. A cross-platform library (for instance Java Swing) is always limited because it becomes the least common denominator of all the platforms it covers. A native library (like .NET) is locked to a single platform, often by design.
The success of the C++ standard library results from the very limited extent to which it depends on an underlying operating system. Most parts only require a memory allocator. A very comprehensive library would require much more support, making C++ less viable on embedded platforms. As it is now, you have a choice of several libraries, depending as you are willing to accept cross platform limitations or embrace a single target.
Win32 is a real solid and comprehensive library for C++. There, problem solved. Oh wait, I bet you wanted free and open source too. Yeah, there's another reason why there is no library. Who's going to spend millions to write it for you?
|
|
|
|
|
All the "comprehensive" libraries in other languages derive from c/c++ if not being just a wrapper around it. They do not offer anything beyond what c/c++ offers and sometimes offer less. The appeal of those languages stems from IDE that takes care of project management and often offer direct access to UI functionality. The problem arises if one needs platform/GPU computing access, anything more complex requiring native code or just plain control over code execution and memory management. In those instances native c/c++ shines.
|
|
|
|
|
I've grown quite fond of JUCE which is pretty much a library that covers most aspects you'd need. And cross platform, of course.
|
|
|
|
|
⎺⎻⎼⎽⎻⎴⎴⏜⏞⏠ (10)
Not that you actually need it but I'll confirm that the answer is DEPRESSION, the clue being an illustration of a depression in a surface followed by a number of downturned mouths.
Same bat-time, same bat-channel, tomorrow then.
I am not a number. I am a ... no, wait!
modified 24-Mar-16 11:34am.
|
|
|
|
|
Is it a normal British road surface these days?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: road surface
That's not an entirely useless comparison, as it happens.
I am not a number. I am a ... no, wait!
|
|
|
|
|
Slightly more useful than the roads, then.
I hit a pothole a few weeks ago and broke a suspension spring!
(And I was under the speed limit at the time as well)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
U. G. Leander wrote: degression
9B 0W (as I'm sure you know!)
I am not a number. I am a ... no, wait!
|
|
|
|
|
Now as you point at it, I know....and feel a little...how to say it...well...
...never mind
|
|
|
|
|
Cmon, you basically solved it
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
but I really didn't mean to!
...and I can't set it tomorrow because of Karfreitag (you know)
I already have won the CCC today and the same problem setting it tomorrow.
Would be too much...
|
|
|
|
|
Well, i know the problem
Just write someone he should solve it for you XD
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
would you?
|
|
|
|
|
I have to refuse, sorry
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Completely Useless Bacon Post of the Day:
(But seeing that I know how much people around here love BACON)
How about combining maths and bacon and make your very own Bacon Möbius[^]???
Seems like a lot of work, but then again: You will have an eternal supply of bacon (as long as you don't eat it)!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
modified 24-Mar-16 6:42am.
|
|
|
|
|
Johnny J. wrote: Completely Useless Bacon Post of the Hay:
FTFY (According to the Subject/Title of your Post)
|
|
|
|