I'm trying to call boost::bind to create a function pointer to pass along to another function of mine.
However, when I make an attempt to do so, it fails miserably.
Here's how I'm doing it(this is...
Type: Posts; User: jmd15
I'm trying to call boost::bind to create a function pointer to pass along to another function of mine.
However, when I make an attempt to do so, it fails miserably.
Here's how I'm doing it(this is...
Ok, here's my Makefile.am in my src directory:
bin_PROGRAMS = merc
merc_SOURCES = merc.cc info.cc controls.cc listbox.cc window.cc main.cc
AM_CXXFLAGS = $(Xmms2Client_CFLAGS) $(Gtkmm_CFLAGS)...
This is less a question about C++ coding, as it is using the GNU Auto build tools with it.
I have my project all set up using these tools, but when I compile I realize that the libraries I need to...
Alright, well I'm going to post a document with my 10 interview questions, and anyone who'd be willing to can fill it out and email it to me at jmd AT linuxmail.org, post a reply with it as an...
I appreciate all the responses!
After checking it out further, I believe that the paper would allow for me to interview someone working as a computer programmer, even if they don't have a degree in...
I need to interview anyone who works as a computer programmer currently, with a Computer Science(or related) degree. All the information I'd need about you is a name, your company you work for, and...
Have you installed any add-ons for Firefox? There are known add-ons that could slow it down a lot, or cause it to crash and freeze etc.
And I have to ask, why did you remove Iceweasel? I love it!
I'm not too much of a hardware person, but I just bought a Compaq 127006-041 512MB PC133 CL3 ECC SDRAM Memory chip from somebody (who I don't know that well) and tried to install it into my desktop...
Cancel that, I know why I got a segfault.
I'm going to go put that std::map in to get rid of those repetitive if statements, thanks a bunch to everyone, you helped me a great deal :)
Alright yeah, that looks good. I'll give that a try.
But one other thing, when I did this:
SpriteFactory* factory = new ConcreteFactory();
Sprite* test = factory->getSprite(0);
......
Yeah, I forgot I was working with std::string, I just didn't think about it because that wasn't my main problem, but I appreciate you guys reminding me. Direct comparison is much easier and less...
Ok, I looked it up and I *think* I've implemented a very basic version.
However, I have one problem, when I try to access a member function of the sub-class that's been created through the factory,...
Yeah, the Abstract Factory Method sounds like the ticket.
What I have are three arrays. Two integer arrays, and one std::string array. The two integer arrays hold the x and y coordinates, and the...
While googling my problem I did come across the term Abstract Factory, so I'll go look those up and see if it's what I need.
MacGyver:
My problem is sort of hard to explain... but what I want to...
Ok, well what I have right now is a bunch of classes already written, defined, all of them being child classes off of my main generic sprite class.
Now, I'm reading in a file that has data that I...
I have a list of different classes that need to be created, but I won't know which classes or how many of each are in my list. So I was wondering if I could create an array of generic classes who's...
I'll incorporate that suggestion brewbuck, thanks for that.
Also, I've found the problem.
The problem was.... a stray semi-colon...
Notice in my last post, with the code of the current function,...
Thanks for the reply.
That did help me a bit, now it reads through all the lines, but my problem's changed a bit.
Here's what the file that's being parsed looks like:
5;20;MidGreen...
I've written this little member function to parse a vector's data, but it only parses the first LINE of data.
See, the vector reads in a multi-line file, each line with 3 parameters separated by a...
Just an interview I stumbled upon:
Link
Enjoy.
Be sure to read the very bottom of the interview ;).
Sadly I have a MICROSOFT router =\
No wonder it's so slow, and it's a "major" operation to put Linux on it and I'm not up for taking it apart.
I wonder if I could put Linux on my microwave...
Can you own guns in Estonia?
Ok, well pardon my ignorance of this long-standing conflict over Vim vs. Emacs. To go along with your metaphor, the Israelis vs Palestinians one? Well, My grouping of Emacs and Vim together is like...
Wow, QuestionC, you don't have to be an ass about it, but if you happened to MISS IT, I DID mention that I haven't ever USED Vim. This implies that I don't really KNOW MUCH about it, and was going...
Who said anything about forgetting history?
But tell me, why should we glorify a Communistic society?