I think you have the right idea between 3 and 4, depending on what exactly you want the crawl() function to do. 1 and 2 don't use inheritance correctly. An example I like is the Animal class which...
Type: Posts; User: linucksrox
I think you have the right idea between 3 and 4, depending on what exactly you want the crawl() function to do. 1 and 2 don't use inheritance correctly. An example I like is the Animal class which...
Also I'd recommend setting AVG to alert you when it finds threats, so you know when it's blocking a program.
Right, but I wonder what AVG is seeing as suspicious behavior. Regardless, I compiled using Codeblocks and it worked without any issues. I'd recommend uninstalling Dev-C++ and updating to Codeblocks...
Did you try "Compile and run"? You can just press F9. I tried compiling this on my machine with the latest version of Dev-C++, but got a message from AVG stating that this contained a trojan. Maybe...
Well, it turns out PRODUCT_PROFESSIONAL doesn't exist, so if you delete that entry entirely, the code just compiles, and everything is fine. Now on to my next big project...
Here's my working code...
Thanks, I actually read that too, but that doesn't help. I still need the code to work... and as a matter of fact, I was unable to compile the same exact code under Windows XP 32 bit with the same...
Hi, I'm trying to compile this code, and I'm pretty sure I just don't have my project configured properly, but I don't know what to do, and Google hasn't given me any headway this time... I actually...
Hi again. I am using this code in a skeleton Win32 app, and it works, but only if I'm using it to set the power button to sleep or shut down. Using PowerActionNone has no effect (I'm expecting it to...
Thank you very much Mike, that's exactly what I needed!
Hi, I'm looking for a way, either by programming in C++ or C, or even writing a script of some sort, like a batch file, to change advanced settings of power options in Windows XP. I know you can use...
It's been a while, but I think you need to define a new class B inside of class A, just like you would do if you were using an int or something else.
something like this inside of class A:
B...
Thank you guys very much, I finally got my simple gtk app running. I just realized that "back quotes" is the key above tab, because I was just trying to use the single quote key next to enter. I'm...
Sorry to bump, but I guess it's better than starting a new thread. I'm still wondering how to get started making a basic prog with a gui in linux. I'm running UbuntuStudio 7.10, installed gtkmm...
xuftugulus: this didn't work for me...
robwhit: how do I edit include path?
I'm also interested in learning how to write gtk apps in linux. I'm sorry I don't have an answer to the scripting question, but I do have another question: When I try to compile my first app, it...
Well without using a more elegant data structure, no you can't combine strings with ints into one structure. I'm really not sure exactly what you're asking, but it sounds like you need a 2...
Hi, I have done a quick search of the threads, and a more extensive search on Google, but did not find what I was looking for. Here's the situation: I own a Behringer V-amp 2, and it connects via...
No, yea, I know what you mean. Darcy is a good name... yea, I'd be friends with a guy named Darcy. Sure. Write a program, call it "code name Darcy." Solid programming for sure. Darcy, absolutely. I'd...
Yea, well, you've gotta imagine there are all sorts of different kinds of programmers out there: different genders, races, ORIENTATIONS, etc. Not that there is anything wrong with that... The world...
Yeah, either that, or stay away from making assumptions about technical issues that are going to confuse beginners.
And btw, for the second exercise, in my head I would've guessed that the answer...
I have tried some of the latest popular distros (SUSE, Debian, Ubuntu, Slackware) but I have been the most satisfied with Fedora Core 6 for some reason. I seem to have the least trouble getting...
Thanks, I'll check that out as well. I'm struggling to find time to sit down and do this, but hopefully some time this week I'll get to it.
Thanks Daved, that makes sense.
I googled AEDebug, and the very first link is MS knowledgebase on how to disable Dr. Watson. I would imagine that would fix the problem.
http://support.microsoft.com/kb/188296
Why is it possible for c_str() to be guaranteed if passing the address of the first element is not? You say that the underlying storage of a string may not be stored contiguously, so what does...