Hahaha...and you know this HOW??
Judging from what I've seen of other people all the time, I really don't think that's the case at all...
Type: Posts; User: Programmer_P
Hahaha...and you know this HOW??
Judging from what I've seen of other people all the time, I really don't think that's the case at all...
Yeah...?
Well, I wasn't born perfect. But I guess you think you were.
You are right, but only to an extent. I think people have taken the whole concept of "the smallest and simplest program" a little too far...and now basically want those who ask for help to do...
Right. Ok, you read my mind...I assumed it was in a particular place. However, I'm reading your mind now, and saying I did NOT assume that it was in the same place as where the problem first...
Well, I asked for help because I had looked over the code where the symptoms first appeared (EDIT: and I might add...elsewhere, since I looked in other places too), and had not found the cause, since...
You are right about that. I could have removed a few of those struct variables that I don't actually use in the example code (though I DO use them in the real code...).
However, since, as I...
Well, that's the idea of course. To lower the learning curve. :p
Why force everyone to learn everything in the traditional and conventional way? I mean, let's face it, there are a lot of non-geeks...
How come?
I'm using the Qt framework for creating the GUI.
Just to be clear, I'm not programming a web browser. Rather, I am creating a program for creating websites using a GUI. And of course, in order to do that, it is necessary to have code that will...
Umm...158 lines is big? I am glad then that I did not show the real code of the project in which the problem first originated...I imagine that would have, like, caused you to have a heart attack, or...
You are right. If you hadn't posted, I wouldn't have even bothered countering what Elysia wrote, even though it was wrong. :)
I did indeed debug it a lot first before even starting this thread, and...
You are right. However, I really meant that that line is the entry point for understanding the problem, i.e. you read that line, and that gives you the information on where to proceed from there.
I...
Hmm...on second thought, I'm thinking this implementation might be better:
C++ code - 166 lines - codepad
EDIT: Or modify the version in my last post to use an else if instead of an if for the...
Weird. When I tried that in my real code, it now complains about multiple definitions of that operator. Even though there is only one.
S_browser.h:
#ifndef S_BROWSER_H
#define S_BROWSER_H...
Ahh...I see. So something like this then, right:
C++ code - 161 lines - codepad
(Yay, it works!)
You are right. Those operators I was just trying out for now. I was unsure about them, and whether or not they work, and had not tested them extensively.
How would you suggest that I implement the <...
Well, I believe that I do, since the map is in the S_html_attr construct, as a member called 'supported_attr_values', and the list you're talking about is in the construct called...
Well, in my example code, I would almost guarantee that that line is the problem. Otherwise, commenting it out would not remove the error, now would it... ;)
As for mangled identifers, I don't think...
No. I do not do that, in either my original code or in the example code which simplifies the problem. I do modify the map, though without using iterators, by inserting some new elements into the map,...
Hello.
I began playing around a little with iterators for an std::vector a while back for my programming project I'm currently working on, and am basically trying to use them right now to access a...
Hmm...it seems you're right. I added an overloaded < operator to the S_browser struct, and that got rid of the error messages above.
However, now its giving me 3324 errors and 25 warnings about...
Well, I tried that already after reading about it on the web, but the example that they showed was around the function declaration, not inside of a function definition, which is where I need it.
So...
I was wondering why multiline C-style comments don't work?
/* BEGIN_COMMENT1
/* BEGIN_COMMENT2
*/ END_COMMENT2
*/ END_COMMENT1
The reason I'm asking is, I want to comment out some...
Well, yes, that might be useful if I actually wanted to compare different S_browser objects with one another, but right now I don't see a use for that.
All the S_browser struct is for is to keep...
Yes. But what does that have to do with it?