Search:
Type: Posts; User: e_torstenson
Search:
Search took 0.02 seconds; generated 53 minute(s) ago.
-
July 28th, 2009, 05:34 PM
It looks like it should work.
When you are having really bad results, it's always a good idea to look at it in pieces. So, if you aren't sure Catalog::Add(Song) isn't working, then you should...
-
July 28th, 2009, 05:13 PM
Hi Aurora,
Since this looks like a school assignment, I won't say exactly seems wrong to me, but I'll give you a hint...at least from a quick observations:
[code]
//this should put it in a...
-
July 28th, 2009, 04:24 PM
I doubt it, but I really don't know. The X11 isn't a huge issue, but it's worth keeping in mind if you plan to target OSX.
-
July 28th, 2009, 04:06 PM
I can say from personal experience that wxWindows is easy to use for small jobs, but it becomes pretty cumbersome as the project gets bigger. The design very outdated, which is unfortunate. It does...
-
July 28th, 2009, 03:23 PM
Most of those are just source based, so...you won't be wasting disk space, except for a few macro defintions and specialized classes/functions. GTK is gnome took kit, I think. It was ported over to...
-
July 28th, 2009, 02:41 PM
This is a bit off topic, but a lot of folks are doing GUI stuff in a high level language as a wrapper around fast C/C++ code. If you are familiar with one of the various scripting languages that have...
-
July 28th, 2009, 02:38 PM
I think boost::function will work for what you need. It's actually what boost::thread uses, which is why I suggested it:P
To be sure, I would write a short cpp file to test it, though. Then, you...
-
July 28th, 2009, 02:05 PM
If you can use Boost, boost::function might work.
The example at http://www.boost.org/doc/libs/1_39_0/doc/html/function/tutorial.html#id1849073 looks like it might apply. You could have a queue of...
-
July 28th, 2009, 01:01 PM
Very cool! Your solution is probably the same as the one I came up with, just a little different in terms of usage syntax:
#include <iostream>
using namespace std;
struct function {
...
-
July 28th, 2009, 12:08 PM
Hi,
I really like how the STL allows you to toss in a struct with a certain function present and it will use it like a function pointer (i.e. the various operators for sorting routines etc).
...
|
Click Here to Expand Forum to Full Width
|