CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: e_torstenson

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    618

    Re: Music Organizing Program (NEED HELP)

    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...
  2. Replies
    3
    Views
    618

    Re: Music Organizing Program (NEED HELP)

    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...
  3. Replies
    17
    Views
    2,274

    Re: GUI's in C++?

    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.
  4. Replies
    17
    Views
    2,274

    Re: GUI's in C++?

    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...
  5. Replies
    17
    Views
    2,274

    Re: GUI's in C++?

    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...
  6. Replies
    17
    Views
    2,274

    Re: GUI's in C++?

    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...
  7. Replies
    15
    Views
    15,573

    Re: STL Style function parameters?

    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...
  8. Replies
    15
    Views
    15,573

    Re: STL Style function parameters?

    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...
  9. Replies
    15
    Views
    15,573

    Re: STL Style function parameters?

    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 {
    ...
  10. Replies
    15
    Views
    15,573

    STL Style function parameters?

    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).
    ...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured